VB.NET Modules in VS2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. I've just converted a vb.net/asp.net project from VS2003 to VS2005.
Upon conversion I can no longer call Public Functions/Subs within a module.
The module is located in the same project, and looks like this:

Module Orders
Public Function abc(.....)
'
End Function
End Module

After conversion I can no longer call Function abc from the application.
Why is this and what must I do to call this function?

Thanks!
 
Mike said:
Hi. I've just converted a vb.net/asp.net project from VS2003 to VS2005.
Upon conversion I can no longer call Public Functions/Subs within a
module.
The module is located in the same project, and looks like this:

Module Orders
Public Function abc(.....)
'
End Function
End Module

After conversion I can no longer call Function abc from the application.
Why is this and what must I do to call this function?

Thanks!

It would help a lot if you could quote the exact error message you received
when you attempted to call this function procedure.

I just created a VS 2005 VB Windows app and added a module in which I placed
a public function procedure. I had no issues calling the FP from methods
and event procedures in the form class.
 
Mike said:
Hi. I've just converted a vb.net/asp.net project from VS2003 to VS2005.
Upon conversion I can no longer call Public Functions/Subs within a module.
The module is located in the same project, and looks like this:

Module Orders
Public Function abc(.....)
'
End Function
End Module

Have you tried changing it to:
Public Module Orders
Just in case?
 
Back
Top