|
-
Sep 8th, 2000, 01:25 PM
#1
Thread Starter
Hyperactive Member
Does anybody know how to register a .dll file IN VISUAL BASIC without using the P&D wizard? The reason for asking is that my Application is only 120K and the P&D Wizard swells it to over 1.7 MB.
Thanks in Advance!
-
Sep 8th, 2000, 01:31 PM
#2
Frenzied Member
Hmmm, you can register it...
...but still have to ship it
Which will still make your app a lot bigger than just the exe (even more than with the P&D Wizard because it compresses the files)
anyway, you can register it via VB like:
Code:
Shell "c:\windows\regsvr32.exe MYDLLFILE.DLL"
if you want to be sure of the exact directory get the windows dir via the api.
But I think you'll get dissapointed with the answer because it's not about registering, but about shipping it
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 8th, 2000, 02:48 PM
#3
Fanatic Member
A program called "Fusion" generates only one stand-alone .EXE from any VB project.
Visit http://www.bit-arts.com
-
Sep 8th, 2000, 02:53 PM
#4
Frenzied Member
I heard Fusion is kinda buggy and sometimes doesn't include all depencies and the main executable will be still quite big
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 8th, 2000, 02:58 PM
#5
Thread Starter
Hyperactive Member
Also, fusion costs lotsa money!!!
-
Sep 8th, 2000, 03:04 PM
#6
Fanatic Member
I don't know about bugs, I recently downloaded their latest evaluation version and all my converted VB projects ran well.
-
Sep 8th, 2000, 03:07 PM
#7
Frenzied Member
But how big are the exe's created by Fusion. It's near the size of a D&P wizard created zip file I think, so it's of no use
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 8th, 2000, 03:32 PM
#8
Fanatic Member
Example:
831 KB fusion version and 1732 KB original version (VB6 dll included in fusion version)
Of coarse, the .EXE size is a little bit bigger: from 348 KB to 832 KB...
-
Sep 8th, 2000, 06:28 PM
#9
Frenzied Member
Not that bad at all I have to admit, maybe I'll download a copy myself!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 8th, 2000, 06:48 PM
#10
So Unbanned
Originally posted by CyberSurfer
Also, fusion costs lotsa money!!!
You pay for programs?
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA, ETC.
=D funny!
-
Sep 8th, 2000, 06:52 PM
#11
Frenzied Member
You pay for programs?
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA, ETC.
=D funny!
If you sold progs, would you me to pay for your (made with an illegal copy of VB) prog?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Sep 8th, 2000, 06:56 PM
#12
So Unbanned
No one smart(IQ above 100) would buy a VB prog. NO ONE! unless they're stupid, IQ below 100.
-
Sep 8th, 2000, 07:45 PM
#13
Hyperactive Member
hmm anyway, problem about not using a setup prog is that you cant write your file copying/registering util in VB cos it needs the VB runtimes..well p&d basically copies vbruntime and some other dlls and then runs the main setup.exe (written in VB, cos u can edit the project as shown on wbworld). but the first bit that copies the runtimes is written in C/C++ cos no runtimes are needed (assuming no MFC). So...if u know a little C++ just write a simple automatic installer, and your prog can be quite small.
actually, just realized all the above is irrelevant cos the VB runtime DLL is the thing taking up the space neway 
oh well
me =mule
buzzwords are the language of fools
-
Sep 11th, 2000, 01:48 PM
#14
Fanatic Member
"Edwin", a professional PCB layout app, is written in VB. I surely can't make this on my own! Nevertheless, the price is (very) huge but compared with what you get...
-
Sep 18th, 2000, 01:11 PM
#15
Fusion does not include running dependencies like OLEAUT32.DLL
[Edited by Jorgen on 09-19-2000 at 03:54 AM]
-
Sep 18th, 2000, 10:57 PM
#16
DIGITAL-ERROR!!!
You use a stolen prog?
Now, I use a LEGAL COPY, LICENSED BY MICROSOFT, AND FREE COPY OF THE ENTIRE VS6, Professional, and that means my IQ is above 249!
Correct?
-
Sep 18th, 2000, 11:16 PM
#17
New Member
You realize that the bigger your program is, the cooler? After it's installed, it's no big deal because the instalation program is not gonna copy it's entire self over, just the necessary not already existing files. If I was to send my programs out on a floppy disk, that would look pitiful, so I send my programs on CD because it's much cooler CD's are a more impressive package.
On the other hand, if ou plan to have people download this file, you would want the smallest one possible so I can see why you want to do what you are trying to do.
Also, I resent the fact that you said VB programs suck (okay, so that wasn't ure exact wording). I've made plenty of very usefull VB programs, and many people that know other languages prefer it for quick, trivial tasks.
-
Sep 19th, 2000, 02:51 AM
#18
Conquistador
i think if you are going to sell your program, you might as well buy the bitarts program.
-
Sep 19th, 2000, 04:23 AM
#19
Thread Starter
Hyperactive Member
I don't want to sell my program, I just want to make the download as small as possible. Does anybody know how much .dll files are compressed by WinZip?
BTW I own a PAID FOR AND LICENSED copy of Visual Studio v6.0!! This seems to be a strange thing nowadays!
-
Sep 19th, 2000, 04:40 AM
#20
New Member
VB P&D is a steaming pile of man biscuits. Use the Windows installer version 1.1. Available on the Windows 2000 readiness kit or download it from Microsoft.
This treats deployments as a project allowing you to control the content of the deployment. It allows you to determine what gets deployed and to where. Registry entries, desktop updates, quick launch bar updates are all available in the Windows installer.
I don't think your going to have any luck getting any size program to deploy on one floppy.
-
Sep 19th, 2000, 05:44 AM
#21
Thread Starter
Hyperactive Member
But how much does Winzip compress .dll files? The app will be downloadable from my website, not distributed on floppy disks. I just want to decrease the P&D'd size of 1.7Mb to nearer the 120 Kb of the actual code.
-
Sep 19th, 2000, 05:39 PM
#22
New Member
Why don't you try it and find out???
It has never compressed DLLs or non-VB programs much for me.
You do realize that the only reason that your program is
120 bytes is because it relies on those huge DLLs to work (you may have already known this, not to insult your intelligence or anything).
Having the DLLs in a separate zip file may be a good idea because people might not need them, so they wouldn't have to download them if they didn't.
-
Sep 19th, 2000, 07:18 PM
#23
Hmmm...
The DLLs are big, but you can eliminate the entire use of the stupid OLE32 and OLEAUT32 TLBs by disabling OLE Automation (Did you know you could?), but that also disables OLE, so if it's worth it, you might...
-
Sep 20th, 2000, 10:39 PM
#24
New Member
Interesting, I'd never tried that before... duhhhh, oops, guess I shoulda :)
-
Sep 21st, 2000, 11:07 PM
#25
Actually, there are a lot of the Seven Origional DLLs that are not needed, experiment with them, BUT REMEMBER that without MSVBVM60, you can't run anything.
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
|