• Dll stops working (2003)

    • This topic has 4 replies, 2 voices, and was last updated 18 years ago.
    Author
    Topic
    #441676

    I have a dll that has worked in my code for the past two years. All of a sudden I got the following message: Activex Component cannot create object.
    I copied the dll fresh from the download site in case the file was corrupt, but nothing goes. I created a whole new database and created a module to test this dll also no go.
    The dll is referenced in the database. I tried unchecking and rechecking it
    Any ideas on why a dll should go bad like this?
    Attached is the dll if you want to try it
    thanks

    My code is:
    Public Function fGetWords(varNumber As Variant, Optional blDollar As Boolean) As Variant
    On Error GoTo Err_fGetWords

    Dim vResult As Variant

    Dim MyDll As New ConvertNo2Words.GetWords
    Dim strNumber As String

    If varNumber > 999999.99 Then
    Dim StrAmount2 As String
    StrAmount2 = InputBox(“

    Viewing 0 reply threads
    Author
    Replies
    • #1061201

      It works for me – although the result is nonsense, probably since I don’t have Hebrew installed. I’ll try to look at it later.

      • #1061205

        I installed office 2007 and have opened this database also in 2007. I wonder if that corrupt the dll in some way, although I did download a new copy.
        Could just the fact that office 2007 is installed affect the way dll’s work on the whole system?

        • #1061223

          Installing an Office version should not corrupt a non-Office DLL, or influence the way non-Office DLLs work.
          You might try registering the DLL:
          – Select Start | Run…
          – Type regsvr32 “c:folder1folder2ConvertNo2Words.dll” (substitute the correct path).
          – Click OK or press Enter.

          • #1061243

            As usual your advice was 100% on target!
            Thanks so much

    Viewing 0 reply threads
    Reply To: Dll stops working (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: