?
Solved

Is ActiveX EXE standalone

Posted on 2000-05-10
2
Medium Priority
?
395 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 60 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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 …
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 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…
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

719 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