Re: "Error in loading DLL", VB6 ActiveX DLL



Scott,
By "the code will execute in debug mode without errors", you mean in the VB6
IDE ?
And in Excel, you set a reference to the DLL ?
Instantiate the object ?

A bit more info the error/not working may help us.

NickHK

"Scott" <Scott@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7F629FAE-0205-40F2-85EB-597A3ECDCDCD@xxxxxxxxxxxxxxxx

If anyone can help me, I will be very appreciative.

I've written an ActiveX DLL that has mysteriously stopped working on my
development machine but works fine on another test machine. Each machine
has
the same version of Excel (i.e. 2003) and is running the same dll and xls
file. However, on the development machine, the code will execute in debug
mode without errors (reference made to vbp file vs dll). I have tried a
lot
of things to resolve the issue: OS LiveUpdate, Office Update, delete dll
from
registry, register / unregister dll via regsvr32, checked dll using
Dependency Walker, etc but nothing has helped. Ideas anyone? Thanks!



.



Relevant Pages

  • Re: Debugging a DLL from a web service
    ... Make sure that the referenced assembly was built in debug mode, ... the bin directory with the dll. ... I did add a reference to the project (via the Projects tab in the Add ... When I run the web service and click a button on a test page, ...
    (microsoft.public.dotnet.languages.csharp)
  • C# dll for use with Excel
    ... It works fine on my development machine. ... I have registered the dll in the GAC ... the reference, the "Location:" is where I have it installed. ... compiling the dll for Framework version 3.5 and using Excel 2003. ...
    (microsoft.public.dotnet.framework.interop)
  • a solution and multiple projects
    ... enum) of an other project, we must add reference to this project (in ... we can Add reference to the project or to the dll of the project (with ... What are the impacts on debug mode and on executable file? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Cant compile a VB6 Dll that contains a reference to ADODB
    ... re-check the reference... ... > I have an old dll that I'm trying to recompile. ... When I run the project in debug mode, the compiler dies on a line ...
    (microsoft.public.vb.general.discussion)
  • VB FAQs (Interview Questions) lot lot
    ... Consider two objects, A and B. A holds a reference to B, ... Why do so many example programs not use the DLL name ... Private Declare Function SendMessage Lib "user32" ... Private Const BUFFER_LENGTH As Long = 255 ...
    (microsoft.public.dotnet.languages.vb)