|
-
May 19th, 2000, 02:47 AM
#1
Hopefully someone can help me on this problem since I seemed to stump everyone with my last post.
I have developed an application that, for all intents and purposes, queries a machine and stores relevant data in a database. I am using API calls (mostly GetKeyValues and GetSettingString) to get ODBC data sources from the registry and presenting them in a True DBGrid 6 grid. I am also using an API call to get printer data (EnumPrinters) and displaying that data in a DBGrid.
Here's the problem: When running in the Visual Studio development environment, all the data is collected and displayed properly. However, when I compile the application and run it from the EXE rather than the IDE, the ODBC data is not displayed (and possibly not gathered). The printer data is collected and displayed fine in both cases. I have tried this on multiple machines with the same results.
Help!!!
I am starting to add MsgBoxs throughout that portion of the code to see what happens, but in the mean time, if anyone can explain why there would be a difference or what I might do to fix this, I'd truly appreciate it.
Thanks for all your help!!!
Dan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|