Results 1 to 5 of 5

Thread: Debug an Activex Component

  1. #1
    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

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    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.

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    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...........

  4. #4
    Join Date
    Jan 2008
    Posts
    3,755

    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

  5. #5
    Join Date
    Apr 2008
    Posts
    1,948

    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

Similar Threads

  1. ActiveX component can't create object error
    By Abe Simpson in forum Windows x64 Edition
    Replies: 8
    Last Post: 14-06-2011, 11:32 PM
  2. Error 429 : ActiveX component can't create object
    By GunTher in forum Vista Help
    Replies: 8
    Last Post: 30-01-2011, 03:04 AM
  3. Error=429 : ActiveX component can't create object
    By SurnameS in forum Vista Help
    Replies: 5
    Last Post: 30-01-2011, 02:30 AM
  4. Error=429: ActiveX component can't create object
    By vibhub in forum Vista Help
    Replies: 2
    Last Post: 23-12-2008, 07:41 PM
  5. Problem downloading the ActiveX component
    By Sentential in forum Technology & Internet
    Replies: 3
    Last Post: 24-11-2008, 06:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,190,454.94393 seconds with 16 queries