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

VS2003 - VS2005

I wrote a C# Windows app using VS2003 to read selected text files and write
the data to 3 tables in an Access database. After "upgrading" to VS2005, I
tried to add a feature and rebuild - what a can of worms.

At this point, the solution builds and runs, but if I open or restore
another window, program or application, the app will go to a "Not Responding"
status. Sometimes, it writes records, sometimes it doesn't. I'm really
not sure what the problem might be, as a lot of the events and methods have
changed.

Do I "downgrade" back to VS2003, try to work through the myriad of changes
in VS2005 or dig a deeper hole with VS2008? Any insight to the changes
between 2003 and 2005?
--
Harry E Vermillion
IT2
Division of Wildlife
State of Colorado
Jan 17 '08 #1
6 1871
Harry,

The version of visual studio you need depends on the .NET framework
functions you are using. As u created the basics in VS2003 u most likely
used .NET 1.1.

VS 2005 has support for .NET 2.0 and some support for 1.1 while VS2008
has support for 3.5/3.0/2.0 but without special plugins no support for v1.1.

U might want to check if the functions u've used in your program are
still in use in the current .NET package or replaced by others

Harry V wrote:
I wrote a C# Windows app using VS2003 to read selected text files and write
the data to 3 tables in an Access database. After "upgrading" to VS2005, I
tried to add a feature and rebuild - what a can of worms.

At this point, the solution builds and runs, but if I open or restore
another window, program or application, the app will go to a "Not Responding"
status. Sometimes, it writes records, sometimes it doesn't. I'm really
not sure what the problem might be, as a lot of the events and methods have
changed.

Do I "downgrade" back to VS2003, try to work through the myriad of changes
in VS2005 or dig a deeper hole with VS2008? Any insight to the changes
between 2003 and 2005?

Jan 17 '08 #2
On 17 Jan., 22:46, Edwin van Holland <edwinvanholl...@hotmail.com>
wrote:
Harry,

The version of visual studio you need depends on the .NET framework
functions you are using. As u created the basics in VS2003 u most likely
used .NET 1.1.

VS 2005 has support for .NET 2.0 and some support for 1.1 while VS2008
has support for 3.5/3.0/2.0 but without special plugins no support for v1.1.

U might want to check if the functions u've used in your program are
still in use in the current .NET package or replaced by others

Harry V wrote:
I wrote a C# Windows app using VS2003 to read selected text files and write
the data to 3 tables in an Access database. *After "upgrading" to VS2005, I
tried to add a feature and rebuild - what a can of worms. *
At this point, the solution builds and runs, but if I open or restore
another window, program or application, the app will go to a "Not Responding"
status. * *Sometimes, it writes records, sometimes it doesn't. *I'm really
not sure what the problem might be, as a lot of the events and methods have
changed. *
Do I "downgrade" back to VS2003, try to work through the myriad of changes
in VS2005 or dig a deeper hole with VS2008? *Any insight to the changes
between 2003 and 2005?- Zitierten Text ausblenden -

- Zitierten Text anzeigen -
The first time you open a 2003-project with VS 2005 it should be
automatically converted into the new format, after that it should work
fine (at least I have never had any trouble doing this).
Almost anything that worked in 1.1 should still work in 2.0, there are
some breaking changes, but they are so obscure that you are unlikely
to run into them.
My first guess would be that the changes you made broke the program,
since upgrading is pretty reliable.
Jan 18 '08 #3
We also upgraded (about a year ago) without (too) much trouble. It
indeed seems the new feature might be the problem; how was the app
performing when you had just upgraded?
Jan 18 '08 #4
Hi,

What kind of problems?

I have several projects upgraded from 1.1 to 2.0 and I have nver
encountered a single problem.

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Harry V" <Ha****@discussions.microsoft.comwrote in message
news:89**********************************@microsof t.com...
>I wrote a C# Windows app using VS2003 to read selected text files and write
the data to 3 tables in an Access database. After "upgrading" to VS2005,
I
tried to add a feature and rebuild - what a can of worms.

