CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (1,358 messages)

#1136 Out of Memory Message #1184
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 12:27 PM
Robert, You might want to check with Pinnacle and find out if they've had any other reports along these lines. We haven't had any associated with VBTools. Mark
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 12:26 PM
John, I don't know if the _export keyword will do that, but I suspect it will. Why don't you try it? Ditto for WinMain! Mark There is 1 Reply.
#1148 Bitmaps Message #1182
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 12:26 PM
Don, We use PKUNZIP 1.02. Please note that except for GETDEC, the files are all self-extracting EXE files, not ZIPs. Mark
#1068- #Shell (x$, 3) Fixed Message #1181
From: Costas Kitsos MS BASIC Forum · Visual Basic October 3, 1991 12:15 PM
Keith, Thanks for perpetuating this confusion . So, it appears that pointers might be going astray here. I wonder if it's worth letting a Sub outside of Command1_Click take care of the Shell, e.g. Sub DoIt() s% = Shell("c:\command.com /c dir c:\ >> c:\testshel", 1) End Sub Sub Command1_Click ()…
#1100 #OpenFile API Message #1180
From: Costas Kitsos MS BASIC Forum · Visual Basic October 3, 1991 12:12 PM
Dennis you're brilliant! It does return the file date and probably file time but you need to change the declare to test it. Type OFSTRUCT cBytes As String * 1 fFixedDisk As String * 1 nErrCode As Integer r1 As Integer r2 As Integer szPathName As String * 128 End…
VB Suggestion Message #1177
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 11:25 AM
Don, Using DragDrop, as shown in the example in online help, gives a problem. If the user "drops" the outline while he's over a control, and that control's DragOver event has set the MousePointer of the Source to 12, then the Source Mousepointer remains at 12. Right now, the only…
#1020- #BAD DLL CALLING CONVENT. Message #1175
From: Alfred Giordano MS BASIC Forum · Visual Basic October 3, 1991 10:44 AM
Jonathan, You are correct, I am writing the DLL in Borland 'C++'. When you say that VB sends the address of a double as a hidden parameter, are you saying that part of the address of a double is in the parameter being passed to the dll and the other…
VB Question Message #1171
From: Jim Dalin MS BASIC Forum · Visual Basic October 3, 1991 10:11 AM
I have what I can only assume is a dumb beginner's question about VB. In fact, it's a set of what I can only assume are interrelated questions. To be fair (to myself), I have, indeed, read the manual, but I just cant figure out what to do. What I'm…
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 10:01 AM
I uploaded a new VBTIPS.EXE to DL1 on 9/30 and it has just become visible. The descriptions of VBTIPS.EXE refers to an access program named VBTVWR.EXE. Because of "out of space" on DL1, I had to upload it to the old forum and the sysops have not moved it over…
#1148 Bitmaps Message #1169
From: George Campbell MS BASIC Forum · Visual Basic October 3, 1991 10:01 AM
Don, Thanks so much for sending me the example for printing bitmaps in picture boxes. Once I reasoned through what was happening with StretchBlt, it all made sense. I soon discovered that I could easily adapt this to scaling other picture boxes. What I'm doing now is creating an invisible…
#1125 Visual Basic Look Message #1167
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 10:01 AM
This is covered in the new VBTIPS that just appeared on DL1. Look for the heading "Framing Controls (the NEXT Look):".
#1090- Child Windows Message #1166
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 10:01 AM
This is covered in VBTIPS on DL1, along with many other tips for VB programmers.
#1068- #Shell (x$, 3) Fixed Message #1165
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 10:01 AM
Well, you have certainly isolated an interesting gremlin. However, programming around the gremlin gets us back to the original problem of not being able to get multiple shells to DOS to work. Take your example and add the following line to Command1_Click: MsgBox "Done" This has the effect of moving…
#MhFileSelector Message #1164
From: VICTOR JUNG MS BASIC Forum · Visual Basic October 3, 1991 9:59 AM
Mark, I am using the MhFileSelctor2 routine in VBTools. Is there a way to allow the user to change the filespecs while inside MhFileSelector2 and have it refresh the file list rather than returning? For example if you enter *.* in the FILE field, MhFileSelector2 will simply return "*.*" instead…
Vis BASIC PM SQL Message #1163
From: Vincent Coetzee MS BASIC Forum · Visual Basic October 3, 1991 9:58 AM
Hi there, Am interested in the PM Version of MS Visual BASIC. Also what info is there about on the SQL Server interface for MS Visual BASIC, and it's working via the DOS BOX unders OS2 version 2.00 Vincent (74130,1512)
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 9:57 AM
Does that mean that all I have to do is put the _export keyword in front of all the function names? Do I have to use _export with WinMain? Thanks, John There is 1 Reply.
#1117 Ending a VB Program Message #1161
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 9:56 AM
Thanks for the info, John
#Sound off, 1-2 Message #1158
From: Jim Dalin MS BASIC Forum · Visual Basic October 3, 1991 9:41 AM
I tried to call your circulation folks but all I got was an answering machine. I'll try again. Thanks for your reply. Jim Dalin There is 1 Reply.
#980- #GIF files Message #1157
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:35 AM
Hi Selden, The 256-issue has been addressed numerous times here. It is one item *I* would like to see. For now, I believe both Ethan and Mark have custom controls which give you this ability. In any event, I will forward the request on.:-) Don Funk There is 1 Reply.
#905- #VB Questions Message #1156
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:35 AM
Hi Jonathan, YACC…VB…are you talking about the Cooper portions? YACC was not used to write VB. Don FUnk There is 1 Reply.
#962- VB Custom Control – Message #1155
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:35 AM
Hi George, Here is what I would look at to see if there is a problem. NEAR AddDataRow (HCTL hctl) { LPSTR lpstr; HLSTR hlstr; pdeclist2 = (PDECLIST2)VBDerefControl(hctl); pdeclist2->cNumberEntries = pdeclist2->cNumberEntries+1; //Create a new LPSTR for theHSZ lstr = VBLockHsz(pdeclist2->hszRow); pdeclist2 = (PDECLIST2)VBDerefControl(hctl); //Create a HLSTR for the string and…
#875- VB vs. ObjectView Message #1154
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:35 AM
Hi James, If you specify all, it should get posted up to the forum/section you specify. Could it be posting to another section? Are you using Tapcis? Don Funk
#943- Getimage Message #1153
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:35 AM
Hi Robert, You have several options here. 1. You could make what you wanted to be restored to be AutoRedraw = TRUE. 2. You could do as suggested a couple of messages before using the CreateCompatibleDC API call. Either way, your background will be stored in a "persistent bitmap", where…
#858- IconWorks's secret Message #1152
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:35 AM
Hi Isaac, If you can't get the CreateCompatible to work, let me know and I can kluge an example for you. Don FUnk
#858- IconWorks's secret Message #1151
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:34 AM
Hi Isaac, Every control is visible during design time. This particular control has properties AutoRedraw = TRUE and Visible = FALSE. Since it is set to visible = 0, then it will not show up during run-time. Use the search property in the menu and search all modules for reference…
#856- Xantippe "Help" program Message #1150
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:34 AM
Hi Brian, I would address this to Nelson Ford. He is here in this forum and would be able to tell you *exactly* what it is. Don Funk
#843- #Eats resources! Message #1149
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:34 AM
Hi, When you play with menus throught the API calls, there is a chance that you could be leaving the menu resources by not destroying them properly. I don't know how you would do this in VB, but can be done with the SDK. What API's are you actually calling?…
#827- #Bitmaps Message #1148
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:34 AM
Hi Mark, I downloaded your demo(finally). There version of unzip that I have seems to not work correctly. Where is the unzip? DL1? Don There are 2 Replies.
#970- #Callbacks from DLL Message #1146
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:34 AM
Hi Gary, You could pass the hadle to the window using the GetFocus() when the control has the focus. This will return the handle which you could pass the function. About calling one of the Sub's in VB, the only way you can call one of the Sub's in a…
#815- SendKeys to DOS app Message #1145
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 9:34 AM
Hi Mark, Ooops…I gave you the wrong number, I gave you the number for Coromandel which has a ISAM product for VB, sorry. The number for Softbridge is 617-577-2257. Don Funk
From: Jim Mack MS BASIC Forum · Visual Basic October 3, 1991 9:05 AM
George – Well, you've stumped me. I'll back off now and let's see if Don Funk or one of the other MS SL's have an answer. FWIW I've done a fair amount of fiddling with these things in MASM without experiencing this problem, but nothing in C. — Jim
#1011- PDS ISAM DLL for VB Message #1140
From: John Murdoch MS BASIC Forum · Visual Basic October 3, 1991 8:48 AM
Hi Ken! The "sell sheet" I got from Software Source makes no mention of PDS at all–which leads me to think that a PDS version isn't available. But given that the PDS includes ISAM, why would they make a PDS version? I realize you want to maintain common coding. I…
#1045- Help with SpSoun.Zip DLL Message #1138
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 8:42 AM
I think that people have been reporting that error since July 7th, as well. I don't know why it's been left on the DL.
#1010- VB Custom Control – Message #1137
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 8:42 AM
>>> In DrawRows when I deref the hlstr i get lpsRow = char far * 0000:0000 "" What a classic example of computerese! Can I quote you?
#Out of Memory Message #1136
From: Robert Karp MS BASIC Forum · Visual Basic October 3, 1991 8:41 AM
I'm running into Visual Basic out of memory errors when I attempt to make an EXE. The app I'm creating uses Pinnacle's chart builder control, VBTools controls, but it really doesn't have that many forms or controls. A total of 10 forms. I am putting several graphs on the same…
#1029- Program Won't Go Away Message #1127
From: James Gleick MS BASIC Forum · Visual Basic October 3, 1991 7:56 AM
Thanks.
#1027- Program Won't Go Away Message #1126
From: James Gleick MS BASIC Forum · Visual Basic October 3, 1991 7:56 AM
You're suggestion–unloading other forms in the main form's Unload procedure–seems to work. I had tried explicitly Unloading each form in my exit procedure, before calling End, and for some reason that did not work. Thanks.
#Visual Basic Look Message #1125
From: Alexis Hadjisoteriou MS BASIC Forum · Visual Basic October 3, 1991 7:51 AM
More and more Windows applications writen with or without VB have a 'sunken' 3-D effect, e.g Dupe v1.3, Norton Desktop, Contacts Manager etc. In Visual Basic I can achieve the 'look' using the LINE command, e.g Sub Form_Click () form1.line (100,101)-(201,101), &H808080 form1.line (99,101) – (99,200),&H808080 form1.line (100,201)-(202,201),&HFFFFFF form1.line (201,102)-(201,201),…
#1088- VB Custom Control – Message #1124
From: George Weir MS BASIC Forum · Visual Basic October 3, 1991 7:40 AM
The variable row is initialized correctly. Before posting the code I removed a lot of error checking and other code that seemed not ot contribute to an understanding of the problem. Sorry for the confusion. row is a loop variable in a for loop and the line lpsRow = VBDerefHctl…
#1025- #VB Custom Control – Message #1123
From: George Weir MS BASIC Forum · Visual Basic October 3, 1991 7:35 AM
The SS register is 20E5 both times. There is 1 Reply.
#1091- #Help with DLL's!!!!! Message #1121
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
John, You must *export* the procedure (make it public) before it can be used from another program. Mark There is 1 Reply.
#1090- Child Windows Message #1120
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
Paul, The easiest way to handle that is to do it with code in the parent's Form_Resize event: Sub Form_Resize() If WindowState = 1 Then ' If minimized Form2.WindowState = 1 Else Form2.WindowState = 0 End If End Sub Mark
#1089- Static Memory in VB Message #1119
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
Paul, You are in for a treat! When communicating with a DOS program, you cannot pass it a memory segment like you do from a DOS program. You have to go through some gyrations, use the protected mode interface, etc. You might want to consider my company's MicroHelp Muscle. We…
#1069- CDK and MSC 6.00 Message #1118
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
Bill, Are you specifying VBAPI.LIB as a library to link with? If not, that's why you're getting the unresolved externals. That library is called an "import library" and is used to set your program up to communicate with VBRUN100.DLL and VB. Mark P.S. If that doesn't solve the problem, can…
#1081- #Ending a VB Program Message #1117
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
John, You can end a program without using End by unloading all the forms in the app. The way I do it is when the user clicks on File-Exit, I do: Sub FileExit_Click() Unload Form1 ' Main form End Sub In addition, I use that form's unload proc to unload…
#1042- Info on VBTOOLS Message #1116
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
Gerald, I'll be sending you info on our products (along with a demo) right away. Thanks for asking. Mark
#1052- Visual Basic copy Message #1115
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
Robert, You are welcome to leave your order in a MAIL message to me, but it might be more efficient for you to call us at 1-800-922-3383 (or 404-594-1185 if you're in Georgia). We're open 9:00-6:00, eastern time. If you prefer, you can fax your order to (404) 594-9629. Thanks…
#1060- Comments on VB-Muscle Message #1114
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
John, Grooooan…. Mark
#1041- Comments on VB-Muscle Message #1113
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:25 AM
Susan, I'm glad you like it. Mark
#1062- #Comments on VB-Muscle Message #1112
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 7:24 AM
Steve, The same holds true for disk space…. Mark There is 1 Reply.

Page 27 of 28