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 a function in a VB.NET DLL from Java script [modified]

call a function in a VB.NET DLL from Java script [modified]

Scheduled Pinned Locked Moved ASP.NET
toolscsharpjavasysadmin
3 Posts 3 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.
  • V Offline
    V Offline
    Vanamaindia
    wrote on last edited by
    #1

    I'm Using like this in my .aspx page it gives error like this "Automation server can't create Object"" how can i resolve this error try { var objCom=new ActiveXObject("comMath.clsAdd"); alert(objCom.addition(3,4)); } catch(err) { document.write(err.description) }

    N D 2 Replies Last reply
    0
    • V Vanamaindia

      I'm Using like this in my .aspx page it gives error like this "Automation server can't create Object"" how can i resolve this error try { var objCom=new ActiveXObject("comMath.clsAdd"); alert(objCom.addition(3,4)); } catch(err) { document.write(err.description) }

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Vanamaindia wrote:

      Does anyOne Know how to call a function in a VB.NET DLL from Java script ??

      Use AJAX concepts and communicate with one ASPX page which calls VB.NET dll functions


      My Website | Ask smart questions

      1 Reply Last reply
      0
      • V Vanamaindia

        I'm Using like this in my .aspx page it gives error like this "Automation server can't create Object"" how can i resolve this error try { var objCom=new ActiveXObject("comMath.clsAdd"); alert(objCom.addition(3,4)); } catch(err) { document.write(err.description) }

        D Offline
        D Offline
        Deepesh Jain
        wrote on last edited by
        #3

        Hi Vanama, well You can call '<%=Getname.userid(68)%>' this type it will access the function which You want. Have Fun

        Deepesh jain.. (SoftWare Engineer) deepeshjain241718@yahoo.co.in

        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