473,694 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3106
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
programmaticall y 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+TcJ eREG2rzA3S3Sx+g ==
| X-WBNR-Posting-Host: 64.73.68.28
| From: "=?Utf-8?B?ai5hLiBoYXJ yaW1hbg==?="
<je************ *******@nospam. nospam>
| Subject: Converting VS6 C++ to .NET Solutions
| Date: Fri, 30 Sep 2005 09:45:05 -0700
| Lines: 18
| Message-ID: <C0************ *************** *******@microso ft.com>
| 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.publi c.dotnet.genera l
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGXA03.phx .gbl
| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:51053
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| 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
"programmatical ly".

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
programmaticall y 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+TcJ eREG2rzA3S3Sx+g ==
| X-WBNR-Posting-Host: 64.73.68.28
| From: "=?Utf-8?B?ai5hLiBoYXJ yaW1hbg==?="
<je************ *******@nospam. nospam>
| Subject: Converting VS6 C++ to .NET Solutions
| Date: Fri, 30 Sep 2005 09:45:05 -0700
| Lines: 18
| Message-ID: <C0************ *************** *******@microso ft.com>
| 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.publi c.dotnet.genera l
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGXA03.phx .gbl
| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:51053
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| 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
/vclrfupgradingv isualcprojectst ovisualstudione tinbatchmode.as p

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.publi c.vsnet.ide

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

Oct 4 '05 #4

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

Similar topics

0
1177
by: CRB | last post by:
We specialize in converting Filemaker solutions to web solutions using MySQL and ASP. We have found that using MySQL & ASP for web solutions, provides a 200% performance increase on average. Most conversions can be made rather quickly and inexpensively depending on the scope of your solution. Contact us at info@infotechsystemsgroup.com if you have any questions or to request a hassle free proposal.
5
2795
by: Howard Kaikow | last post by:
I'm converting some C# to VB .NET. In an example that uses Outlook, I find the following C# statement: Outlook.AppointmentItem appointment = (Outlook.AppointmentItem)outlook.CreateItem( Outlook.OlItemType.olAppointmentItem); I do not understand how to convert the (Outlook.AppointmentIem) portion of the statement.
3
421
by: j.a. harriman | last post by:
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?
1
1408
by: Dan Munk | last post by:
Hello, I have a large project exclusively made up of interfaces (several hundred) that define the business objects used in our system. Heavy inheritance and aggregation are used in the project. In Visual Studio 2003 the project takes ~30 seconds to build. In Visual Studio 2005 the project takes ~24 minutes. The project references one other assembly. I've tried to reference the dependency both as a dll and as a project.. Has anyone...
59
7501
by: Rico | last post by:
Hello, I have an application that I'm converting to Access 2003 and SQL Server 2005 Express. The application uses extensive use of DAO and the SEEK method on indexes. I'm having an issue when the recordset opens a table. When I write Set rst = db.OpenRecordset("MyTable",dbOpenTable, dbReadOnly) I get an error. I believe it's invalid operation or invalid parameter, I'm
2
3220
by: carlo.gherarducci | last post by:
Hi all, I'm a newbie in .net xml programming, so please be patient. And sorry for my uncorrect english, too. I'm going to explain my problem: I've built a web service which responds to ferries timetable requests. It receives an xml document with this format: <TimeTableRequest> <Routes> <Route> <Company></Company>
116
35866
by: Dilip | last post by:
Recently in our code, I ran into a situation where were stuffing a float inside a double. The precision was extended automatically because of that. To make a long story short, this caused problems elsewhere in another part of the system where that figure was used for some calculation and some eventual truncation led to the system going haywire. So my question is, given this code: int main() { float f = 59.89F;
7
1589
by: Cirene | last post by:
I am an asp.net developer and I respect all of your opinions in this newsgroup. Any opinions on how good Network Solutions is (support, hosting, speed, reliability, etc...)? Thanks!
0
1927
by: clinnebur | last post by:
We have an ASP.NET web application (C#) that copies videos from a CCTV truck to a Linux server. What I am trying to do is convert the .AVI videos(which is how they are created on the truck) to .WMV in my C# code using Windows Media Encoder. I have a virtual directory to the truck location of the videos. I also have a virtual directory created to the Linux box. The application resides on a Windows Server 2003 and I am using VS 2005, .NET...
0
8616
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8552
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9110
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8971
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8818
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7650
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4332
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2992
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.