Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Visual basic Compile

how to compile an EXE file with different OCX's, and MSvbvm50.dll (vb runtime), inside the exe file itself
0
amird
Asked:
amird
  • 3
  • 3
  • 2
  • +3
1 Solution
 
a111a111a111Commented:
It is done automatically for you.
0
 
amirdAuthor Commented:
some computers do not "see" the same ocx and its impossible for them to use them
  i need to write a unicode for that matter, to increase the volume of the exe file , by compiling all kind of ocx
and other sysytem's activex

0
 
MirkwoodCommented:
a111a111a111 answer is not what you wanted to know.
What you want is not possible is VB. It is not possible to link/include DLL's or OCX in your executable.

The solution is the solution what everybody does. Create a setup application.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
a111a111a111Commented:
The compile is your collection of forms classes "OCXs" and so.
they will be distribute when you make install with the VB Wizard.

When you start your VB go to VB Application Wizard and follow the steps.

you also need to let the users to register the OCXs that are not been "seen" by there computer.

do so by regsvr32.exe or regocx32.exe.
if you need more help about it let me know.
0
 
jeffcameronCommented:
It is impossible to compile them into a single exe, that is one of the big complaints about VB.  Most of the technologies(ocx, dll automation servers, etc.) use COM which looks for a file through a unique id in the registry.  If they are all in one file then the file does not exist.  I assure you it cannot be done.  You can create a single exe setup program that explodes into many files.  Or you can use a language like Delphi that does not depend as heavily on external files.
0
 
sennaspyCommented:
Get the file.....
http://www.nocturnecom.com/developers/files/AppCompiler.exe

This is a great utility...
[]'s
Senna Spy

0
 
amirdAuthor Commented:
i've already found a solution for my question
0
 
sennaspyCommented:
Ok...
This question is a great question..
send your solution to me .. :-)

e-mail:  senna_spy@hotmail.com
thanks
0
 
amirdAuthor Commented:
i wish to delete this question
0
 
MirkwoodCommented:
You question was answered, so why delete it?
0
 
linda101698Commented:
Mirkwood,
Who answered the question and what is the answer?

Linda Gardner
Customer Service @ Experts Exchange
0
 
MirkwoodCommented:
Hi Linda,

jeffcameron gave the most complete and correct answer to this question. It might not be what amird wanted to hear or he didn't describe his problem well, but the answer was correct.
0
 
linda101698Commented:
jeffcameron,
According to Mirkwood, your answer is correct.  Please post an answer again so I can grade the question.

Linda
0
 
jeffcameronCommented:
It is impossible to compile them into a single exe, that is one of the big complaints about VB.  Most of the technologies(ocx, dll automation servers, etc.) use COM which looks for a file through a unique id in the registry.  If they are all in one file then the file does not exist.  I assure you it cannot be done.  You can create a single exe setup program that explodes into many files.  Or you can use a language like Delphi that does not depend as heavily on external files.  

0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

  • 3
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now