Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Calling a VB6 ActiveX DLL from C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerry West - 15 Mar 2008 18:02 GMT
I created a basic Hello World type of function and compiled it as a VB6
ActiveX DLL in the hopes that I could call it from C#. When I try to add a
reference to the DLL in the C# IDE I get an error message stating:

The reference could not be added. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.

Is it not possible to call a function within a VB6 ActiveX DLL from C#?

Thanks!

JW
Peter Morris - 15 Mar 2008 21:09 GMT
Have you registered the COM object?
Jerry West - 16 Mar 2008 04:44 GMT
You mean as in regsvr32?

> Have you registered the COM object?
Peter Morris - 16 Mar 2008 23:11 GMT
I presume that is "Yes" then.  Sorry, I don't have any experience of COM so
that was the only thought I had on the matter.

Pete
Martin Bonner - 18 Mar 2008 12:35 GMT
> You mean as in regsvr32?
>
> > Have you registered the COM object?

Can you access the VB6 ActiveX DLL from a VB6 application?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.