Solved

Visual basic Compile

Posted on 1998-12-30
14
303 Views
Last Modified: 2013-11-25
how to compile an EXE file with different OCX's, and MSvbvm50.dll (vb runtime), inside the exe file itself
0
Comment
Question by:amird
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +3
14 Comments
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1453226
It is done automatically for you.
0
 

Author Comment

by:amird
ID: 1453227
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
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1453228
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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 3

Expert Comment

by:a111a111a111
ID: 1453229
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
 
LVL 1

Expert Comment

by:jeffcameron
ID: 1453230
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
 
LVL 3

Expert Comment

by:sennaspy
ID: 1453231
Get the file.....
http://www.nocturnecom.com/developers/files/AppCompiler.exe

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

0
 

Author Comment

by:amird
ID: 1453232
i've already found a solution for my question
0
 
LVL 3

Expert Comment

by:sennaspy
ID: 1453233
Ok...
This question is a great question..
send your solution to me .. :-)

e-mail:  senna_spy@hotmail.com
thanks
0
 

Author Comment

by:amird
ID: 1453234
i wish to delete this question
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1453235
You question was answered, so why delete it?
0
 
LVL 7

Expert Comment

by:linda101698
ID: 1453236
Mirkwood,
Who answered the question and what is the answer?

Linda Gardner
Customer Service @ Experts Exchange
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1453237
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
 
LVL 7

Expert Comment

by:linda101698
ID: 1453238
jeffcameron,
According to Mirkwood, your answer is correct.  Please post an answer again so I can grade the question.

Linda
0
 
LVL 1

Accepted Solution

by:
jeffcameron earned 50 total points
ID: 1453239
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month5 days, 17 hours left to enroll

626 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