Results 1 to 11 of 11

Thread: No More Runtime Files

  1. #1

    Thread Starter
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409

    Talking

    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?
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  2. #2
    Guest
    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.

  3. #3
    Guest
    how are you going to run that if you dont have Msvbvm60.dll ?



  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Compile it with QB.

  5. #5
    Guest
    C++ would be better

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  7. #7
    Guest
    how do you rip them apart?

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  9. #9
    Guest
    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?

  10. #10
    Guest
    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 .

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
  •  



Click Here to Expand Forum to Full Width