Solved

Compile project & components to make single exe file

Posted on 2002-06-19
8
160 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:MandyP1
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 2

Expert Comment

by:corvanderlinden
Comment Utility
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
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 40 total points
Comment Utility
You need a static linker to do this. see http://www.bit-arts.com/fusion.html
0
 
LVL 3

Expert Comment

by:PNJ
Comment Utility
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?)
0
 
LVL 3

Expert Comment

by:PNJ
Comment Utility
Having just read the comment from corvanderlinden.
- I've just learnt something now as well...sorry for the poor comment.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 2

Expert Comment

by:corvanderlinden
Comment Utility
You do not need another linker. I have done this many times (VB6)
0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
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.
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
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 **
0
 

Author Comment

by:MandyP1
Comment Utility
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 http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=visualbasic&qid=20314641. Thanks.

Mandy
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now