Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Packaging a Program
#1
Ok my last question for a while. I made a program with nothing added thats not built into VB6. What do I have to include with it so that people without VB6 can run the program. Also if anything needs registered or anything whats the bat file to do it?
Reply
#2
It depends on the computer, some people have the files needed and registered and others don't. It also depends on what files your specific game requires to run.

For a base MS4 you would most likely need to include these files in the client folder:

dx7vb.dll
MSWINSCK.OCX
RICHTX32.OCX

You can create a batch file in notepad which will register the files with this code:
Code:
@echo off
echo Registering game library files...
regsvr32 dx7vb.dll /s
regsvr32 MSWINSCK.OCX /s
regsvr32 RICHTX32.OCX /s
echo Done

Hope this helps.
Reply
#3
You put the /s after the file name.
Reply
#4
Oh >.<

Fixed.
Reply
#5
Its not a game at all. Just a contract calculator made in VB6. Is there anything I need to include with that?
Reply
#6
Depends on what you use in your program.
Reply
#7
I didnt add anything in at all... its pretty basic just calculations and labels and text boxes so on
Reply
#8
Try to get them to run it and if they get errors, then install the runtimes...

http://support.microsoft.com/kb/192461
Reply
#9
Is it possible to make an entire installer with a batch file? I tried making a batch that created a folder in the inside the Programs folder, and then tried moving a .png file to that folder, but I couldn't get the syntax right. Is there a way to make a desktop shortcut in a batch?
Reply
#10
Rian Wrote:Is it possible to make an entire installer with a batch file? I tried making a batch that created a folder in the inside the Programs folder, and then tried moving a .png file to that folder, but I couldn't get the syntax right. Is there a way to make a desktop shortcut in a batch?

http://www.msfn.org/board/lofiversion/i ... 46011.html

Maybe that thread can help you? I dunno. I didn't fully read through it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)