Thanks b32, your help is highly appreciated. I think in the decls it should be hwndOwner%, since you hand over an int in blitz. Anyway it didn't work. I then tested other values for the folder parameter (yours was $16, that returned nothing). I used it with a for loop from 0 to 31. The start menu shows up with the value $02 ("...start menu/programs") and $0B (only "...start menu").
Can you confess this?
Or does this mean the value depends on the OS version ? o_0
Thanks again, great work. I'm such a lousy win coder :(. Currently I'm trying to generate a lnk file, thought it's easy, but even the file format description sounds like kind of a quantum physics encyclopedia to me.
EDIT
Currently it seems to me it's easiest to use a vbs script as explained here:
http://www.ss64.com/nt/shortcut.html
Works nicely.
So my app will create this vbs file at runtime, using the clients startmenu path etc, then execute it, finally delete it again.
Can you confess this?
Or does this mean the value depends on the OS version ? o_0
Thanks again, great work. I'm such a lousy win coder :(. Currently I'm trying to generate a lnk file, thought it's easy, but even the file format description sounds like kind of a quantum physics encyclopedia to me.
EDIT
Currently it seems to me it's easiest to use a vbs script as explained here:
http://www.ss64.com/nt/shortcut.html
Works nicely.
So my app will create this vbs file at runtime, using the clients startmenu path etc, then execute it, finally delete it again.