Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links



Debug an Activex Component

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 30-11-2009
Member
 
Join Date: Nov 2009
Posts: 53
Debug an Activex Component

Hello ,

I am creating a program using the C# and created activex component which will deal with the hosting on the web. But the problem is that when the program start running then it wont debug the ActiveX component. I kept the "Enable unmanaged code debugging", but it does not make any effect. So please help me with the same issue so the that i can continue with my programming.

Thank you
Reply With Quote
  #2  
Old 30-11-2009
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,810
Re: Debug an Activex Component

To specify a container for the debug session
  • In Solution Explorer, select the project.
  • From the View menu, choose Property Pages.
  • In the Project Property Pages dialog box, open the Configuration Properties folder, and select Debugging.
  • Under the Debugging category, locate the Command property.
  • Specify the path name for the container. For example, C:\Program Files\Internet Explorer\IEXPLORE.EXE.
  • If you specify Internet Explorer as the container and you are using Active Desktop, type /new in the Command Arguments box.
  • Click OK.
Reply With Quote
  #3  
Old 30-11-2009
opaper's Avatar
Member
 
Join Date: May 2008
Posts: 2,362
Re: Debug an Activex Component

Hi there,

I think you have to make some changes and try again. You have to go to project settings and there you will have to choose the "enable unmanaged
debugging". After enabling you can have access to the managed code into unmanaged . try this out and see whether it is working or not if it ios working then let me know and if it not then i wanted to no and i will look more to find the solution.

Thanks...........
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #4  
Old 30-11-2009
Sam.D's Avatar
Member
 
Join Date: Jan 2008
Posts: 3,735
Re: Debug an Activex Component

Here is proper defination of the ActiveX. An ActiveX control is essentially a simple OLE object that supports the IUnknown interface. It usually supports many more interfaces in order to offer functionality, but all additional interfaces can be viewed as optional and, as such, a container should not rely on any additional interfaces being supported. By not specifying additional interfaces that a control must support, a control can efficiently target a particular area of functionality without having to support particular interfaces to qualify as a control. As always with OLE, whether in a control or a container, it should never be assumed that an interface is available, and standard return-checking conventions should always be followed. It is important for a control or container to degrade gracefully and offer alternative functionality if a required interface is not available.

To know more about the ActiveX Click here
Reply With Quote
  #5  
Old 30-11-2009
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,937
Re: Debug an Activex Component

Similar to Java Beans, an ActiveX control is a component and equivalent to an "OLE Object" and Component Object Model (COM) Object. An ActiveX control, in the very simplest form, is a COM object that supports the IUnknown interface. ActiveX Controls are the primary architecture to develop programmable software components for reuse in a variety of different containers that range from Internet Explorer to software development tools, and end-user productivity tools. For more information about ActiveX Controls.

Thanks
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Debug an Activex Component"
Thread Thread Starter Forum Replies Last Post
ActiveX component can't create object error Abe Simpson Windows x64 Edition 8 15-06-2011 12:32 AM
Error 429 : ActiveX component can't create object Brad Vista Help 12 30-01-2011 03:04 AM
Error=429 : ActiveX component can't create object RobGG Vista Help 15 30-01-2011 02:30 AM
Error=429: ActiveX component can't create object vibhub Vista Help 2 23-12-2008 07:41 PM
Problem downloading the ActiveX component Sentential Technology & Internet 3 24-11-2008 06:54 PM


All times are GMT +5.5. The time now is 03:46 AM.