Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > VB6 to VB.NET & Strong Naming

Reply
Thread Tools

VB6 to VB.NET & Strong Naming

 
 
rob
Guest
Posts: n/a
 
      04-28-2004
Dear All,

We have a fairly big application that has to be converted from VB6 to
VB.NET. The goal is to convert one component after the other and do some
testing after each step. In a first approach one VB6 (ActiveX DLL) project
was converted to VB.NET utilizing the automatic conversion of VS.NET.
Besides the new dll other interop dlls have been created, i.e.
Interop.ASPTypeLibrary.dll, etc. While the actuall dll is strongly named all
the other generated interops are not strongly named and therefore cannot be
put in the GAC. It seems the only way to get it to work is by removing the
references and then adding them back in. This is extremly tedious as there
are many interops and MANY projects that have to be converted. Is there a
better way to do this?

Once that sub-project is converted to VB.NET the other components have to be
able to access it. In order to access a .NET assembly from a COM another
interface has to be created. I did use regasm but then did get stuck on what
to do further. Can anybody give me some general input on a good way to
convert a big VB6 app to a VB.NET app? Links and comments are highly
appreciated.

Rob


 
Reply With Quote
 
 
 
 
=?Utf-8?B?Qm9uag==?=
Guest
Posts: n/a
 
      04-28-2004
You can vastly reduce the amount that need to be converted by carefully selecting only the ones that are going to need to be modified for conversion. If there's a COM DLL that's written in VB6 and it isn't going to need to be changed, why convert it to VB6? There's no point, you don't gain anything. If you did your initial design of the VB6 project well, then there should be quite a lot of DLL-based functionality that falls into this category - if not, you haven't applied the principle of localization and encapsulation well enough when doing your VB6 work in the first place
If there's stuff that's not going to need changing but may need adding to, consider wrapping VB6 COM DLLs in new, .NET library DLLs.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: "Strong typing vs. strong testing" namekuseijin Python 229 10-29-2010 09:02 AM
Re: "Strong typing vs. strong testing" namekuseijin C Programming 214 10-17-2010 01:12 PM
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
Compilation fails when a windows form user control is assigned a strong name but it refers to an activex control which does not have strong name ashish_gokhale ASP .Net Web Controls 0 05-05-2005 01:38 PM
Re: Using a strong named vb6 DLL in ASP.NET Ron Baakkonen ASP .Net 0 11-06-2003 09:27 PM



Advertisments