Results 1 to 11 of 11

Thread: If I add a custom control to my VB project do I need to ship it or is it compiled?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    113

    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.

  2. #2
    Hyperactive Member Fedhax's Avatar
    Join Date
    Aug 2006
    Posts
    293

    Re: If I add a custom control to my VB project do I need to ship it or is it compiled

    Quote 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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2004
    Posts
    113

    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.

  4. #4
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: If I add a custom control to my VB project do I need to ship it or is it compiled?

    Quote 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

  5. #5
    Hyperactive Member Fedhax's Avatar
    Join Date
    Aug 2006
    Posts
    293

    Re: If I add a custom control to my VB project do I need to ship it or is it compiled

    Quote 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.

  6. #6
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    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.

  7. #7
    Hyperactive Member Fedhax's Avatar
    Join Date
    Aug 2006
    Posts
    293

    Re: If I add a custom control to my VB project do I need to ship it or is it compiled

    Quote 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.

  8. #8
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    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.

  9. #9
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: If I add a custom control to my VB project do I need to ship it or is it compiled?

    Quote 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.

  10. #10
    Hyperactive Member Fedhax's Avatar
    Join Date
    Aug 2006
    Posts
    293

    Re: If I add a custom control to my VB project do I need to ship it or is it compiled

    Quote 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?

  11. #11
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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
  •  



Click Here to Expand Forum to Full Width