Write VB6 on Visual Studio 2008 without .NET support?

12,018

Solution 1

Visual Studio 2008 can't compile VB6 applications. You could use it as a text editor only (though it will offer you the VB.NET IntelliSense, not VB6). However, you need Visual Studio 6 to be able to build your application.

Solution 2

The VB6 IDE will coexist along side the Visual Studio 2008 quite happily.

The VB.NET LANGUAGE is related but not compatible with VB6. Conversion between VB6 and VB.NET is problematic. There are a lot of subtle and gross differences between the two making them effectively separate languages.

You need to keep both separate IDES and libraries installed on your computer in order to deal with both languages.

If you need for the two interoperate you can do this by creating COM libraries. Both languages can consume COM Libraries created in the other.

Share:
12,018
Taptronic
Author by

Taptronic

Software development from late 1970s to current: Atari 800 using Atari BASIC and Atari Assembler late 1970s IBM-PC 5150 Microsoft BASICA and Microsoft MASM early 1980s R:Base, D:Base mid 1980s - 1990s Lotus 1-2-3/macros early 1980s - late 1980s COBOL, IMS, CICS, DB/2, VSAM, IBM 3090 Mainframe late 80s - late 90s Microsoft Office development early 1990s - current Microsoft Excel early 1990s - current Microsoft Visual BASIC early 1990s - current SQL Server / DBA work early 1990s - current Access, Visual Foxpro early 1990s - current HTML, CSS, PHP, ASP, VBA etc late 1990s - current Data cleansing, ETL, analytics, import/export, reporting late 70s - current

Updated on June 05, 2022

Comments

  • Taptronic
    Taptronic about 2 years

    I have to continue to support VB6 applications. I've got both VB6 (Visual Studio 6) installed and Visual Studio 2008 as well. Can I read and write to VB6 projects while in Visual Studio 2008? Will it damage or destroy my VB6 application? It would be very cool if I could free up a lot of space and get rid of Visual Studio 6.

  • Taptronic
    Taptronic almost 16 years
    thanks. I was afraid of that. I'll have to keep it around a while. My clients arent paying for me to rewrite a working app, not right now at least.
  • Taptronic
    Taptronic almost 16 years
    Thank you. I was hoping that VS-2008 would be able to detect or I could tweak it such that I could throw a switch. Thanks for the info anyway!
  • MarkJ
    MarkJ over 14 years
    You can compile VB6 projects from the command line, so I suppose it's possible you could mangle a Visual Studio project to run the VB6 compiler when you click Build. I can't imagine it would be worth it though. stackoverflow.com/questions/478241/…