|
-
Aug 19th, 2000, 07:23 PM
#1
Thread Starter
Frenzied Member
There is a great Program that compiles a vb project and makes a standalone EXE file. It puts all dependecies into that file.It also copies the MSVBVx0.DLL into the system directory.It is called FUSION and you can download it from
http://www.bit-arts.com
But is it worth it.
The EXE is then about 1MB big and it takes up ore RAM and is more difficult to distribute the program.
What do yo think? - Is it worth it?
-
Aug 19th, 2000, 07:44 PM
#2
It's a nice program. I don't use it. But if you distribute a lot of programs and don't want to include the dlls. Here is a program that is like a self-extracter, it's kind of like it, acutally.
Active Self-Extract
Or you could try joining files together:
Code:
Public Function JoinFiles(Source1 As String, Source2 As String, _
Dest As String) As Boolean
On Error GoTo errorhandler
Dim Buffer() As Byte
Open Source1 For Binary Access Read As #1
Open Source2 For Binary Access Read As #2
Open Dest For Binary Access Write As #3
ReDim Buffer(1 To LOF(1))
Get #1, , Buffer
Put #3, , Buffer
ReDim Buffer(1 To LOF(2))
Get #2, , Buffer
Put #3, , Buffer
Close #1, #2, #3
JoinFiles = True
errorhandler:
Close #1
Close #2
Close #3
Exit Function
I never used that code, but it might work when including dlls in files.
-
Aug 19th, 2000, 07:52 PM
#3
how are you going to run that if you dont have Msvbvm60.dll ?
-
Aug 20th, 2000, 04:20 AM
#4
Fanatic Member
-
Aug 20th, 2000, 10:57 AM
#5
C++ would be better
-
Aug 20th, 2000, 11:15 AM
#6
Monday Morning Lunatic
To join files, just use:
Code:
c:\myfolder> copy /b file1+file2+file3 file
To append file1, file2, and file3 into file.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 20th, 2000, 11:24 AM
#7
how do you rip them apart?
-
Aug 20th, 2000, 11:28 AM
#8
Monday Morning Lunatic
You need a separate program for that, but I'm sure it can't be too hard to write one in VB.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 20th, 2000, 01:57 PM
#9
when you join the files together does it keep all of the EOF characters(3 for 3 files) or does it only have one because its one file now?
-
Aug 20th, 2000, 02:43 PM
#10
I believe you could use Compress.exe and Extract.exe to put all the files together into one file and then extract them out of that file. Just as Winzip does .
-
Aug 21st, 2000, 01:10 PM
#11
Monday Morning Lunatic
I think compress can only compress one file at a time.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|