Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ActivexControl

ActivexControl

Scheduled Pinned Locked Moved ASP.NET
toolsjavascripthtmlsysadmintesting
12 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raushan_9
    wrote on last edited by
    #1

    Hello, I have Create a Activexcontrol through Classlibray Project .and i have used another dll in ClassLibrary Project. when we call this Activexcontrol in Html Page using JavaScripte then its Throw Error "Automation Server Can't Create Object" my code is in Javscript as follows:- function comEventOccured() { <script type='text/javascript' language='javascript'> function comEventOccured() { var x = new ActiveXObject("ClassLibrary1.Class1"); <!-- Access the Method --> x.process1("FEDC-8011-0002-8469-5831","C:\\Program Files\\ABBYY FineReader Engine 8.1\\Bin\\FREngine.dll","C:\\Documents and Settings\\Administrator\\Desktop\\new_template\\sankar.frm","C:\\Documents and Settings\\Administrator\\Desktop\\TestSankar","TIF","C:\\Output"); alert(); } I have passed the path in parameter Because i have passed 6 value in parameter in function... So Please Give Idea ..Why its throw message Thanks & Regards Raushan

    R B 2 Replies Last reply
    0
    • R raushan_9

      Hello, I have Create a Activexcontrol through Classlibray Project .and i have used another dll in ClassLibrary Project. when we call this Activexcontrol in Html Page using JavaScripte then its Throw Error "Automation Server Can't Create Object" my code is in Javscript as follows:- function comEventOccured() { <script type='text/javascript' language='javascript'> function comEventOccured() { var x = new ActiveXObject("ClassLibrary1.Class1"); <!-- Access the Method --> x.process1("FEDC-8011-0002-8469-5831","C:\\Program Files\\ABBYY FineReader Engine 8.1\\Bin\\FREngine.dll","C:\\Documents and Settings\\Administrator\\Desktop\\new_template\\sankar.frm","C:\\Documents and Settings\\Administrator\\Desktop\\TestSankar","TIF","C:\\Output"); alert(); } I have passed the path in parameter Because i have passed 6 value in parameter in function... So Please Give Idea ..Why its throw message Thanks & Regards Raushan

      R Offline
      R Offline
      r a m e s h
      wrote on last edited by
      #2

      You need to change your browser settings to allow ActiveX controls.

      R 1 Reply Last reply
      0
      • R r a m e s h

        You need to change your browser settings to allow ActiveX controls.

        R Offline
        R Offline
        raushan_9
        wrote on last edited by
        #3

        How to change my browser setting....?

        A 1 Reply Last reply
        0
        • R raushan_9

          How to change my browser setting....?

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Tools > Options > Security TAB > Custom Level. Note : ActiveX will work only on IE.

          cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

          R 1 Reply Last reply
          0
          • A Abhijit Jana

            Tools > Options > Security TAB > Custom Level. Note : ActiveX will work only on IE.

            cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

            R Offline
            R Offline
            raushan_9
            wrote on last edited by
            #5

            Thanks for reply, I have change the custom Level but again throwing same message Error"automation Server can't create object.

            1 Reply Last reply
            0
            • R raushan_9

              Hello, I have Create a Activexcontrol through Classlibray Project .and i have used another dll in ClassLibrary Project. when we call this Activexcontrol in Html Page using JavaScripte then its Throw Error "Automation Server Can't Create Object" my code is in Javscript as follows:- function comEventOccured() { <script type='text/javascript' language='javascript'> function comEventOccured() { var x = new ActiveXObject("ClassLibrary1.Class1"); <!-- Access the Method --> x.process1("FEDC-8011-0002-8469-5831","C:\\Program Files\\ABBYY FineReader Engine 8.1\\Bin\\FREngine.dll","C:\\Documents and Settings\\Administrator\\Desktop\\new_template\\sankar.frm","C:\\Documents and Settings\\Administrator\\Desktop\\TestSankar","TIF","C:\\Output"); alert(); } I have passed the path in parameter Because i have passed 6 value in parameter in function... So Please Give Idea ..Why its throw message Thanks & Regards Raushan

              B Offline
              B Offline
              Brij
              wrote on last edited by
              #6

              Please go throygh the Link Hope it will help you

              Cheers!! Brij Check My Latest Article

              R 1 Reply Last reply
              0
              • B Brij

                Please go throygh the Link Hope it will help you

                Cheers!! Brij Check My Latest Article

                R Offline
                R Offline
                raushan_9
                wrote on last edited by
                #7

                Same Message are throwing, actually i have called another dll in my Classlibrary class.

                S 1 Reply Last reply
                0
                • R raushan_9

                  Same Message are throwing, actually i have called another dll in my Classlibrary class.

                  S Offline
                  S Offline
                  Sabari MD
                  wrote on last edited by
                  #8

                  i think u change the custom levl settings of Internet .Change custom security settings of Local Intranet.

                  sabarimd

                  R 3 Replies Last reply
                  0
                  • S Sabari MD

                    i think u change the custom levl settings of Internet .Change custom security settings of Local Intranet.

                    sabarimd

                    R Offline
                    R Offline
                    raushan_9
                    wrote on last edited by
                    #9

                    i have change custom level.. but sme message throw.. please give me information which part will i have to change

                    1 Reply Last reply
                    0
                    • S Sabari MD

                      i think u change the custom levl settings of Internet .Change custom security settings of Local Intranet.

                      sabarimd

                      R Offline
                      R Offline
                      raushan_9
                      wrote on last edited by
                      #10

                      Thanks, but i have changed Local intranet custom level.. and again throw same message, Please suggest me what will i do...?

                      1 Reply Last reply
                      0
                      • S Sabari MD

                        i think u change the custom levl settings of Internet .Change custom security settings of Local Intranet.

                        sabarimd

                        R Offline
                        R Offline
                        raushan_9
                        wrote on last edited by
                        #11

                        Thanks, but i have changed Local intranet custom level.. and again throw same message, Please suggest me what will i do...?

                        S 1 Reply Last reply
                        0
                        • R raushan_9

                          Thanks, but i have changed Local intranet custom level.. and again throw same message, Please suggest me what will i do...?

                          S Offline
                          S Offline
                          Sabari MD
                          wrote on last edited by
                          #12

                          InertnetOptions -> Security -> LocalIntranet -> Customsettings -> Enable Initializeand script ActiveX controls ... Run ActiveX controls and ... By enabling these two will run activex controls on your page

                          sabarimd

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups