App.StartMode equivalent in C#?

L

lenzdata

I am in the process of porting a VB6 ActiveX exe to a C# exe. The
finished product will either be run directly from Windows or hosted by
other .NET applications. The application's behavior will differ
slightly based on it's start mode.

In VB6, the App.StartMode would indicate whether the application had
been started from Windows or was being hosted by another process. Is
there an equivalent to App.StartMode in C#? If not is there a work
around?

Tommy Lenz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top