--------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300024 Date: 02/27/98 From: JOHN MCGRATH Time: 10:27am \/To: ALL (Read 5 times) Subj: VBDOS query Hello All! Is it poosible under VB Dos to sheel a program and stay in the exe you have written. IE i want to call a program to work in the backgound while mine is still running like mutiltasking or is that only available under VB win? Until next time John McGrath FidoNet Address : 2:440/101 +44-(0)-1797-321779 --- FMail/Win32 1.22 * Origin: Kracy Korner, Ring Back 08:00-20:00, Normal 20:00-08:00 2:440/101) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300025 Date: 02/27/98 From: EILEEN LOUISE Time: 06:22am \/To: DAVID STUMPF (Read 5 times) Subj: VB3 and Scroll Bars. . . Hi David, Quoting David Stumpf to All on Wednesday February 25 1998 DS> Anyone that understands what I'm trying to explain, HELP!!! what you have to do when double-triggering an event is use a boolean flag to control which code actually runs. for example, that combo box synch routine i posted a couple of weeks ago does the same thing, it cascade triggers the event when the second combo box changes. it would set off an endless loop if it weren't trapped. in your case, it seems you don't want it to run until the second time. so here's a possible structure sub ... static ySecondRun as Boolean 'which will default to false of course if Not(ySecondRun) then ySecondRun = True else ySecondRun = False ... all the event code you want handled endif --- eileen@technologist.com * Origin: We Gladly Feast On Those Who Would Subdue Us (1:326/431) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300026 Date: 02/28/98 From: TYLER AVISS Time: 08:25pm \/To: EILEEN LOUISE (Read 5 times) Subj: Free VB stuff/code All I've found so far is a novell netware hacking faq that tells you where to get novell API for $50 --- Maximus 2.02 * Origin: Digital Encounters * Kamloops BC Canada 250/374-6168 (1:353/710) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300027 Date: 03/01/98 From: KENNETH DANNER Time: 07:54am \/To: FRANCOIS ROY (Read 5 times) Subj: Sort FR> KD> Can someone out there show me how I can sort names in a random access FR> file? FR> KD> I see VB5 does not like the old QB "SWAP" keyword. FR> FR> If your only problem is replacing SWAP, the old temp variable trick will FR> do: FR> FR> Tmp = A FR> A = B FR> B = Tmp FR> FR> Think of the record number for a random-access file as being similar to FR> the index for an array. Any sorting algorithm you use on an array will FR> also work on your random access file. FR> FR> --- Msged 4.00 FR> * Origin: Ready & Determined (819) 772-9277 (1:163/506) Hello Francois Roy Thanks for your reply, Thats just about what I ended up with. Thanks again. Kenny No wants -- no needs? We weren't meant for that. None of us. Man stagnates if he has no ambition, no desire to be more than he is. -- Kirk, "This Side of Paradise," stardate 3417.5. --- GEcho 1.20/Pro * Origin: Home of Palace SoftWares -kdanner@istal.com- (1:3605/998) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300028 Date: 03/01/98 From: KENNETH DANNER Time: 07:56am \/To: EILEEN LOUISE (Read 5 times) Subj: Sort EL> Hi Kenneth, EL> EL> Quoting Kenneth Danner to All on Monday February 23 1998 EL> EL> KD> Can someone out there show me how I can sort names in a random access EL> KD> file? I see VB5 does not like the old QB "SWAP" keyword. Thanks Kenny EL> EL> afaik you will have to read it in and sort it in array (or listbox), then EL> write it out. EL> EL> --- eileen@technologist.com EL> * Origin: We Gladly Feast On Those Who Would Subdue Us (1:326/431) Hello Eileen Louise I went with a Combobox. Thanks for your reply. Do you know how to hide the cursor when like a screen saver is running? Kenny An unhappy crew makes for a dangerous voyage. --- GEcho 1.20/Pro * Origin: Home of Palace SoftWares -kdanner@istal.com- (1:3605/998) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300029 Date: 03/01/98 From: KENNETH DANNER Time: 07:58am \/To: RUUD SCHOPPEMA (Read 5 times) Subj: Sort RS> KD> Can someone out there show me how I can sort names in a RS> KD> random access file? I see VB5 does not like the old QB "SWAP" RS> KD> keyword. Thanks RS> KD> Kenny RS> RS> Create a lstbox(list1) and set propertie SORTED=TRUE RS> open your file RS> static count RS> count=0 RS> do while not eof(1) RS> count=count+1 RS> get #1,count,YourVar RS> list1.additem YourVar RS> loop RS> Now are all YourVar sorted. RS> You can put them back in another file RS> count=0 RS> do while count < list1.listcount RS> count=count+1 RS> YourNewVar= list1.list(count-1) RS> put #1,count,YourNewVar RS> loop RS> RS> ==== RS> You can also create your own SWAP command, through some simple rogramcode RS> ===== RS> RS> RS> Greetings, RS> Ruud Schoppema, RS> Nijmegen, Holland. RS> RS> rudine@wxs.nl RS> RS> --- RS> * Origin: RudinE (2:284/604.1) Hello Ruud Schoppema I let a combobox sort them then created a swap code like you suggested above. Works great now! Thanks for the help. Kenny One day soon, man is going to be able to harness incredible energy -- maybe even the atom. Energy that could ultimately hurl men to other worlds in some sort of spaceship. And the men that reach out into space will find ways to feed the hungry millions of the world, and to cure their diseases. They'll be able to find a way to give each man hope and a common future. And those are the days worth living for. -- Edith Keeler, "The City on the Edge of Forever," stardate unknown. --- GEcho 1.20/Pro * Origin: Home of Palace SoftWares -kdanner@istal.com- (1:3605/998) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300030 Date: 03/01/98 From: KENNETH DANNER Time: 08:04am \/To: BUCKY CARR (Read 5 times) Subj: Sort BC> I don't know what the limit is to the number of tables one Access-type BC> database can hold, but I've got about 17 so far and no trouble. I elieve BC> that 1 gig is the max size of any one DB, though. BC> BC> BC> Now we write some junk to the fields in the table like this (notice BC> this uses the Table-type recordset method): BC> BC> Set dbMedDB = Workspaces(0).OpenDatabase("C:\Medical.MDB") BC> BC> Set rsAnecdote = dbMedDB.OpenRecordset("LEDGERNOTES", dbOpenTable) BC> rsAnecdote.AddNew I see I have ALOT to learn about database. I have never attempted to enture out there in that world =;) I tried to expriment a little with your code, but it would not let me create a database file so I could not continue =:( BC> in the database during my conversion, let me know. BC> I would like to see that if you could send me the code Thanks for all your time here, Kenny Nobody ever went broke underestimating the taste of the American public. --- GEcho 1.20/Pro * Origin: Home of Palace SoftWares -kdanner@istal.com- (1:3605/998) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300031 Date: 03/01/98 From: JAN ARKESTEIJN Time: 08:52am \/To: DAVID BURNS (Read 5 times) Subj: RE:Shell to W95 PC TimeDate 23 Feb 98, David Burns of 2:257/145.6 wrote to Jan Arkesteijn Hi, David Thanks a lot, it really does the trick Bye, Jan DB> the 'Shell' command can only run executable files, that is DB> EXE's and COM's. CPL files need to be opened by the control DB> panel program, so try: DB> X=shell("C:\windows\control.exe C:\windows\system\timedate.cpl",1) DB> that should do the trick. --- MBM v4.10 * Origin: MBM v3 Turbo Vision (2:500/155.6528) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300032 Date: 03/01/98 From: JAN ARKESTEIJN Time: 09:00am \/To: EILEEN LOUISE (Read 5 times) Subj: Shell to W95 PC TimeDate Hi Eileen Thank you for the full explanation of the use of the ShellExecute API. However I got an easier solution (at least for me) from David Burns. See also his message to you about the same subject. See you in Cyberspace Jan --- MBM v4.10 * Origin: MBM v3 Turbo Vision (2:500/155.6528) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: F3300033 Date: 03/01/98 From: JAN ARKESTEIJN Time: 09:14am \/To: DAVID STUMPF (Read 5 times) Subj: VB3 and Scroll Bars. . . 25 Feb 98, David Stumpf of 1:106/4725 wrote to All Hi David, Did you already try 'yourcontrol.Refresh' ? Bye, Jan DS> Hey All, DS> Got something that is flat driving me up the wall! DS> I have a scroll bar on a form, when changed it runs DS> another sub DS> which updates some labels (basically scrolling up and DS> down DS> through a list of things contained in labels). But, when DS> I DS> click it, it runs the other sub, then it runs it again DS> when DS> it lets the scroll bar refresh (the up/down arrow gets UN DS> pressed). DS> I've tried putting DoEvents in both the ScrollBar code, DS> and DS> the other sub, playing with waiting for a specified DS> number of DS> seconds, everything, and nothing works. I want it to DS> wait until DS> the button is un-pressed to update the screen. . . DS> Anyone that understands what I'm trying to explain, DS> HELP!!! DS> ;) DS> [David.Stumpf@Earthling.net] DS> [http://www.dzs.home.ml.org] DS> [*] AutoSig v1.20 DS> ... Yesterday was the deadline for complaints. DS> ___ Blue Wave/DOS v2.30 DS> --- Telegard/QWK v3.09.g1 DS> * Origin: The World WIthin * 281-324-2745 (1:106/4725) --- MBM v4.10 * Origin: MBM v3 Turbo Vision (2:500/155.6528)