Greetings.
Is there an easy way for an app to find out at runtime, if it is a console app or a form app?
Any answer would be greatly appreciated.

Recommended Answers

All 2 Replies

This thread shows some options in VB.NET.

commented: Thanks for the tip. +15

Thanks!
Just what I was looking for!
Translation of some of the VB code to C#, will be a no-brainer I guess.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.