473,651 Members | 3,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referencing ActiveX Controls

Hello,

I am trying to embed some activeX controls into my project.

I have a sample application where it all works.
When i try and get it to work in my main application it gives me an error
(Catastrophic Failure (exception from HRESULT: 0x000FFF (E_UNEXPECTED)

In the references of the working sample it says
AxDSOFramer
DSOFramer

In the references of the main application which doesnt work it says
axInterop.AxDSO Framer
interop.DSOFram er

The properties of the references are also different, but I cannot change
them?
In the working sample it says
FileType: ActiveX

In the main application which doesnt work it says
FileType: Assembly

Does anyone know how I can import references so that they are the same...I
dont understand whats going on...they are the exact same DLL's...

Thank you so much for anyone that can help
John Sheppard
Dec 12 '07 #1
2 3659

"John Sheppard" <no****@spamspa m.comwrote in message
news:fj******** *@news2.newsguy .com...
Hello,

I am trying to embed some activeX controls into my project.

I have a sample application where it all works.
When i try and get it to work in my main application it gives me an error
(Catastrophic Failure (exception from HRESULT: 0x000FFF (E_UNEXPECTED)

In the references of the working sample it says
AxDSOFramer
DSOFramer

In the references of the main application which doesnt work it says
axInterop.AxDSO Framer
interop.DSOFram er

The properties of the references are also different, but I cannot change
them?
In the working sample it says
FileType: ActiveX

In the main application which doesnt work it says
FileType: Assembly

Does anyone know how I can import references so that they are the same...I
dont understand whats going on...they are the exact same DLL's...

Thank you so much for anyone that can help
John Sheppard

Hmm, I've made some progress...If I add the DSOFramer from the COM menu,
that ads the DSOFramer, but it wont add the AxDSOFramer...d o I have to
register them?

I tried registering the AxDSOFramer.dll but regsvr did not like it "The
module ... was loaded but the entry-point DLLregisterServ er was not
found...make sure that .... is a valid dll or ocx file and then try again"

It is a valid dll, cause it works in the sample application :(

Thank you
John sheppard

Dec 12 '07 #2

"John Sheppard" <no****@spamspa m.comwrote in message
news:fj******** *@news2.newsguy .com...
>
"John Sheppard" <no****@spamspa m.comwrote in message
news:fj******** *@news2.newsguy .com...
>Hello,

I am trying to embed some activeX controls into my project.

I have a sample application where it all works.
When i try and get it to work in my main application it gives me an error
(Catastrophi c Failure (exception from HRESULT: 0x000FFF (E_UNEXPECTED)

In the references of the working sample it says
AxDSOFramer
DSOFramer

In the references of the main application which doesnt work it says
axInterop.AxDS OFramer
interop.DSOFra mer

The properties of the references are also different, but I cannot change
them?
In the working sample it says
FileType: ActiveX

In the main application which doesnt work it says
FileType: Assembly

Does anyone know how I can import references so that they are the
same...I dont understand whats going on...they are the exact same
DLL's...

Thank you so much for anyone that can help
John Sheppard


Hmm, I've made some progress...If I add the DSOFramer from the COM menu,
that ads the DSOFramer, but it wont add the AxDSOFramer...d o I have to
register them?

I tried registering the AxDSOFramer.dll but regsvr did not like it "The
module ... was loaded but the entry-point DLLregisterServ er was not
found...make sure that .... is a valid dll or ocx file and then try again"

It is a valid dll, cause it works in the sample application :(

Thank you
John sheppard
hmm, I found out a dodgy way of doing it....

I just edited the working sample's project file, cut and pasted the
references from there into my main app, and away we go!

Wouldnt mind knowing how to do it properly tho :)

Thanks for reading
John Sheppard
Dec 12 '07 #3

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

Similar topics

2
7567
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run the VB program on that same machine, I can view the ActiveX control fine. He is using Citrix. The same ActiveX controls can be viewed on other machines. When trying to view 1 of the ActiveX control, he got an error "Visual Basic Run-time redist...
12
2574
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
0
7121
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all are running MSIE6.x, woth security settings set to display this control. For the life of me, I cannot figure out how such a simple control can be so sporadic in it;s showing on a page. It always downloads - it just doesn't always show. I'm...
3
2753
by: DB | last post by:
Hi Folks, I want to create Activex component. Can we create it using c#.net or do I need to create it using vc++? Thanks in Advanced, Deepak
7
4391
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
4
6784
by: Wilfried Mestdagh | last post by:
Hi, I have a C# application (VS2005) with Microsoft Mappoint activeX control on a form. At a certain moment I want to create a second one temporary in code. This seems not to work, when I try to access it I have an InvalidActiveXState Exception. I cannot find mutch on the web about this Invalid State of a component except that it is invalid (what the Exception already describe). So I hope someone here knows ?
6
3510
by: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework 1.1 Configuration. I have also put a reference to the control on my ASP .NET project. The view that I get is only a disabled text area. Below is the code that I'm using:
0
1335
by: Christian Nein | last post by:
Hello, does anybody have experiences with screenshots of ActiveX controls in .NET? I have a panel containing some controls, amongst others some ActiveX controls. I tried "control.DrawToBitmap()". The result was a Bitmap showing the panel with all controls located on it, except the ActiveX controls. This is not a surprise because MSDN says that "DrawToBitmap method is not supported for ActiveX controls". Does anybody know a solution for...
4
2512
by: Henrik Dahl | last post by:
Hello! Is it possible to use Visual Studio 2005 or, secondarily, Visual Studio .NET 2003 to create ActiveX controls which may be consumed by VB 6.0 programs, i.e. dealt with on forms in the usual way? If yes, may you provide a hint/link for getting started? Best regards,
0
8361
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8278
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8807
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8701
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8466
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7299
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6158
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.