Link to home
Start Free TrialLog in
Avatar of MandyP1
MandyP1

asked on

Compile project & components to make single exe file

Hopefully someone will be able to help me with the following.

I have created a project which contains a number of ActiveX controls etc. When I have finished my project I want to be able to compile the project and all these files into a single file so that the user cannot access them by any means, is this possible?

Thanx in advance

Mandy
Avatar of corvanderlinden
corvanderlinden

Yes, in your project use Add usercontrol and add the myControl.ctl file to the project. Your user control now is compiled into the executable
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The short answer I believe is "NO". Isn't this the point of ActiveX controls that you can share them amongst other programs?

(But I am intrigued as to why you should want to do this - If he can't access them "by any means", how do you intend to make the program run?)
Having just read the comment from corvanderlinden.
- I've just learnt something now as well...sorry for the poor comment.
You do not need another linker. I have done this many times (VB6)
corvanderlinden comment is good if and only if you have the source code of all your components. Otherwise, my comment is the only way to go.
MandyP1

I reduced the points to 40 and refunded the rest. You can accept now emoreau's comment as an answer and post a separate 31p question for corvanderlinden with a title like "Points for corvanderlinden" and a body :"For your help with <URL>"

** Mindphaser - Community Support Moderator **
Avatar of MandyP1

ASKER

Thanks for your help on this, I have split the points as follows: -


40 points to emoreau, as you have pointed me in the direction of a product that will work even with my older control that I no longer have the code for. Thanks.

31 points to corvanderlinden, as his advice proves invaluable for my newer controls. These can be collected by going to https://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=visualbasic&qid=20314641. Thanks.

Mandy