|
-
Sep 28th, 2006, 09:37 AM
#1
Thread Starter
Lively Member
If I add a custom control to my VB project do I need to ship it or is it compiled?
Does anybody know if I add a custom control to my VB project, do I have to ship a sepearte ocx or is it compiled into the exe? Thank you.
-
Sep 28th, 2006, 09:38 AM
#2
Hyperactive Member
Re: If I add a custom control to my VB project do I need to ship it or is it compiled
 Originally Posted by rami.haddad
Does anybody know if I add a custom control to my VB project, do I have to ship a sepearte ocx or is it compiled into the exe? Thank you.
Ship a separate OCX.
-
Sep 28th, 2006, 09:48 AM
#3
Thread Starter
Lively Member
Re: If I add a custom control to my VB project do I need to ship it or is it compiled
Ok thank you. That is too bad though, it would have been nice for it to be compiled into the exe.
-
Sep 28th, 2006, 09:48 AM
#4
Re: If I add a custom control to my VB project do I need to ship it or is it compiled?
 Originally Posted by rami.haddad
Does anybody know if I add a custom control to my VB project, do I have to ship a sepearte ocx or is it compiled into the exe? Thank you.
No it is not compiled in the EXE, if you use Package & Deployment Wizard the OCX and other files will automatically be added to your Setup.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Sep 28th, 2006, 09:55 AM
#5
Hyperactive Member
Re: If I add a custom control to my VB project do I need to ship it or is it compiled
 Originally Posted by rami.haddad
Ok thank you. That is too bad though, it would have been nice for it to be compiled into the exe.
The only way to make it happen would be to add the User Control source code to your project and compile it that way with the main application.
-
Sep 28th, 2006, 09:56 AM
#6
Fanatic Member
Re: If I add a custom control to my VB project do I need to ship it or is it compiled?
it is possible to compile it into your exe.
A program called FUSION is able to do it.
It adds dll's and exe's to one exe, and the new executable works just like the original would. its just a little bigger, but no installers needed, and no need to register controls.
-
Sep 28th, 2006, 10:05 AM
#7
Hyperactive Member
Re: If I add a custom control to my VB project do I need to ship it or is it compiled
 Originally Posted by robbedaya
it is possible to compile it into your exe.
A program called FUSION is able to do it.
It adds dll's and exe's to one exe, and the new executable works just like the original would. its just a little bigger, but no installers needed, and no need to register controls.
Got a link for this program because a) I've never heard of it & b) I would love to be able to deploy my program this way. 
I can't seem to google for it.
-
Sep 28th, 2006, 10:05 AM
#8
Re: If I add a custom control to my VB project do I need to ship it or is it compiled?
Moved.
As Shuja Ali says it is absolutley possible (in fact it's the norm) using the P&D Wizdard or some 3rd Party installation tool like Inno.
-
Sep 28th, 2006, 10:07 AM
#9
Re: If I add a custom control to my VB project do I need to ship it or is it compiled?
 Originally Posted by robbedaya
it is possible to compile it into your exe.
A program called FUSION is able to do it.
It adds dll's and exe's to one exe, and the new executable works just like the original would. its just a little bigger, but no installers needed, and no need to register controls.
With a normal installer you don't need to "register controls" and both the P&D Wizard and Inno are free.
-
Sep 28th, 2006, 10:51 AM
#10
Hyperactive Member
Re: If I add a custom control to my VB project do I need to ship it or is it compiled
 Originally Posted by MartinLiss
With a normal installer you don't need to "register controls" and both the P&D Wizard and Inno are free.
I know, I know, but I really dig Apple's approach of just having 1 EXE file. Add it/Remove it: It's your call--more Unix-like. Although I know it is a necessary evil, I do miss the days when you could just trash a folder to remove an app instead of the process of Installing/Removing apps.
I have 300GB now. Can I have the option of having a simple add/remove if I want to waste space on duplicate DLLs?
-
Sep 28th, 2006, 07:02 PM
#11
Re: If I add a custom control to my VB project do I need to ship it or is it compiled
Fusion doesn't exist like that anymore. WinXP has Fusion API in it already. This is what helps with dll Hell. No one wants a 300mb exe on their system to have to load and extract everytime it is run, it would also have to cleanup after itself. It is a total waste of load/end time for an application.
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
|