Some additional information for anyone who thinks they might help...
Microsoft Forms 2.0 Object Library can be found under Project Components, if you have FM20.DLL (I think it comes with MS office, and some other MS apps).
Margaret Knapp
Visual Basic Programmer
I am using the Microsoft Forms 2.0 combobox (FM20.DLL) in a VB client/server app, because it is multi-column.
I have code to "autofill" a regular VB combobox. As the users types into the combobox, it searches for matching text in the dropdown list.
I tried to use the...
I just learned that I should have been setting an explicit size on my string variable to force it to the necessary size ( 7 bytes in my case), before making my API call.
Dim sStuff as string * 7 Margaret Knapp
Visual Basic Programmer
I just went through a very frustrating week, trying to fix a design gap in a VB menu, which calls and is called from SQLWindows programs. I'd like to pass on what I have learned, in hopes it will help others.
WORKING DIRECTORY DIFFERENT DEPENDING ON HOW YOU OPEN PROJECT IN DEVELOPMENT...
I am not alone! Thanks for the help. I read your other post as well. My problem was that since this is a menu, it had to work with the SQLWINDOWS apps that it calls as they exist now, because there are so many of them. For that reason, I also got to explore the world of Global Atomic Tables...
Thanks very much for your help. I really appreciate your taking the time to review my problem. I discovered just a few hours ago what was causing the problem. I am posting it for those of you on a network, because others developing on a network may find it useful.
When developing a VB project...
I'm working on a VB menu app, trying to launch a SQLWINDOWS app that resides on a network.
I need to specify the default directory (working directory) for the started application. I'm wondering if I need something like an API call, such as CreateProcess. SHELL doesn't seem to have a parameter...
My company (Radio Shack) uses client/server visual basic apps with ODBC to connect to DB2 on the mainframe frequently.
We also create comma delimited files on the mainframe, and FTP them down to a server (converting to ASCII) where they can be opened up in EXCEL, VB, WORD, etc.
We FTP comma...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.