1. can someone help me ?
- Posted by Flaminio Ranzato <newpow at TIN.IT>
Jan 05, 2000
-
Last edited Jan 06, 2000
--X-X-X-X-X-X--NeoPlanet-MIME-Attachment--X-X-X-X-X-X-X2591771-X
Content-Transfer-Encoding:7bit
Download NeoPlanet at http://www.neoplanet.com
Content-Transfer-Encoding:7bit
<BR><BR>Download NeoPlanet at http://www.neoplanet.com
--X-X-X-X-X-X--NeoPlanet-MIME-Attachment--X-X-X-X-X-X-X2591771-X
2. Re: can someone help me ?
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