Solved

VB6/VB.Net

Posted on 2002-03-11
3
146 Views
Last Modified: 2010-05-02
This has probably been asked dozens of times already, but I just don't want to search.

The latest issue of VBPJ (Now called "Visual Studio Magazine") has an article about combining VB6 and VB.Net.  The article seems to indicate, though they don't say specifically, that you can run VB.Net and VB6 on the same machine at the same time.  Is this indeed possible?  I have a lot of code that I would like to migrate, but I need to retain the ability to maintain the code in VB6 until the migration is complete.

I know that standard answer is, "I wouldn't if I were you.", but I need a definite answer from someone who is currently running both platforms on the same machine (without dual boot, that is).
0
Comment
Question by:Clif
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 50 total points
ID: 6855664
yes that is possible (Windows NT or more recent operating systems -- VB.NET will not install under Windows 98 or rearlier)  

Migration of code from VB6 to VB.NET IS generally NOT (repeat NOT) going to work.  The fundamental syntax of VB.NET, while simiar to VB6, has enough differences of significance, that the Migration Wizard will more than likely Choke on you existing VB 6 code, regardless of what Microsoft says.

I have used BOTH VB6 and VB.NET (though with the Beta 2 version of .NET) on the SAME machine, under Windows NT 4.0, with absolutely no conflicts...but again, migration is NOT a viable path to take.

Arthur Wood
0
 
LVL 10

Author Comment

by:Clif
ID: 6855741
Thanks.  I will be running under XP Home (for now).

As far as migrating code, perhaps "migrating" isn't the correct word but will have to suffice.  I'm sure it will be like recoding C++ to VB, which I have done in the past.  Very tedious, but the result will be worth while.

I presume (almost) all the third-party controls will still work?  (Yeah, I know this is another question, so never mind :)  )
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6857200
If you are coming from C++, take a look at C# (one of the .NET languages).  You will find a GREAT DEAL of commnality between C++ and C#.

Arthur Wood
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now