473,385 Members | 1,312 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,385 software developers and data experts.

Compile errors when upgrading to VS.NET 2003

According to the information on the Microsoft web site, code written in
VB.NET 2002 can simply be recompiled using VS.NET 2003. However, I have
found that code which compiles cleanly in VS.Net 2002 gets new compile
errors in VS 2003.

It appears that there are new scope rules in VB.NET 2003. I get "Name not
declared" errors on public functions in public modules. The errors are
fixed by wrapping the module in a name space and then adding an "imports"
for the name space in other modules that reference the public functions.

I've searched the MSDN KB, but could find no reference to language changes
between VB.Net 2002 and 2003. Does anyone have a list of language changes
or differences in compiler switches to would help someone wanting to upgrade
from VS.Net 2002 to VS.Net 2003?

Thanks,

Ray Wampler
Technical Director, 81x.com
Nov 20 '05 #1
1 1439
Can you post the repro code? In a simple app I wasn't able to repro what
you described.

--
Thanks,
Adam Braden, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "PresterJohn" <pr*********@comcast.net>
| Newsgroups: microsoft.public.dotnet.languages.vb
| References: <OQ**************@TK2MSFTNGP11.phx.gbl>
| Subject: Re: Compile errors when upgrading to VS.NET 2003
| Lines: 29
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <yKd4b.310899$YN5.213365@sccrnsc01>
| NNTP-Posting-Host: 12.228.154.243
| X-Complaints-To: ab***@comcast.net
| X-Trace: sccrnsc01 1062299678 12.228.154.243 (Sun, 31 Aug 2003 03:14:38
GMT)
| NNTP-Posting-Date: Sun, 31 Aug 2003 03:14:38 GMT
| Organization: Comcast Online
| Date: Sun, 31 Aug 2003 03:14:38 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.co
m!prodigy.com!in.100proofnews.com!in.100proofnews. com!cycny01.gnilink.net!cy
clone1.gnilink.net!wn14feed!wn13feed!wn11feed!worl dnet.att.net!204.127.198.2
03!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:132742
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| http://www.gotdotnet.com/team/change...1/default.aspx
|
|
| "Ray Wampler" <Ra*@nospam.com> wrote in message
| news:OQ**************@TK2MSFTNGP11.phx.gbl...
| > According to the information on the Microsoft web site, code written in
| > VB.NET 2002 can simply be recompiled using VS.NET 2003. However, I have
| > found that code which compiles cleanly in VS.Net 2002 gets new compile
| > errors in VS 2003.
| >
| > It appears that there are new scope rules in VB.NET 2003. I get "Name
not
| > declared" errors on public functions in public modules. The errors are
| > fixed by wrapping the module in a name space and then adding an
"imports"
| > for the name space in other modules that reference the public functions.
| >
| > I've searched the MSDN KB, but could find no reference to language
changes
| > between VB.Net 2002 and 2003. Does anyone have a list of language
changes
| > or differences in compiler switches to would help someone wanting to
| upgrade
| > from VS.Net 2002 to VS.Net 2003?
| >
| > Thanks,
| >
| > Ray Wampler
| > Technical Director, 81x.com
| >
| >
|
|
|

Nov 20 '05 #2

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

Similar topics

2
by: Stan | last post by:
Is it possible to use VS.NET 2002 to compile for .NET Framework 1.1? I know that VS.NET 2003 would do that and I can install VS.NET 2002 and 2003 but we don't have 2003 yet and there is more and...
6
by: David Jacobus | last post by:
Since upgrading to Windows 2003 Server from Windows 2000 Enterprise Server we have had alot of ASP problems. The problems are centered around asp pages which are one level or more below the main...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
1
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the...
3
by: arthur-e | last post by:
A new Machine was set up by our IS department - it came with Office Pro 2003. Access97, Word97 and Excel 97 were added. I'm trying to update an Access 97database to 2003 but get weird compiling...
10
by: Chris LaJoie | last post by:
Our company has been developing a program in C# for some time now, and we haven't had any problems with it, but just last night something cropped up that has me, and everyone else, stumped. I...
1
by: rvan | last post by:
Hi, I am trying to port one of my older MFC APP created in VC 6.0 to VC 7.0. Right away after starting the compile process, I get following errors and compilation stops. "d:\Microsoft .NET...
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
1
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.