473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Setup: OCX and DLLs

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

Jun 27 '08 #1
3 2682
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.

"pamela fluente" wrote:
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

Jun 27 '08 #2
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
"Family Tree Mike" <Fa************@discussions.microsoft.comschreef in
bericht news:BF**********************************@microsof t.com...
>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.

"pamela fluente" wrote:
> 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


Jun 27 '08 #3

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
On 18 Mag, 11:46, "Michel Posseth [MCP]" <M...@posseth.comwrote:
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

"Family Tree Mike" <FamilyTreeM...@discussions.microsoft.comschreef in
berichtnews:BF**********************************@m icrosoft.com...
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.
"pamela fluente" wrote:
*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- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: mtpollack | last post by:
Hi, I have an application that depends, for successful deployment, on a COM dll that needs to be registered on the user's machine. How do I include te registration of this dll in my setup...
4
by: surfdog58 | last post by:
Need to build complete deployment package for a multi-project enterprise soln consisting of 3 web apps, 20+ web services, 2 windows services, 61 component dll's and 4 databases. Everything except...
5
by: MJB | last post by:
I have several dlls that have app.config files tied to them. When adding their primary output to a Setup project everything works fine, but only the app.config for the .exe gets added to the Setup...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
3
by: =?Utf-8?B?WmlhbmdpIEpvbmVz?= | last post by:
Hi, I m using VS .NET 2003 to create a website. Using the setup package I create a setup as well. But this setup has files with actual code in it & not pre-compiled DLLs. Please let me know...
0
by: Georg Scholz | last post by:
(Note: this was intended to be a multi-post, but google was not able to post it also to microsoft.public.dotnet.general, so I'm cross- posting it separately) Hello, I am about to write a...
2
by: =?Utf-8?B?Vi5DaG9ja2FsaW5nYW0u?= | last post by:
IDE : VS .NET 2003, Platform : .NET 2.0, Hi All, I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate. In a form's Button_Click() event i call a dll which calls another dll and...
1
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup...
2
by: MickT | last post by:
I have developed a couple of windows applications in Visual Vasic Express 2008. To my horror, I have just discoved that the Setup Project is not available in the express edition. I have been...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.