473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

VB.NET Modules in VS2005

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!
Oct 23 '06 #1
2 1094

"Mike" <Mi**@discussions.microsoft.comwrote in message
news:8D**********************************@microsof t.com...
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.
Oct 24 '06 #2
"Mike" wrote:
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?
Oct 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Nick Coghlan | last post by:
Python 2.4's -m command line switch only works for modules directly on sys.path. Trying to use it with modules inside packages will fail with a "Module not found" error. This PEP aims to fix that...
7
by: Lauren Quantrell | last post by:
At running the risk of asking how big is too big... Is there a rule of thumb or a best practice that says I may have too many modules? I currently have a Access2K app with about 30 code modules,...
5
by: GaryDean | last post by:
(my original post was inaccurate but this post accurately describes what I think is a very bad vs2005 bug) short description... Deleting a dataset and recreating it from the dataadapter causes...
7
by: Frank Rizzo | last post by:
Is it me or is the speed of VS2005 actually slower than VS2003? The startup is pretty bad - even though I changed VS to display an empty environment. When I create a new form and want to change...
4
by: Bill Nguyen | last post by:
I would like to include a module from another project. When I added existing item, VS copied the module to the current project's folder so that whatever I did to this module doesn't reflect in the...
15
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
2
by: pretoriano_2001 | last post by:
Hello: I have interesting external modules that I want to incorporate to python 2.4.3 and python 2.5b2 also. Some of them requires C/C++ compiler. I work with Win XP Sp2 and have installed VC2005...
173
by: Zytan | last post by:
I've read the docs on this, but one thing was left unclear. It seems as though a Module does not have to be fully qualified. Is this the case? I have source that apparently shows this. Are...
0
by: Duncan Smith | last post by:
It seems WinDbg isn't a fan of modules which have the /clr switch applied. If given a mixed MFC app where only one module has the /clr switch applied then all modules can have their sources loaded...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.