tags:

views:

114

answers:

5

I have written a program in VB6. When I compile it and send it to my friend, he says it is not working. He (like me) has Windows Me.

Why my programs are not working there? Should he install something or what?

+4  A: 

Your friend will need the VB6 runtime files to run any VB6 programs. You can find them on Microsoft's site.

Clint Davis
+4  A: 

You should be able to generate an installer project. There are a number of dependencies for the VB6 runtime (http://www.microsoft.com/downloads/details.aspx?FamilyID=bf9a24f9-b5c5-48f4-8edd-cdf2d29a79d5)

Josh
+1  A: 

He should install Microsoft Visual Basic run-time files that all applications created with Visual Basic 6.0 need in order to run.

You can get it from Microsoft's Download Center.

M. Jahedbozorgan
Installing the runtime solved the issue. :) Thank you.
A: 

Not much information to go on, if you have more, that would be helpful. I'm just guessing, but, your friend's computer may not have the VB6 runtime installed. If he's willing, he should try installing it and see if that fixes the problem.

JP Alioto
+1  A: 

He probably needs the VB runtimes. But you should look into creating a proper msi installer package for you project. There is a free one from MS to use with VB6 called the Visual Studio Installer 1.1.

Will Rickards