472,119 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Converting VS6 C++ to .NET Solutions

Hi,
On MSDN I know there is a JScript example (Upgrading Visual C++ Projects to
Visual Studio .NET in Batch Mode) to upgrade VS6 C++ projects to .NET
solutions.

It converts the project files (*.dsp), but doesn't create the solution
(*.sln) file.

Is there an automated way to convert an existing VS6 C++ *.dsw to a .NET
*.sln?

That is essentially the equivalent of opening the VS6 C++ *.dsw file with
..NET and when prompted to convert the project & clicking 'Yes', the automated
method will do the equivalent.

We have several hundered programs that need to be converted.

Thanks. Jeff
Sep 30 '05 #1
3 2946
Hi Jeff,

Welcome to MSDN newsgroup.
As for the VS6 C++ project to VS.NET (2003?) project's convering question,
do you means that you need to use some script or bat file to
programmatically do the convert? Generally, when we interactively open a
VS6 project in VS.NET 2003 , the IDE will ask us to convert it, does what
you want to do means programmtically address this? If there're any thing
I misunderstand, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: Converting VS6 C++ to .NET Solutions
| thread-index: AcXF3k9gfkd+TcJeREG2rzA3S3Sx+g==
| X-WBNR-Posting-Host: 64.73.68.28
| From: "=?Utf-8?B?ai5hLiBoYXJyaW1hbg==?="
<je*******************@nospam.nospam>
| Subject: Converting VS6 C++ to .NET Solutions
| Date: Fri, 30 Sep 2005 09:45:05 -0700
| Lines: 18
| Message-ID: <C0**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.general:51053
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| Hi,
| On MSDN I know there is a JScript example (Upgrading Visual C++ Projects
to
| Visual Studio .NET in Batch Mode) to upgrade VS6 C++ projects to .NET
| solutions.
|
| It converts the project files (*.dsp), but doesn't create the solution
| (*.sln) file.
|
| Is there an automated way to convert an existing VS6 C++ *.dsw to a .NET
| *.sln?
|
| That is essentially the equivalent of opening the VS6 C++ *.dsw file with
| .NET and when prompted to convert the project & clicking 'Yes', the
automated
| method will do the equivalent.
|
| We have several hundered programs that need to be converted.
|
| Thanks. Jeff
|

Oct 3 '05 #2
Hi Steven,
Yes. We are looking for a script or batch method to do the equivalent of the
IDE's conversion, otherwise we are looking at having to manually open several
hundred projects in the .NET IDE and convert them.

This would be rather time consuming. There must be some way of doing this
"programmatically".

Thanks. Jeff

"Steven Cheng[MSFT]" wrote:
Hi Jeff,

Welcome to MSDN newsgroup.
As for the VS6 C++ project to VS.NET (2003?) project's convering question,
do you means that you need to use some script or bat file to
programmatically do the convert? Generally, when we interactively open a
VS6 project in VS.NET 2003 , the IDE will ask us to convert it, does what
you want to do means programmtically address this? If there're any thing
I misunderstand, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: Converting VS6 C++ to .NET Solutions
| thread-index: AcXF3k9gfkd+TcJeREG2rzA3S3Sx+g==
| X-WBNR-Posting-Host: 64.73.68.28
| From: "=?Utf-8?B?ai5hLiBoYXJyaW1hbg==?="
<je*******************@nospam.nospam>
| Subject: Converting VS6 C++ to .NET Solutions
| Date: Fri, 30 Sep 2005 09:45:05 -0700
| Lines: 18
| Message-ID: <C0**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.general:51053
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| Hi,
| On MSDN I know there is a JScript example (Upgrading Visual C++ Projects
to
| Visual Studio .NET in Batch Mode) to upgrade VS6 C++ projects to .NET
| solutions.
|
| It converts the project files (*.dsp), but doesn't create the solution
| (*.sln) file.
|
| Is there an automated way to convert an existing VS6 C++ *.dsw to a .NET
| *.sln?
|
| That is essentially the equivalent of opening the VS6 C++ *.dsw file with
| .NET and when prompted to convert the project & clicking 'Yes', the
automated
| method will do the equivalent.
|
| We have several hundered programs that need to be converted.
|
| Thanks. Jeff
|

Oct 3 '05 #3
Hi Jeff,

As far as I know, this requires VS.NET IDE automation to achieve this. I
think you have already read the following article

http://msdn.microsoft.com/library/de...us/vccore/html
/vclrfupgradingvisualcprojectstovisualstudionetinba tchmode.asp

In this case, I suggest you try to post in the following newsgroup. Threre
will be more professionals who can answer your question there.

microsoft.public.vsnet.ide

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Oct 4 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Howard Kaikow | last post: by
3 posts views Thread by j.a. harriman | last post: by
2 posts views Thread by carlo.gherarducci | last post: by
116 posts views Thread by Dilip | last post: by
7 posts views Thread by Cirene | last post: by

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.