Solved

Visual basic Compile

Posted on 1998-12-30
14
295 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
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 54
How to measure sizes and angles in scanned images ? 3 63
fso.FolderExists("\\server\HiddenFolder$") 4 65
Windows ICD FFU Issue 4 38
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

773 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