473,387 Members | 3,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB6 to VB.NET & Strong Naming

rob
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
Nov 18 '05 #1
1 1163
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.
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vijay Sarathi Reddy.G | last post by:
Actually CLR maintaings Strong type naming.What is strong type naming and how CLR maintains Strong type naming? Thanks...
1
by: Jimski | last post by:
Hi all, I am creating an assembly that will access a database to return record details. I need to deploy it to a 3rd Party and they will then be able to use the assembly in their code to...
6
by: Manuel Lopez | last post by:
Hello, I have a Web Project (UserControls.dll) with some user controls that is shared by many asp.net web applicattions. What we do is copy UserControls.dll to all the applications bin...
2
by: SStory | last post by:
How can I strong name my assembly if it references 3rd part non-strong named dlls? I just want my part strong named--I don't care about their part. Thanks, Shane
7
by: Bruce Wood | last post by:
I still haven't gotten through the .NET Framework Security tome on my desk. Maybe the folks here can answer a burning question. I want to use strong naming at our organization as a security...
0
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional...
2
by: Douglas J. Badin | last post by:
I am using VS 2005 to Publish my ASP.NET 2.0 Website with the following: - Not allowing this precompiled site to be updatable - Use fixed naming and single page assemblies - Not Enable strong...
2
by: Sky | last post by:
Hello: I'm trying to make sense of snk files, when to use, under what conditions to regenerate new ones,...can someone take a look if these statemes make sense? And then the final questions at the...
1
by: Tom | last post by:
My unsigned DLL works in my project that references it as long as I set Copy Local = true. Now I have signed the DLL with the sn.exe generated keys but have not yet moved the DLL into the GAC. ...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.