Re: can someone help me ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 5 Jan 2000 19:02:28 +0100, Flaminio Ranzato <newpow at TIN.IT> wrote:

>> How to know if started from start menu.

Flaminio:

   In start menu edit properties of short-cut menu to pass a parameter

   when it starts your program. Example c:\startup\myprogram.exe startmenu

   When your program is started use the command_line function to check

   command line arguments and see if the command line has the word

   "startmenu" in the command_menu. If you don't find the word then

   the program was not started by from the start menu.

   If you do not want the user to have to edit the short-cut; then you can

   just make a batch file contaning c:\startup\myprogram.exe startmenu

   in it. Then the user can just copy the batch file into the startup

   directory.

   I hope this helps you.
   Have a happy new year !

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu