|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Accessing COM DLL MS ProjectContinuing on from my previous post I am trying to access the MP Project COM Server which is installed with MS Project. However, I get the following error message, what am I doing wrong. I have done the following 1.) Added a reference to the DLL 2.) Added an imports statment 3.) Tried to instantiate a new project. and I get the following error. An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in MSProject.exe Additional information: COM object with CLSID {1019A320-508A-11CF-A49D-00AA00574C74} is either not valid or not registered. If I try and register this manually using regsvr32 I get an error saying it has no entry point. I am obviously missing the plot here and any help would be appreciated Thanks Is the COM dll registered (run Regsvr32.exe \path\my.dll)?
-- Richard Grier, MVP Hard & Software Author of Visual Basic Programmer's Guide to Serial Communications, Fourth Edition, ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March 2006. See www.hardandsoftware.net for details and contact information. I tried to register it, but it told me there was no entry point although it
found the file it could not register it. Show quoteHide quote "Dick Grier" <dick_grierNOSPAM@.msn.com> wrote in message news:%238WDvfEzGHA.4104@TK2MSFTNGP02.phx.gbl... > Is the COM dll registered (run Regsvr32.exe \path\my.dll)? > > -- > Richard Grier, MVP > Hard & Software > Author of Visual Basic Programmer's Guide to Serial Communications, Fourth > Edition, > ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March > 2006. > See www.hardandsoftware.net for details and contact information. > I suspect that this means that it is not a COM dll. Perhaps it is a
standard DLL that you can simply declare and then call? Dick -- Richard Grier, MVP Hard & Software Author of Visual Basic Programmer's Guide to Serial Communications, Fourth Edition, ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March 2006. See www.hardandsoftware.net for details and contact information.
Concurrency violation at update
How to use this service ??? WSDL available How to dynamically instantiate a base calss (w/ args to constructor?) A Service in VB.NET 2005 using a form ? Listview deselect all do event Date/Time problem No equivalent control VB6 to VB.Net ActiveX Document DLL (VBD) Inquiry... Icons needed |
|||||||||||||||||||||||