Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to start at Program which start Hidden on Windows startup but Visible other wise?

0
Posted

How to start at Program which start Hidden on Windows startup but Visible other wise?

0

A. ThatsAlok Quoted :- I Believe you starting you Application at windows startup using key stored in Registry location RUN. Now to distinguish wheather the User is Starting the Program by Clicking over it or Windows is Starting it at start up, you just provide a command line argument to that reg Location i.e. store application path as c:\\your_app_path\\app.exe -hidden Now When ever Windows start your application at startup offcourse, you will get -hidden as commandline argument, now you just have to parse the command line [use GetCommandLine() : to retrieve command line arguments]to hide or unhide your application.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.