Home > Ask the Microsoft .Net Development Experts > Visual Studio .NET Questions & Answers > Registering a VB6 component for the .NET platform
Ask The Win Development Expert: Questions & Answers
EMAIL THIS

Registering a VB6 component for the .NET platform

Berni McCoy EXPERT RESPONSE FROM: Berni McCoy

Pose a Question
Other Win Development Categories
Meet all Win Development Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 30 June 2004
How do I register a VB6 component on a .NET Windows 2003 platform so I can use the VB6 com in a VB app on a .NET platform? I have been reading and usually people are saying you can run a VB 6 environment and 2003 side by side. Then why are my VB 6 Com not functionaing and how can I register them in .NET?

>
I am hearing two distinct issues here: the first is interoperability between VB6 and .NET (via COM). The second issue is the side-by-side (SxS) support of the development environments. It is true that you can run VB 6 and VS.NET 2003 SxS (though I do believe you need to install them in that order; see the release notes for VS.NET 2003 for more information). On interoperability, there is a good article on this by Rockford Lhotka in Visual Studio Magazine (see: http://www.fawcette.com/vsm/2002_04/magazine/features/rlhotka/default.aspx). You'll simply deploy your VB6 COM object on the .NET platform as you would any other platform. If you are still running into problems, you may be suffering from the following bug:http://support.microsoft.com/default.aspx?scid=kb;en-us;318597.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Visual Studio .NET
Load a DSL domain model instance file programmatically
Best approach for merging text files using arrays
Descriptions of symbols in the class view of a .NET solution
What's the best approach for enumerating network resources?
How to enable a line-by-line code walkthrough
Changing a C++ Makefile project to a Utility project
How can I configure Visual Studio.NET 2002 to use the .NET Framework 1.1?
Changing a datagrid column to read-only=false based on variable
Resizing controls on a form
No extensibility folders

Visual Studio .NET
Load a DSL domain model instance file programmatically
Calling via command prompt from ASP.NET
On line-by-line analysis in VS .NET
Best approach for merging text files using arrays
Descriptions of symbols in the class view of a .NET solution
What's the best approach for enumerating network resources?
How to enable a line-by-line code walkthrough
Changing a C++ Makefile project to a Utility project
How can I configure Visual Studio.NET 2002 to use the .NET Framework 1.1?
Changing a datagrid column to read-only=false based on variable

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Windows Development - White Papers, News and Expert Advice
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts