Avatar of Whah
Whah
 asked on

Converting .NET to VB6

Hello,

I'm under a huge deadline, and I'm having a heck of a time getting my .NET code to run on users' boxes (issues with DLL's, Assembly security, et cetera).

Is it possible to migrate all my .NET code into VB6 (I know that VB6 will run without issue on these machines).

I guess this is a 2-parter:

If it isn't possible to convert my code to VB6 - is it possible to create an installation package (with all the necessary DLL's) for my project?

Thanks much,

Whah.
Visual Basic.NET

Avatar of undefined
Last Comment
--laser--

8/22/2022 - Mon
toddhd

Packaging is built into VS.NET - simply create a new project, and select "Setup and Deployment Projects" as the type of project. This will create an installer for you. It should include all the dll's and stuff for you. There are of course, third party packagers too.
SOLUTION
toddhd

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
toddhd

Here is a little tutorial on how to distribute .NET apps as well
http://www.developer.com/net/net/article.php/3352511
toddhd

Oh, and trying to turn a .NET app into a VB6 app? Ewwww..... not likely, especially under a looking deadline :)
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Whah

ASKER
Okay, I've gone through the Setup process.

I created a New "Setup Project", and added my existing "Proj1" project to it.

I followed the tutorial you showed me to create my "Setup1.msi" file.

I ran the "Setup1.msi" file on the target system; everything seemed to have copied over just fine, and the installation directory was created.

However - when I look in the installation directory; my "Proj1.exe" is not contained therein. In fact - nothing is in the installation directory.

Any ideas?

Thanks,

Whah.
ASKER CERTIFIED SOLUTION
--laser--

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.