Here's the question:
I know that we need to register DLL's right? Well, the question is, do we need to manually register all the DLL's through (what's the command again?)? Is there no way to automatically register a DLL when it is distributed?
Printable View
Here's the question:
I know that we need to register DLL's right? Well, the question is, do we need to manually register all the DLL's through (what's the command again?)? Is there no way to automatically register a DLL when it is distributed?
The command was regsvr32 c:\mydlls\mydll.dll
Umm, if you use packaging and deployment wizard it automatically registers them for you. :)
Why is it that when I am using either ActiveX DLL or ActiveX EXE, I don't really get an error but I get a delay wherein I get a dialog box saying that the DLL (or EXE) that I am running is busy. And I get two choices 'Switch To ...' and 'Retry' and when I 'press' 'Switch To ...' everything is just OK.
Why is this?
Is there any way to go 'around' this?
All I want to do is while testing is display a message and the other one is display a form. That's all!
This is the exact message that I get
Title: Component Request Pending
An action cannot be completed because a component (whatever the DLL) is not responding. Choose "Switch To" to activate the component and correct the problem.
Do you want to post some code, that might help.
-> the DLL (Test.DLL)
' in the DLL, I have a form (Form1) and a class module (Module1)
'Form1
'I have 1 command button for Form1
Private Sub Command1_Click
msgBox ("Hello World")
End Sub
'Module1
Public Sub Show
Form1.Show
End Sub
-> the EXE Project
'I have 1 form ProjForm and 1 command button CommandProj
Private Sub CommandProj_Click
Dim Message As New Test.Module1
Message.Show
End Sub