Solved

Is ActiveX EXE standalone

Posted on 2000-05-10
2
385 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
[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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio search word table and return Cell index 8 83
MsgBox 4 75
Set WorkSheet  not Working 9 61
Assign a value in Excel V-Basic 3 36
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
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…

739 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