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 / VB.NET / May 2008

Tip: Looking for answers? Try searching our database.

Setup: OCX and DLLs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pamela fluente - 16 May 2008 17:55 GMT
This may be a stupid question.

I am creating a setup project. The setup project automatically
includes
2 external DLLs. In the same folder of those DLL there is an OCX,
which anyway
does not show in the setup project.

Now if I do the deployment on a computer different than mine I
receive an
error message that goes like this:

System.Runtime.InteropServices.COMException (0x80040154): Interfaccia
non registrata. (Eccezione da HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG))

I know I am missing something. Can you please point out what I am
doing wrong ?

How do I make aware the setup project of the OCX so that it is
registered on the target machine ?

Thank you very much,

-P
Family Tree Mike - 17 May 2008 14:11 GMT
I don't have a full VS at home at the moment, but when doing this some time
ago, I believe it was necessary to add the OCX as an individual file to the
installer package.  Once added, there is a property to make it be registered
on the target computer.

>  This may be a stupid question.
>
[quoted text clipped - 21 lines]
>
> -P
Michel Posseth  [MCP] - 18 May 2008 10:46 GMT
I made in the past installer setups from VS.Net for my VB6 applications  (
lots of COM components )
just ad them to the project manually and do not forget to set the COM
property for registring the type

HTH

Michel

>I don't have a full VS at home at the moment, but when doing this some time
> ago, I believe it was necessary to add the OCX as an individual file to
[quoted text clipped - 28 lines]
>>
>> -P
pamela fluente - 19 May 2008 10:08 GMT
Thank you,

  What can be wrong or corrupt on this computer?
  On other computers it installs normally, with no problem.

    I have added manually the OCX indicating VsdrfCOMSelfRegister.

   Setup fails saying it cannot register the OCX.

   Tried all the other options VsdrfCOM, same problem.

   Tried manually by using regsvr32, but the program fails in error.

   Tried unistalling the antivirus. No success.

  Aiuto!

-P

> I made in the past installer setups from VS.Net for my VB6 applications  (
> lots of COM components )
[quoted text clipped - 39 lines]
>
> - Mostra testo tra virgolette -

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.