Click to See Complete Forum and Search --> : Adding an OCX statically to a project.


mrhicks
July 31st, 2001, 08:17 PM
Hello all,

Is there a way to statically link an OCX control to a VB application so I don't have a separate OCX file? Take for example, if I want include the RichTextBox control ( richtx32.ocx v6 SP4 ) to my project, but want to include the code into the finally application so it is a stand-a-lone product. Can this be done? I know you can do this with some of the DLL found in Visual C++, but not sure about VB6 or 5 for that matter.

Mark

Cimperiali
August 1st, 2001, 02:30 AM
I never tried this, but there is a software called fusion which should add all required component (rthe runtime dlls, your dlls and maybe also ocx) to your exe. The drawback will be the size of exe. You sure it is not better to have separate ocx files?

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood,
Bruno Paris and all the other wonderful people who made and make Codeguru
a great place.
Come back soon, you Gurus.

The Rater

mrhicks
August 1st, 2001, 11:57 AM
Mr. Rater,

Do you know who makes this software or a web site URL? I was looking around, but all I can find are references to Cold Fusion which I know isn't the Fusion you mentioned. Thanks for the help.

Mark

Cimperiali
August 2nd, 2001, 02:40 AM
I am not sure Fusion and Cold Fusion are not same thing. However, have a look here:
http://codeguru.com/cgi-bin/bbs/wt/showpost.pl?Board=vb&Number=16601&page=&view=&sb=

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright,Bruno Paris
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater

Cimperiali
August 2nd, 2001, 02:43 AM
Correct:
http://www.bit-arts.com/
And they seem not same thing
Have a nice day,
Cesare Imperiali

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright,Bruno Paris
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater