Results 1 to 6 of 6

Thread: DLL distribution and registration

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    82

    Exclamation

    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?

  2. #2
    Guest
    The command was regsvr32 c:\mydlls\mydll.dll

    Umm, if you use packaging and deployment wizard it automatically registers them for you.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    82

    Exclamation not really an error

    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!

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    82

    Post exact message

    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.

  5. #5
    Guest
    Do you want to post some code, that might help.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    82

    Post just to give you an idea

    -> 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width