VB.NET Modules in VS2005

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!
 
P

pvdg42

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.
 
G

Guest

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top