At this point, the solution builds and runs, but if I open or restore
another window, program or application, the app will go to a "Not
Responding"
status. Sometimes, it writes records, sometimes it doesn't. I'm really
not sure what the problem might be, as a lot of the events and methods
have
changed.

Do I "downgrade" back to VS2003, try to work through the myriad of changes
in VS2005 or dig a deeper hole with VS2008? Any insight to the changes
between 2003 and 2005?
--
Harry E Vermillion
IT2
Division of Wildlife
State of Colorado

Jan 18 '08 #5
Well, one thing that did change (that might impact you here) is
that .NET 2.0 has much tighter treatment of cross-thread violations at
the UI. Are you doing anything interesting with threads here?
Actually, in this case you probably *should* be - the "Not Responding"
message is typical if you have blocked the UI thread instead of using
a worker : but it should be done correctly.

In both cases there are some scrappy workarounds:
* If you are doing the work on the UI thread, sprinkle a few
Application.DoEvents() into your loop to let the UI paint itself
* If you are violating thread-affinity, you can turn off these checks
(globally) using Control.CheckForIllegalCrossThreadCalls = false;

The first is just a little messy; the second is more dangerous, but in
reality it places you back in 1.1-land in this respect. The better
approach (although I realise it isn't always possible to be
perfectionist) is to use something like BackgroundWorker, which will
a: work on a background thread, and b: automatically marshal progress
updates back to the UI thread for you.

Marc
Jan 18 '08 #6
..NET Framework 1.1 and VS2003, 2.0 and VS 2005, 3.0 and VS2008. Most likely
something to do with my problem.

But with the "not responding" issue aside, you would think that one could
count on a certain amount of very simple functionality and compatibility.
Wouldn't you expect something as simple as "this.close" would work from
version to version? Is proprietarianism THAT importatnt?

Oh well, 15 goin' on 20.
--
Harry E Vermillion
IT2
Division of Wildlife
State of Colorado

Mar 10 '08 #7

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

Similar topics

4
by: Jody Gelowitz | last post by:
Is this possible? I have compiled an assembly in VS2005 and am trying to add a reference to that assembly from my VS2003 project. The error that I am getting is: A reference to '{path to vs2005...
2
by: -DG- | last post by:
No reply on my previous query, so I'll post this again. I've done a bit more research in the interim. I'm trying to find an easy way to port code from the older VS2003 format to the format used...
3
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or...
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: Tammam | last post by:
Hello All, I had a solution composed of managed/unmanaged C++ , C# projects. It builds with no problem in VS2003 but after converting the solution to VS2005 i get many linking errors such as...
5
by: Tony | last post by:
Hi all, Here's the link to the issue we were seeing on our ASP.NET system when modifying, adding and deleting directories in framework 2.0....
4
by: Tony Girgenti | last post by:
Hello. I developed a VS.NET2003(VB), ASP.NET web application client program with ..NET Framework 1.1, ASP.NET 1.1, IIS 5.1 and WSE 2.0. I tried to migrate it to VS 2005 Pro(VB), Web...
3
by: Chris288 | last post by:
Hi, I have a problem where our app when compiled in VS2005 runs about 50% the speed it attains in VS2003. This is an unmanaged C++ app. I have tried most combinations of the optimization and...
0
by: fred64 | last post by:
Hello , I fought very hard and succeed to do a remote debug from a client with VS2003 on XP HOME to a Server with XP PRO. This is on a Workgroup : I created same user/pwd with admin rights...
5
by: =?Utf-8?B?SGFpcmxpcERvZzU4?= | last post by:
I have a component that was developed in VS2003 that I need to debug in a VS2005 application. Basic steps are: Build the component for Debug in VS2003. Set the following VS2003 project...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.