G
Galen Somerville
I have an app using a VB6 ActiveX.dll which I also have made as an exe. Both
the dll and exe have exactly the same code and start in Sub Main. There is
no form involved.
I start this activex as a Process like so:
Dim NewProcess As Process = New Process
Then I use one of these:
Process.Start("D:\Test\VB6\dll\MyProg.dll", CStr(Arg1) & " " &
CStr(Arg2))
Process.Start("D:\Test\VB6\MyProg.exe", CStr(Arg1) & " " & CStr(Arg2))
If I start the exe version all goes well. But if I start the dll version a
MsgBox pops up (and screws up the timing) with this message
"Dll RegisterServer in D:\Test\VB6\dll\MyProg.dll succeeded"
Ive tried putting the MyProg.dll in System32 folder and the VB2005 app's Bin
folder. Of course I unregister all other appearances.
The message pops up every time I run the app not just the first time.
Help !!!!
Galen
the dll and exe have exactly the same code and start in Sub Main. There is
no form involved.
I start this activex as a Process like so:
Dim NewProcess As Process = New Process
Then I use one of these:
Process.Start("D:\Test\VB6\dll\MyProg.dll", CStr(Arg1) & " " &
CStr(Arg2))
Process.Start("D:\Test\VB6\MyProg.exe", CStr(Arg1) & " " & CStr(Arg2))
If I start the exe version all goes well. But if I start the dll version a
MsgBox pops up (and screws up the timing) with this message
"Dll RegisterServer in D:\Test\VB6\dll\MyProg.dll succeeded"
Ive tried putting the MyProg.dll in System32 folder and the VB2005 app's Bin
folder. Of course I unregister all other appearances.
The message pops up every time I run the app not just the first time.
Help !!!!
Galen