--------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2300002 Date: 02/02/98 From: KENNETH DANNER Time: 04:44pm \/To: ALL (Read 4 times) Subj: Grids Could someone explain to me the difference between MSFlexGrid and the plane MSGrid? Which would be better to use to display info retrieved from a random file? Thanks Kenneth Danner That's cricket, Harry, you get these sort of things in boxing. --- GEcho 1.20/Pro * Origin: Home of Palace SoftWares -kdanner@istal.com- (1:3605/998) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2300003 Date: 01/31/98 From: RUUD SCHOPPEMA Time: 05:12pm \/To: EILEEN LOUISE (Read 4 times) Subj: eof(1) Hi Eileen RS>> This works fine, but now i want to repeat this and then it RS>> doesn't work. The solution i came up with is this: I close RS>> the file and then open it again. EL> depends on a couple of things. 1. how big is the file. if EL> it will always be less than 64k i would read it into memory 82k and counting EL> and then loop it as necessary. 2. are you looping only twice EL> or an indeterminate number of times? if the latter, i would EL> do EL> stuff... EL> do EL> stuff... EL> loop until eof(1) EL> loop until this is what happens: open fileOne do while not eof(1) x=x+1 get#1,x,MyVar1 close 3 open fileTwo do while not eof(3) q=q+1 get#3, q,MyVar2 PROGRAM CODE: that uses MyVar1 and MyVar2 loop loop So the close/open does the trick. EL> 3. what are you doing with the data/file? this really would EL> determine some more of how to do it. 4. instead of closing EL> you could apply seek to move back to the top of the file. Greetings Ruud Schoppema The Netherlands --- * Origin: RudinE (2:284/604.1) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2300004 Date: 02/02/98 From: FRANCOIS ROY Time: 09:01pm \/To: JOHN DUMAS (Read 5 times) Subj: Re: DLL's JD> If someone has a small example of a C string passed to a VB array I would JD> like to look at it. I don't know anything about the one-letter-name language, but, in 99% of the DLLs I have seen, the VB declaration for strings is ByVal, and if the DLL is expected to return a string to VB, the VB program must first assign something to the string that is at least as long as the longest string expected back. Don't be fooled by the meaning of 'ByVal': for strings, it only means that the string should be zero-terminated; it is pased by reference. --- Msged 4.00 * Origin: Ready & Determined (819) 772-9277 (1:163/506) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2400000 Date: 02/03/98 From: RICHARD MCCONNELL Time: 05:04pm \/To: ALL (Read 4 times) Subj: Drag and Drop Hello can anyone tell me how to drag and drop (DROP being the key thing). I can make it so if they drag a icon over somthing _blank will start but how can my program be set to know the diffrence between a over and drop. --- Maximus 2.01 * Origin: Access Info Kingston (613)547-2479 (1:249/104) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2400001 Date: 02/01/98 From: RUUD SCHOPPEMA Time: 12:27pm \/To: ALL (Read 4 times) Subj: replacing message Hello!! My FidoNumber has been changed. For security reasons I replacing this essage, I really hope I get an answer on this topic. It concerns VB5 learning edition 1. I noticed that vbrun500.dll is not on the cdrom. Is this normal? 2. I read (in a book) that the tab PROJECT PROPERTIES should contain MAKE and COMPILE. Within this compile section you can choose for p-code or native code. However, in my VB5 the project properties has a tab for general and make but there is no compile tab. So I'm not able to choose for p-code or native code. Is this because I have "just" the learning edition? Greeting, Ruud Schoppema Nijmegen, The Netherlands --- * Origin: RudinE (2:284/604.1) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2500000 Date: 02/04/98 From: HANS OLZEM Time: 06:03pm \/To: ALL (Read 4 times) Subj: DBGrid Hello all, I'm displaying the contents of various fields of a database in a DBGrid-objekt. All fields of the DBGrid but one are linked always to the same fields of the database. The link of one field however has to be changed (depending on user-input) during runtime changing this way the column of the database the data is coming from. I would appreciate any sample code dealing with this problem. Greetings, Hans --- * Origin: (2:2446/220.15) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2500001 Date: 02/04/98 From: RICHARD MCCONNELL Time: 02:13pm \/To: MARK BAPPE (Read 4 times) Subj: VB MB> Even the dissamblers written for VB3 had to have you save the formats into MB> Text format after it decomplied the projects for you. I would like to know the names for these decompilers if you could tell me that would be great I am looking for one that will run with the VB3 runtime files so could you please leave me a small list. --- Maximus 2.01 * Origin: Access Info Kingston (613)547-2479 (1:249/104) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2500002 Date: 02/04/98 From: MARK BAPPE Time: 12:04am \/To: BUCKY CARR (Read 4 times) Subj: RE: File Xfer w/ modem in VB ->Well, I'm approaching the time when doing a file transfer from within ->VB(5) would be nice. I looked at the MSCOMM control info in VB Books ->Online but didn't find any mention of "file transfer protocols" from ->within VB5. MSComm is not really meant for protocol transfers unless of course you want to build your own. The first creation of MSComm was done by Crescent (Software for Hire), and their version (PDQComm) is a very good one for TAPI, and Direct comm communciontions. ->What do folks do about this? Do you shell out and use something like ->DSZ? Anyone converted XMODEM written in QuickBasic to work in VB? From ->the documentation, it would appear that 28.8k is the upper limit of speed ->available via VB. Well if you are building applications for the 32bit market, shelling out to a DSZ protocol would not be your best bet. And Windows NT will not allow that application to access the hardware. Which is something that you are going to have to consider when making 32bit applications. NT is getting stronger. ->Comments? I use MSComm quite a bit for direct hardware communications (remote control) and its good for that purpose. Outside of this scope you really need to get with the 3rd party folks for this. ---===========================--- Mark Bappe S and T Software http://bozax.iainc.net mark.bappe@bozax.iainc.net ICQ: 1999637 ---===========================--- ...BapStats Module (BapMSG v1.0 Build 9) * Origin: The BoZax Bulletin (1:133/5007) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2500003 Date: 02/04/98 From: MARK BAPPE Time: 12:08am \/To: BUCKY CARR (Read 4 times) Subj: RE: Binary Saved Format ->Say, I found a file on the MS download site, which may include some API ->call info I can use, however the .FRM was evidently saved in "binary format". ->The help file says that only VB2 and VB3 can read/write this format... My ->VB5 can only read flat ASCII format. ->Is there a freeware util that will undo this binary VB file? The only thing that I know of that can do VB binary files is VB :(. Even the dissamblers written for VB3 had to have you save the formats into Text format after it decomplied the projects for you. I would also watch the API declarations. Some of the old 16bit API's are no longer used under the 32bit environment. And most if not all have to be converted over to the 32bit world, but most of these can be copied from the WIN32API.txt file (although there are a LOT of typos in that file :)) ---===========================--- Mark Bappe S and T Software http://bozax.iainc.net mark.bappe@bozax.iainc.net ICQ: 1999637 ---===========================--- ...BapStats Module (BapMSG v1.0 Build 9) * Origin: The BoZax Bulletin (1:133/5007) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F2500004 Date: 02/04/98 From: MARK BAPPE Time: 12:18am \/To: RUUD SCHOPPEMA (Read 4 times) Subj: RE: replacing message ->Hello!! Heya! :) ->My FidoNumber has been changed. For security reasons I replacing this message, ->I really hope I get an answer on this topic. It concerns VB5 learning edition Will see if you get this one :) ->1. I noticed that vbrun500.dll is not on the cdrom. Is this normal? There isn't a vbrun500.dll included with Visual Basic 5. There is however a file called MSVBVM50.DLL that needs to be included in ANY Visual Basic 5 project that you make. This is the Run time (Virtual Machine) that is required by VB5. ->2. I read (in a book) that the tab PROJECT PROPERTIES should contain MAKE and -> COMPILE. Within this compile section you can choose for p-code or native ->code. -> However, in my VB5 the project properties has a tab for general and ake ->but there -> is no compile tab. So I'm not able to choose for p-code or native code. I believe that in the learning edition you do NOT get the option of compiling your project into native code. The Learning edition only compiles in P-Code. But I have never ran the LE of VB, so I can't be 100% sure on that :). Enjoy! ---===========================--- Mark Bappe S and T Software http://bozax.iainc.net mark.bappe@bozax.iainc.net ICQ: 1999637 ---===========================--- ...BapStats Module (BapMSG v1.0 Build 9) * Origin: The BoZax Bulletin (1:133/5007)