Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VB6/VB.Net

Posted on 2002-03-11
3
Medium Priority
?
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

604 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