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

Call Dll

Scheduled Pinned Locked Moved ASP.NET
csharphtmltutorialquestion
21 Posts 6 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.
  • S Sabari MD

    You can call using javascript ..

    sabarimd

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

    Sabari MD wrote:

    You can call using javascript ..

    How ?

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

    1 Reply Last reply
    0
    • S Sabari MD

      You can call using javascript ..

      sabarimd

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

      functin(parameter1,paramaeter2) { var Dll; var Obj= new ActiveXobject("InstallDLL.Install"); Obj.ValidateUser(paramet1,paramet2,DLL); return Dll; }

      sabarimd

      R 1 Reply Last reply
      0
      • S Sabari MD

        functin(parameter1,paramaeter2) { var Dll; var Obj= new ActiveXobject("InstallDLL.Install"); Obj.ValidateUser(paramet1,paramet2,DLL); return Dll; }

        sabarimd

        R Offline
        R Offline
        raj231362
        wrote on last edited by
        #6

        u have given two parameter in function, what will pass in these parameter, actually i haven,t details knowledege about Javascript.. so please clear it...

        S 1 Reply Last reply
        0
        • R raj231362

          u have given two parameter in function, what will pass in these parameter, actually i haven,t details knowledege about Javascript.. so please clear it...

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

          userid and password

          sabarimd

          S 1 Reply Last reply
          0
          • S Sabari MD

            userid and password

            sabarimd

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

            checck this link or your solution DLL[Javascript][^]

            sabarimd

            R 1 Reply Last reply
            0
            • S Sabari MD

              checck this link or your solution DLL[Javascript][^]

              sabarimd

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

              thanks for reply, i have gone through url which is gven by you, but where i put my dll. actually i have only a Html page and this page i have taken a Button then i want to call dll on this submit button. dll is developed in .net. i have call the JS function on submit button then how to call Dll on Javascript function and where define the path of dll. by which the dll will call in JS function. Thanks

              S 1 Reply Last reply
              0
              • R raushan_9

                thanks for reply, i have gone through url which is gven by you, but where i put my dll. actually i have only a Html page and this page i have taken a Button then i want to call dll on this submit button. dll is developed in .net. i have call the JS function on submit button then how to call Dll on Javascript function and where define the path of dll. by which the dll will call in JS function. Thanks

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

                First specify ..are u using any code behind html..i s you can call dll server side on click event[ i can help u , if this) other wise solution is to run using javascript Active X controls. Serch Active X + Javascript + dll lot of solutions are there...

                sabarimd

                R 1 Reply Last reply
                0
                • S Sabari MD

                  First specify ..are u using any code behind html..i s you can call dll server side on click event[ i can help u , if this) other wise solution is to run using javascript Active X controls. Serch Active X + Javascript + dll lot of solutions are there...

                  sabarimd

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

                  thanks for reply, no, i am not using any code behind server side actullay i want to use only javascript Active X controls.

                  A 1 Reply Last reply
                  0
                  • R raushan_9

                    thanks for reply, no, i am not using any code behind server side actullay i want to use only javascript Active X controls.

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

                    raushan_9 wrote:

                    i want to use only javascript Active X controls

                    Then It will work only on IE. :-O

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

                    S 1 Reply Last reply
                    0
                    • A Abhijit Jana

                      raushan_9 wrote:

                      i want to use only javascript Active X controls

                      Then It will work only on IE. :-O

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

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

                      function CallDll() { var oShell = new ActiveXObject("WScript.Shell"); }

                      sabarimd

                      R 1 Reply Last reply
                      0
                      • S Sabari MD

                        function CallDll() { var oShell = new ActiveXObject("WScript.Shell"); }

                        sabarimd

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

                        thanks, how to define the path of dll.which is passed in ActiveXObject("abc.dll");. how to define path for dll.?

                        S 2 Replies Last reply
                        0
                        • R raushan_9

                          thanks, how to define the path of dll.which is passed in ActiveXObject("abc.dll");. how to define path for dll.?

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

                          this is an exapmle: sReg = 'HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows\\Device' //put your path here sName = "" sName = oShell.RegRead(sReg) // Execute using command

                          sabarimd

                          A 1 Reply Last reply
                          0
                          • S Sabari MD

                            this is an exapmle: sReg = 'HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows\\Device' //put your path here sName = "" sName = oShell.RegRead(sReg) // Execute using command

                            sabarimd

                            A Offline
                            A Offline
                            Abhishek Sur
                            wrote on last edited by
                            #16

                            But only IE can call ActiveX? What about other browsers :sigh:

                            Abhishek Sur My Latest Articles Working with Excel using MDAC
                            Basics on LINQ and Lambda Expressions
                            Create .NET Templates

                            S A 2 Replies Last reply
                            0
                            • A Abhishek Sur

                              But only IE can call ActiveX? What about other browsers :sigh:

                              Abhishek Sur My Latest Articles Working with Excel using MDAC
                              Basics on LINQ and Lambda Expressions
                              Create .NET Templates

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

                              sorry thats not my problem........... :laugh: :wtf: :wtf:

                              sabarimd

                              1 Reply Last reply
                              0
                              • A Abhishek Sur

                                But only IE can call ActiveX? What about other browsers :sigh:

                                Abhishek Sur My Latest Articles Working with Excel using MDAC
                                Basics on LINQ and Lambda Expressions
                                Create .NET Templates

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

                                Abhishek Sur wrote:

                                But only IE can call ActiveX? What about other browsers

                                I have asked the same question in my previous post of this thread. But I don't actually what they are looking for. :)

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

                                S 1 Reply Last reply
                                0
                                • A Abhijit Jana

                                  Abhishek Sur wrote:

                                  But only IE can call ActiveX? What about other browsers

                                  I have asked the same question in my previous post of this thread. But I don't actually what they are looking for. :)

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

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

                                  as the possibility of virus attack is more by enabling thses actice x controls .so that other than IE (to my Knowledge) is not keeping Actice X But you can make it active for example in Mozilla you type about:config in your browser url space... Try it :-\ :thumbsup:

                                  sabarimd

                                  1 Reply Last reply
                                  0
                                  • R raushan_9

                                    thanks, how to define the path of dll.which is passed in ActiveXObject("abc.dll");. how to define path for dll.?

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

                                    this is what am using try its working just check custom security checks before that Enable Initaializze acticex components Runand Enable ActivX components <div class="ForumSig">sabarimd</div></x-turndown>

                                    1 Reply Last reply
                                    0
                                    • R raushan_9

                                      Hello, i have made a dll in .net. and i want to call this dll on submit buttonm of Html Page .How to call DLL in Html page? Thanks & Regards Raushan Kumar

                                      S Offline
                                      S Offline
                                      Sandeep Akhare
                                      wrote on last edited by
                                      #21

                                      I am little bit afraid of your question :) i have one question for you .... 1. Are u developing a web Application ? 2. if yes do you want to run this dll at the client side ? if yes then i doubt if below answers can help you

                                      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

                                      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