--------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00001 Date: 03/05/97 From: LAWRENCE KELLIE Time: 05:37pm \/To: ALL (Read 5 times) Subj: Ini files In my program that I am currently working on I have, besides other things, 40 sequential items in the ini file with the entry names K0 to K39. I use that type of numbering so I can access the ini file via a for/next. Each of the ini entries contain one or two words, for item classification. I have built a routine to add to or delete from the ini file and the list box in the program is updated accordingly. However, with each update, I would like the list to be alphabetized, according to the words after the K0/K39 entries. I tried the Sorted property, but that yielded undesireable results as at the time I programmed this particular function, I defined the array as having 40 elements. With further programming, I have discovered Redim Preserve, and that may be the way to work this. However, at this point, I am desiring a routine to sort the entries in the ini file. Help???? :) Lawrence ... Under these clothes I am totally naked... --- FMail 1.0g * Origin: Cala Creek Resort (in seclusion) (1:343/70.164) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00002 Date: 03/03/97 From: BRANDON BURCHFIELD Time: 09:56am \/To: JIM MCGIVNEY (Read 5 times) Subj: Re: Graphic specifications ...{Jim Mcgivney} said this to {All}... JM> In visual only *.ICO, *.WMF and *.BMP graphic files can be displayed. JM> Does anyone know the rational behind this ? JM> Jim JM> -!- WILDMAIL!/WC v4.12 One possiblity is that when VB 1.0 was created those were the basic and most popular(widely used) graphic formats. So maybe VB wanted to keep continuity throughout the entire VB series. One other possible reason is money. See the GIF decoding and encoding sequence is copyrighted. And developers who use the algorithm must pay a residual fee on each program they sell. So if MS had to pay 10% of each copy of VB then they stand to lose quite a bit of money. Those are just my theories. P.S. the GIF(Graphic Interchange Format) is copyrighted by Compuserve LATER BbB --- Telegard v3.02/mL * Origin: The Outer Limits 805-366-8566 (1:210/58) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00003 Date: 03/06/97 From: GARY SONNENBERG Time: 10:58pm \/To: LAWRENCE KELLIE (Read 5 times) Subj: Ini files -=> Quoting Lawrence Kellie to All <=- Hi Lawrence, LK> However, with each update, I would like the list to be alphabetized, LK> according to the words after the K0/K39 entries. I tried the Sorted LK> property, but that yielded undesireable results as at the time I LK> programmed this particular function, I defined the array as having 40 LK> elements. With further programming, I have discovered Redim Preserve, LK> and that may be the way to work this. I think you're right here. LK> However, at this point, I am desiring a routine to sort the entries in LK> the ini file. I'm wondering why you need/want to sort ini file listings when you can always load them into a listbox and sort them there. Can't you? Gary ... "What?!? This isn't the Files section?!?" --- * Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00004 Date: 03/06/97 From: GARY SONNENBERG Time: 11:02pm \/To: GREG DRAKE (Read 5 times) Subj: VBX's -=> Quoting Greg Drake to All <=- Hi Greg, GD> How do I load a .VBX in VB 4.0? Is their some special thing I have to GD> do? VBX's don't work per se in VB4 only in VB3. You need to get the orresponding OCX for VB4. Some are built into VB4. Others you have to get from the 3rd party vendor who makes it. Gary ... Back up my hard disk? I can't find the reverse switch! --- * Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00005 Date: 03/05/97 From: CHRIS BURGESS Time: 10:18am \/To: PAUL JOHNSTON (Read 5 times) Subj: VB3 loop help Hello Paul, PJ> Just thought I'd let you know (before you go and change all your code) PJ> that you can do lots of stuff with WAVs without the need for any VBXs PJ> at all. SndPlaySnd() is the basic function you use. Is this in VB3? I thiught it was a new thing in VB version 4... PJ> Ask if you want more info. Yes please! I can't get the code to work the way I need it to at all... What I need is a simple VB prog that has got two buttons on one form - say called "Go" and "Stop". Clicking on "Go" will play three files - first.wav, second.wav, and third.wav - in sequence, one after the other. Apart from that, it needs to display the name of the current file being played (a simple print statement would do for this). The "Stop" button cancels the playback at any point in the playback process. Once I can get the above worked out, I can finish the app easily - but it's got me completely stumped. Any ideas? Regards, Chris. --- GoldED * Origin: LBC Electronics (lbc@senet.com.au) (3:800/846.5) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00006 Date: 03/06/97 From: RONALD BOWSER Time: 07:13pm \/To: PAUL JOHNSTON (Read 5 times) Subj: API'S??? <<***** On 02-26-97, PAUL JOHNSTON wrote to RONALD BOWSER: *****>> PJ>Hello Ronald. PJ> PJ> RB> Is this some kind of Function built into Windows thats accessible PJ> RB> from within Visual Basic? PJ> PJ>Yes. Spot on. Hi Paul Thanks for answering my inquary. The deeper I dig into this Visual Basic stuff the better it looks. Now to get down to business and learn it. -!- VbReader V1.4 Ok, now for a quick backuA&#^1s --- GEcho 1.11+ * Origin: (1:343/70) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00007 Date: 03/06/97 From: RONALD BOWSER Time: 07:13pm \/To: CHRIS ROACH (Read 5 times) Subj: API'S??? <<***** On 03-03-97, CHRIS ROACH wrote to RONALD BOWSER: *****>> CR>Ron...an API CALL is something you do from VB to access an external DLL CR>library that contains some function you want to use. It's very handy in CR>VB because it allows you to use C style code that is very fast to do CR>things. Drawing graphics and such requires speed and it requires code CR>that talks to the operating system..presto...Windows API. Visual Basic amazed me. Now with the power of API's I feel it has some real potential for great programming projects. I was thinking in the beginning that Visual Basic would be just background experince in programming, and that I would have to Learn VC++ to do anything serious. Maybe I was wrong :) Are you a Professional Programmer? Your code shure looks polished. Thanks for your help -=*%rbowser@nameless.com%*=- -!- VbReader V1.4 Ok, now for a quick backuA&#^1s --- GEcho 1.11+ * Origin: (1:343/70) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00008 Date: 03/06/97 From: RONALD BOWSER Time: 07:13pm \/To: ALL (Read 5 times) Subj: Mailing list Hello Everyone! does anybody know of Visual Basic mailing list on the internet? Listserv ? -!- VbReader V1.4 Ok, now for a quick backuA&#^1s --- GEcho 1.11+ * Origin: (1:343/70) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00009 Date: 03/04/97 From: BUCKY CARR Time: 04:28pm \/To: CHRIS ROACH (Read 5 times) Subj: MSDN CR> Bucky..your right..a lot more CD come with higher levels..but the ones CR> you need should be there in level one. I hate to admit what level I CR> got. (They send me Taiwanese NT Device Driver Development kits...) Snicker. Well, I increased my membership by one more level. Level 1 has a lot of info, but what I need is on level 2 evidently. CR> I'm CR> considering some really cool art deco Mobiles...with all the extra CR> CDs... No kidding. It is a ton of discs. --- PPoint 2.00 * Origin: Vanishing Point 7198460140 Trinidad CO (1:15/7.1) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E3B00010 Date: 03/04/97 From: BUCKY CARR Time: 04:32pm \/To: CHRIS ROACH (Read 5 times) Subj: HOW TO USE API & BITBLT B On (03 Mar 97) CHRIS ROACH wrote to ALL... CR> Here's a sample of how to use some of the Windows CR> API Calls with VB to do picture bmp stuff. Thanks for posting these examples. --- PPoint 2.00 * Origin: Vanishing Point 7198460140 Trinidad CO (1:15/7.1)