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)

VB-Tips Message #1270
From: Bill Reilly MS BASIC Forum · Visual Basic October 3, 1991 9:58 PM
Nelson: While reading your latest updated VB-Tips, two of the subjects, "Slow loading of Combo Boxes" and "Capacities", reminded me of a some of my recent observations while trying to get Combo Boxes to load faster: – Using the API call CB_ADDSTRING appears to be 5-10 times faster than using…
#1195 Edit Passwords Message #1269
From: Herb Martin MS BASIC Forum · Visual Basic October 3, 1991 9:51 PM
Thanks, I got the article from MS Knowledge Base and it explained everything needed for 'password' edit controls. Thanks to everyone who helped.
#1227 Shell (x$, 3) Fixed Message #1268
From: Keith Funk/Vanc.BC,CAN. MS BASIC Forum · Visual Basic October 3, 1991 9:09 PM
Hi Don, ??? I've received more informative messages, but none so concise. Wait, now I get it. If I receive the message, then I really am your illegitimate 4th cousin, thrice removed. That must mean that Great, Great, Great Uncle Ludwig's estate has finally been settled and I get the…
#728- Read..Data Message #1267
From: Anthony Catalano MS BASIC Forum · Visual Basic October 3, 1991 9:02 PM
Thanks for the reply. My gripe with the VB manuals in particular, and MS manuals in general, is that they are elaborate "lists". This command does this action. In VB this is agumented by a command reference manual. I particulary find the object/procedure paradigm foreign, having done my programming in…
#647- Read..Data Message #1264
From: Anthony Catalano MS BASIC Forum · Visual Basic October 3, 1991 8:54 PM
Many Thanks for the reply. That's life is too bad. As per manuals, they present a "list" in elaborate form, of the features available. My personal preference is for examples, lots of them to illustrate the means of implementing the concepts. My exposure to basic has been entirely in scientific…
#882- #Innovative Beta Programs Message #1263
From: Wayne Davison MS BASIC Forum · Visual Basic October 3, 1991 8:49 PM
I saw something about paying $58 for the OS/2 2.0 beta on the IBMOS2 forum just a few days ago. IBM has really cut their prices drastically to push OS/2 2.0! There is 1 Reply.
#1181 Shell (x$, 3) Fixed Message #1261
From: Keith Funk/Vanc.BC,CAN. MS BASIC Forum · Visual Basic October 3, 1991 8:29 PM
Hi Costas, Putting the code into a sub was one of the early things that I tried in my experiments. I tried putting the sub in the same form, a different form and even in a module on its own. No luck. But it was a good idea and thanks…
#1165 Shell (x$, 3) Fixed Message #1260
From: Keith Funk/Vanc.BC,CAN. MS BASIC Forum · Visual Basic October 3, 1991 8:28 PM
Hi Nelson, I tried the code you sent. The For loop with the MsgBox statement in it caused a UAE rather than an illegal function call. Not that that's a big improvement. However, adding an x% = DoEvents() after the Shell made the UAE go away. But your code did…
#1244 Detecting Ascii Message #1259
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 8:26 PM
John, Actually, you probably have to approach this problem backwards. Most file formats have some sort of header with an identifying byte or two. You should just go down a chain of those and ASCII will be the one that is "none of the above." dBase III uses Ctrl-Z. I…
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 8:26 PM
Dean, You might try to throw a call to DoEvents in between. DoEvents is the cure-all for just about everything! -=- Jonathan
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 8:26 PM
Don, What you don't see is that MSC (both on the VB end and the DLL end) is making use of a hidden final parameter which is the address of the double that should be returned. BC++ is not aware of this and blows up. -=Jonathan
#1215 Callbacks from DLL Message #1256
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 8:26 PM
Mark, Oh, now I see what you were responding to. What I meant was could I *directly* use VBFireEvent on a normal VB control. Sorry for the confusion. -=- Jonathan
#1149 Eats resources! Message #1254
From: L.Sobieski(SoftwareEtc) MS BASIC Forum · Visual Basic October 3, 1991 8:25 PM
Don, I did get the KB doc. I am using CreatePopupMenu() to create the empty menu (and get the handle), then loading the menu with AppendMenu() to load it with strings from a list box. I then call TrackPopupMenu() to actually popup the menu. Once it is displayed, LEFT_BUTTON get…
#1215 Callbacks from DLL Message #1251
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 8:15 PM
Mark, Huh? I'm not sure why I got this message. You got the technique from me, did you not? -=- Jonathan
#1158 Sound off, 1-2 Message #1249
From: J.D. Hildebrand MS BASIC Forum · Visual Basic October 3, 1991 8:07 PM
Jim– Yeah, the answering machine comes on outside of west coast business hours. Try again during the day, or just send me your address in a mail message and I'll take care of getting you a sample issue of Windows Tech Journal. JDH
#937- Innovative Beta Programs Message #1246
From: Jim Ferguson MS BASIC Forum · Visual Basic October 3, 1991 7:57 PM
Mark, I'm not too much interested in non-VB Basic. I'm sure many of the concepts and techniques carry over, though, so maybe I don't know what I'm missing! I got my Visa bill today and it kind of put everything in perspective. I bought $44 dollars worth of CD's a…
#894- #Innovative Beta Programs Message #1245
From: Jim Ferguson MS BASIC Forum · Visual Basic October 3, 1991 7:56 PM
Dan, I would like to see a copy of the mag. Perhaps someone has a back issue or two floating around… My interest in Basic only extends to VB. — Jim F. There is 1 Reply.
#Detecting Ascii Message #1244
From: John White MS BASIC Forum · Visual Basic October 3, 1991 7:51 PM
After playing with Visual Basic for a few months, my work group is toying with the idea of using Visual Basic to create front ends for various databases developed in dBase, Paradox, and FoxPro. While waiting for 3rd party db DLLs to arrive (any comments pro and con on what's…
From: Don Mol MS BASIC Forum · Visual Basic October 3, 1991 7:47 PM
Yes! Very much so! — but that hasn't been that hard to convince anyone…
VBTools Message #1242
From: Robert (Sandy) Sandhaus MS BASIC Forum · Visual Basic October 3, 1991 7:23 PM
Mark, VBTools arrived and the nicest thing about it is that it contained even more capability than I had hoped. Control events that I had worked around are handled in a single command with the Tools. I couldn't be more pleased. Thanks for your intervention on the discount and thanks…
rubber-banding Message #1241
From: jeffrey morris MS BASIC Forum · Visual Basic October 3, 1991 7:11 PM
Ted, I looked through the source code for Icon Works program that came with Visual BASIC to see how rubber-banding works. The program has two picture boxes called Pic_Image and Pic_Mask which I think is used for the rubberbanding routine. I still can't figure out how rubber-banding works. I think…
#237- Comments on VB-Muscle Message #1234
From: Dave Mohler MS BASIC Forum · Visual Basic October 3, 1991 6:26 PM
Mark:
#1068- #Shell (x$, 3) Fixed Message #1227
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 5:25 PM
Test There is 1 Reply.
#1014- Visual Basic copy Message #1226
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 5:24 PM
Hi Jonathan, We *all* have problems with problem solving….amen! Don Funk
#986- communication Message #1225
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 5:24 PM
Hi Paul, Mark gave you a good sugession which will work. You may want to ponder more with him or Ethan if you are going to be doing anything more complicated than page. They both have add-ons that will make you com routines more robust. Don Funk
#969- #BAD DLL CALLING CONVENT. Message #1224
From: Don Funk MS BASIC Forum · Visual Basic October 3, 1991 5:23 PM
Hi Alfred, I was able to do this. Here is my code that did it. Is there something that I don't see that you are doing diferently? Don Funk ======================= VB Declare Function ReturnDouble Lib "c:\avb\dll\mydll.dll" () As Double Sub Form_Click () Print ReturnDouble() End Sub ======================= MyDll.c #include double…
#1216 OpenFile API Message #1223
From: Costas Kitsos MS BASIC Forum · Visual Basic October 3, 1991 5:19 PM
Dennis, It's funny, as I was reading your message when I got to the date and time part it struck a chord and I remembered the good old CALL INTERRUPT days. So, I dug out the code, tried it and it worked. Costas
#720- Innovative Beta Programs Message #1221
From: hank marquis MS BASIC Forum · Visual Basic October 3, 1991 5:10 PM
I am jumping into the middle of this with another view point… I have actively recruited beta-testers for my product, db/VB using the free and pay-for-right-to-beta concepts. After limited sucess with the free version, I went to the 1/2 price way for one reason…It seems when someone pays for something,…
#1202 Shell problem Message #1220
From: Keith Funk/Vanc.BC,CAN. MS BASIC Forum · Visual Basic October 3, 1991 5:08 PM
Hi Steve, Thanks for the feedback. So far, we've only found two computers that it doesn't work on, mine and Nelson's. It's totally exasperating. I've pretty well got the problem isolated, but I can't go any further without some guru level help. Unfortunately, none of them have been able to…
#999- Callbacks from DLL Message #1219
From: Gary Burge MS BASIC Forum · Visual Basic October 3, 1991 4:49 PM
Thanks to all who answered my questions on callbacks from a DLL. I have some ideas now on how to attempt alternatives. -Gary
#1180 #OpenFile API Message #1216
From: Dennis L. Harrington MS BASIC Forum · Visual Basic October 3, 1991 4:44 PM
Costas, AHA! What a team! I thought it looked like there was something there, but I was changing the reserved field to a single and never tried the 2 integers. Even if I had, I'd have never guess how to decode it anyway! How in the world did you figure…
#1200 #Callbacks from DLL Message #1215
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 4:29 PM
Jonathan, I think you'll find that SendMessage and PostMessage work exactly as you'd expect with the VB controls. I've done it with WM_SENDKEYS and a few others. Mark There are 2 Replies.
#1183 Help with DLL's!!!!! Message #1214
From: John Ruzicka MS BASIC Forum · Visual Basic October 3, 1991 4:28 PM
Tried it…it didn't work. Set the compiler for "all functions external." That didn't work either. Any other suggestions? Will leave a message for Borland to see if there's something I'm forgetting to do. Thanks, John
From: DEAN EDWARDS MS BASIC Forum · Visual Basic October 3, 1991 4:15 PM
I have a question regarding transfer of data to a Visual Basic program viahe clipboard. Right now my VB program searches for an open PowerPoint application window, sends the appropriate keys to search for some text and copy it to the clipboard, then copies the clipboard contents into a string…
#1207 A NEW Shell Problem Message #1212
From: Costas Kitsos MS BASIC Forum · Visual Basic October 3, 1991 4:00 PM
Shelden, Have you tried FreeModule? Costas
#1204 GIF files Message #1209
From: Costas Kitsos MS BASIC Forum · Visual Basic October 3, 1991 3:17 PM
Selden, I've seen examples in C, Basic, Pascal, etc. The best way to find out about the current ones is probably by posting a question in sections 14 or 17. Costas
Docs and questions Message #1208
From: Sue Mosher MS BASIC Forum · Visual Basic October 3, 1991 3:04 PM
Ethan, When will the documentation for QuickPak for Windows be out? Puzzling it out from the DOS version manual is like working without a net, especially since I never used the DOS version. A couple of questions, not necessarily related to QP but maybe within your expertise: 1. Is there…
From: Selden McCabe MS BASIC Forum · Visual Basic October 3, 1991 2:58 PM
Help — Anyone! This is a different Shell problem I'm having. In my VB app, I use Shell to start other windows apps and also DOS apps. For the windows apps (like Reversi, Solitaire, etc.) sometimes the user gets the Shelled app into the background or iconizes it, then returns…
#1157 GIF files Message #1205
From: Selden McCabe MS BASIC Forum · Visual Basic October 3, 1991 2:48 PM
Hear Hear! Thanks for forwarding on the request, I'm sure many people have wanted the same thing. This forum seems to be packed with lots of high quality technical tidbits and helpful programming techniques. Keep up the good work! — Selden
#985- #GIF files Message #1204
From: Selden McCabe MS BASIC Forum · Visual Basic October 3, 1991 2:46 PM
Really? Gee, and I've been a member here for about 5 years! Are they actual working source code examples? Thanks for the tip, I'll go take a look! There is 1 Reply.
#Shell problem Message #1202
From: Steve Cramp [Ont] MS BASIC Forum · Visual Basic October 3, 1991 2:02 PM
Hi, thought I join in here… I tried the code in your message (shell…) and it works fine. I tried it on 1) Compaq 386/20e, 4Mb, ATI Wonder 2) Compaq 386/33, 6Mb, Genoa VGA 3) Clone 386/33, 8Mb, ATI Ultra+ 1&2 have math co-procs, 3 doesn't It works fine in…
VB & Databases Message #1201
From: Simon Clark MS BASIC Forum · Visual Basic October 3, 1991 1:35 PM
I'll give it a whirl shortly… Simon
#1146 #Callbacks from DLL Message #1200
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 1:33 PM
Don, I haven't tried this yet but I was wondering if I could, from a DLL, fire an event in a *normal* control. As long as it was one of the standard events and I had the hCtl, I should be able to do it. Right? -=- Jonathan There is…
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 1:20 PM
Alfred, It is not really a variable number of parameters, just one extra that will always be appended to a function returning a DOUBLE: Borland Decl: *double FAR PASCAL BCDToReal (char far *BCDNumber, double far *Result) *Result = 27.3 (or whatever); Return *Result; Something like that. I have been away…
#1156 VB Questions Message #1196
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 1:20 PM
Don, That is not what I heard. Are you saying that you built your p-code engine completely from scratch? I think I even saw one of the scripts. -=Jonathan
#1095 #Edit Passwords Message #1195
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 3, 1991 1:20 PM
Herb, Well, you will have to change the style and then send a SetPassWordChar message to activate the new style. -=- Jonathan There is 1 Reply.
From: Nelson Ford MS BASIC Forum · Visual Basic October 3, 1991 12:48 PM
Correction – I see that VBTVWR was made visible on DL1 of MSLANG. I have re-uploaded to DL1 of this forum too, so maybe it will be visible here in a day or two.
#1100 OpenFile API Message #1189
From: Costas Kitsos MS BASIC Forum · Visual Basic October 3, 1991 12:45 PM
Dennis, Yes, r2 holds the time so that can be unpacked as well: FileHour% = (a.r2 And &H7FFF) \ 2048 If a.r2 < 0 Then FileHour% = (FileHour% + 16) – 12 'for PM times FileMinute% = ((a.r2 And &H7FFF) \ 32) And &H3F FileSecond% = (a.r2 And &H1F) *…
From: Don E Wanless MS BASIC Forum · Visual Basic October 3, 1991 12:30 PM
Software Source has announced that Version 2.0 of VB/ISAM will include built-in functions for managing multiple index keys. Meanwhile, there's a tech memo available that describes an easy technique for implementing multiple secondary indexes using VB/ISAM Version 1.0. VB/ISAM Version 2.0 will remain priced at $99.95, and will continue to…
#1164 MhFileSelector Message #1185
From: Mark Novisoff/MicroHelp MS BASIC Forum · Visual Basic October 3, 1991 12:27 PM
Victor, I'm amazed that nobody has found that bug before now! Here's the fix for the FILEOS2.FRM, FileOpenSpec_KeyPress Sub procedure Where it now has: Temp$ = FileOpenSpec.Text Add this immediately after that line: If InStr(Temp$, "?") Or InStr(Temp$, "*") Then FileOpenSpec_LostFocus FileOpenSpec_GotFocus Exit Sub End If Mark P.S. Because you…

Page 26 of 28