Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shell function?

Status
Not open for further replies.

nirs

IS-IT--Management
Apr 4, 2003
37
IL
hi
my project is built from two vb6 applications and one C++ dll
the dll is actually a utility that reading and writing an ini file.
one vb app. writes uses the dll to write data to the ini file and then it needs to open the second vb app. the second vb app. uses the same dll to read and write the ini file again.
each vb app. works fine separately but when i try to combine bouth of them the second app. crushes.

in order to open the second vb app. i use the shell function.
ODG_GUI_CMDLINE = "\Wizard\odg.exe"
strCommand = App.Path & ODG_GUI_CMDLINE
MyAppID = Shell(strCommand)

the dll is not registerd it just placed in the directory with the applications

thanks
 
Do you get any error messages?

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top