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
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…
Thanks, I got the article from MS Knowledge Base and it explained everything needed for 'password' edit controls. Thanks to everyone who helped.
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
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
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
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.
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…
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…
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…
Dean, You might try to throw a call to DoEvents in between. DoEvents is the cure-all for just about everything! -=- Jonathan
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
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
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…
Mark, Huh? I'm not sure why I got this message. You got the technique from me, did you not? -=- Jonathan
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
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
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
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…
Yes! Very much so! — but that hasn't been that hard to convince anyone…
VBTools
Message #1242
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
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
Mark:
#1068-
#Shell (x$, 3) Fixed
Message #1227
Test There is 1 Reply.
#1014-
Visual Basic copy
Message #1226
Hi Jonathan, We *all* have problems with problem solving….amen! Don Funk
#986-
communication
Message #1225
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
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…
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
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,…
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
Thanks to all who answered my questions on callbacks from a DLL. I have some ideas now on how to attempt alternatives. -Gary
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…
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.
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
#Clipboard & VB Question
Message #1213
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…
Shelden, Have you tried FreeModule? Costas
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
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…
#A NEW Shell Problem
Message #1207
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…
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
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
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
I'll give it a whirl shortly… Simon
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…
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…
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
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.
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.
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) *…
VB/ISAM — multiple keys
Message #1188
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…
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