Solved

Is ActiveX EXE standalone

Posted on 2000-05-10
2
373 Views
Last Modified: 2008-03-04
I have created an ActiveX Exe.  How do I tell if someone has launched it standAlone or via creating an instance of it from another program.
0
Comment
Question by:iJolly4
2 Comments
 
LVL 2

Accepted Solution

by:
Davy070599 earned 15 total points
ID: 2797581
Write the following code in your startup procedure:

If App.StartMode = vbSModeAutomation Then
   ' Code to start invisibly
Else
   ' Code to show main form
End If
0
 

Author Comment

by:iJolly4
ID: 2799323
Excellent.....

New it would be a simple one.  

Thanks Iain
0

Featured Post

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.

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

744 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