ActiveX control does not appear on client machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HabibBhutto
    New Member
    • Jan 2009
    • 17

    ActiveX control does not appear on client machine

    Hi Guys,

    Lot of Thanks in Advance... ! :)

    dear i have a problem regarding to ActiveX control, I developed a user control using WPF project and embeding it in my ASP .Net page, after deployment when I browse the page on the server machine "http://Localhost/etc", the ActiveX control appears on the page, but when I browse it on the client machine on the intranet or internet it does not appears... ! :(

    in the preceding of class declaration i make it COM Visible true as follows:

    Code:
    namespace WindowsFormsControlLibrary1
    {
        [ComVisible(true)]
        public partial class UserControl1 : UserControl
        {
            ///Code of the class 
        }
    }
    I used object tag to embedd the control as follows:

    Code:
    <object id="texctrl" classid="http:WindowsFormsControlLibrary1.dll#WindowsFormsControlLibrary1.UserControl1"  
        height = "400" width = "400" VIEWASTEXT>
       </object>
    Environment: Windows XP Professional, IIS 5.1, ASP .Net 3.5

    plzzzz help me

    Waiting for reply its urgent dear... ! :)

    Regards,

    Habib Ahmed Bhutto
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #2
    are there errors that you might trace? may be the clients need some adapted browser settings for secure/insecure activeX execution?

    kind regards

    Comment

    • HabibBhutto
      New Member
      • Jan 2009
      • 17

      #3
      no there is no errors in the code... ! actualy when i browse the page on client machine, the ActiveX control doesnt appear on the page, when i check the library file in tmp internet files, it is downloaded.

      Comment

      • HabibBhutto
        New Member
        • Jan 2009
        • 17

        #4
        i have set browser settings to allow activeX controls....... .. ! all settings are enabled regarding to this.... ! :(

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          I recommend looking into using Silverlight.

          Comment

          • HabibBhutto
            New Member
            • Jan 2009
            • 17

            #6
            I cant use SilverLight in this project, plz tell me solution without using SilverLight..

            Comment

            • Frinavale
              Recognized Expert Expert
              • Oct 2006
              • 9749

              #7
              Originally posted by HabibBhutto
              Code:
              <object id="texctrl" classid="http:WindowsFormsControlLibrary1.dll#WindowsFormsControlLibrary1.UserControl1"  
                  height = "400" width = "400" VIEWASTEXT>
                 </object>
              Are you sure that the classid is correct? It doesn't look right to me.

              Comment

              • HabibBhutto
                New Member
                • Jan 2009
                • 17

                #8
                Originally posted by Frinavale
                Are you sure that the classid is correct? It doesn't look right to me.
                Yes, I m sure classid is absolutly ok it is downloaded on client machine sometimes but not appears on page :(

                Comment

                • gits
                  Recognized Expert Moderator Expert
                  • May 2007
                  • 5388

                  #9
                  are there any dependend libs that are linked to the control?

                  Comment

                  Working...