S
Shapper
Hello,
In the main root of my web site together with my aspx and aspx.vb files
I have the file global.vb.
This file has a class with all the functions which are used in many
aspx.vb files and it is like this:
Imports System
Namespace Global
Public Class Global
Public Shared Sub Function01()
...
End Sub
...
End Class
End Namespace
In my aspx.vb file I am using the function like this:
Global.function01()
It's not working. I know I am missing some declaration but the options I
tried are not working. I tried to place in my aspx.vb "Imports Global".
Thanks,
Miguel
In the main root of my web site together with my aspx and aspx.vb files
I have the file global.vb.
This file has a class with all the functions which are used in many
aspx.vb files and it is like this:
Imports System
Namespace Global
Public Class Global
Public Shared Sub Function01()
...
End Sub
...
End Class
End Namespace
In my aspx.vb file I am using the function like this:
Global.function01()
It's not working. I know I am missing some declaration but the options I
tried are not working. I tried to place in my aspx.vb "Imports Global".
Thanks,
Miguel