Calling a static method from a VB Module in ASP.Net

Discussion in 'ASP .Net' started by brianbender77@hotmail.com, Apr 17, 2005.

  1. Guest

    I have a standard ASP.net page in which I am attempting to call a
    static method in a VB module under ASP.Net. In the Code Behind I have
    no problem referncing it. Why can't I call it inside of <% %> tags on
    the HTML page? It does not recognize the function name even if I
    refernce it with Modulename.method. What is the work around if I do not
    want a Code behind page for this page?
     
    , Apr 17, 2005
    #1
    1. Advertising

  2. Brock Allen Guest

    It should work. I suspect that you're not using the correct namespace. Use
    ildasm.exe to to open the DLL to find out what the full namespace is.

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > I have a standard ASP.net page in which I am attempting to call a
    > static method in a VB module under ASP.Net. In the Code Behind I have
    > no problem referncing it. Why can't I call it inside of <% %> tags on
    > the HTML page? It does not recognize the function name even if I
    > refernce it with Modulename.method. What is the work around if I do
    > not want a Code behind page for this page?
    >
     
    Brock Allen, Apr 18, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?Thomas_Gagn=E9?=

    Why do static and non-static method names collide?

    =?ISO-8859-1?Q?Thomas_Gagn=E9?=, Jul 2, 2003, in forum: Java
    Replies:
    12
    Views:
    5,698
    cgbusch
    Jul 5, 2003
  2. Gary
    Replies:
    1
    Views:
    4,019
    Ryan Stewart
    Jan 16, 2004
  3. Michael
    Replies:
    3
    Views:
    4,958
    Adam Jenkins
    Jan 27, 2004
  4. Replies:
    2
    Views:
    486
  5. Shekhar
    Replies:
    0
    Views:
    193
    Shekhar
    Jul 16, 2004
Loading...

Share This Page