Click here to Skip to main content
14,929,833 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
my point of view, that suppose i have two different files i.e. dotnet framework exe & Installer MSI.
First call dotnet framework exe file to run.
After install dotnet framework then i will call another file in form load event.
before to call last file, i want to sleep mode the first call.
how can i solve this type of problem???
Please send me to acurate vb6 coding as early as possible...
I waiting for you.......
Yuri Vital 24-Oct-11 8:56am
Not clear. You want to wait until the first exe finish ?

1 solution

VB6 has nothing to do with .NET. However, you can always start any application via Shell, see[^].

Let me tell you: chances are, you are going in wrong direction in principle. This is little good in running other applications from yours; and VB6 is dead, a curse of many software developers who got VB project as legacy. Why? All VB.NET and C# compilers come free of charge with .NET Framework (surprise?) and even Visual Studio Express is free of charge. You can also use Open Source SharpDevelop,[^],[^] — any of the above is much better than using VB6. You could use some VB6 only in desperate need to support some VB6 legacy, but when you're already dealing with .NET, all that comes to a complete absurd, just don't go this way.

Espen Harlinn 24-Oct-11 14:12pm
Good points - it's a pity it didn't die at version 1 :)
Sergey Alexandrovich Kryukov 24-Oct-11 14:13pm
Thank you, Espen.
Yes, it's a pity.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900