Have you tried registering it with regsvr32?
In case you're not sure how to do this;
- Open the windows explorer and go to where the dll is.
- Click on <start> <run> and then type regsvr32.
- Then drag the dll file from windows explorer to right after this command.
- Hit enter and you should...
No need to use DCOMCNFG to register an AxtiveX.exe-file.
Just run the executable from a command prompt or from <start> <RUN> with /register after it.
So to register 'myapp.exe'; you run 'myapp.exe /register'
(don't forget to add the full path)
It will then register itself automatically.
This is the easiest way to prevent a second instance from running;
in the FORM_LOAD add;
If (App.PrevInstance = True) Then
MsgBox "<yourname>.exe already started!", vbOKOnly + vbExclamation, "Startup Error"
End
End If
It is possible to do, but not simple.
What you need to do is create a hierarchical recordset using the SHAPE-APPEND command.
To enable this, first change the connection-string for SQL server to include;
Provider=MSDataShape.1;Data Provider=SQLOLEDB
Change the Query string to include the...
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.