File Icon and Start->Programs

Just starting out? Need help? Post your questions and find answers here.
reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

File Icon and Start->Programs

Post by reisve »

Hi all

I've been looking allover the forums and could not get a satisfactory answer for this:
  • How to put a shortcut for an aplication in the desktop
    How to put a shortcut for an application in the Start->Programs->Startup or create a new folder in the Start->Programs and put the shortcuts in there
    How to put an icon in the application window(s) (on the top left before the title of the window)
I know the setup Library has functions for some of these questions, but it is in germany...

Any one willing to help?

Thanks
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

3. PB-IDE -> Compiler Options

2. + 1. the Current User Path is an environment variable. (don't remember its name right now)
you can retrieve that path and perform standard file operations to it.
oh... and have a nice day.
reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

Post by reisve »

Thanks
3-I'm using jaPBe. Couldn't find anything
1+2 - I want the AllUsers. Can get the path (hardcoded, if I have to). But how do I create the .lnk file?
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

> hardcoded, if I have to

not very useful, since it means your program will not be portable to other national windows versions.

better search for the correct environment variable.


> how do I create the .lnk file?

I don't know how to create a .lnk on-the-fly,
there should be a way to let the API create it like the Link-Assistant does.
oh... and have a nice day.
harff182
Enthusiast
Enthusiast
Posts: 105
Joined: Thu Dec 08, 2005 4:58 pm
Location: Duesseldorf, Germany

Post by harff182 »

Kaeru Gaman wrote:better search for the correct environment variable.
ALLUSERSPROFILE :wink:
Sorry 4 my poor English, it's the only one I learned 40 years ago...
since 17.12.08: XPHome(SP3) + PB 4.30
reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

Post by reisve »

Thanks harff182
harff182
Enthusiast
Enthusiast
Posts: 105
Joined: Thu Dec 08, 2005 4:58 pm
Location: Duesseldorf, Germany

Post by harff182 »

reisve wrote: But how do I create the .lnk file?
If you use the search-function, you will find some threads about shortcuts (.lnk).
I've also seen some code, but that may be outdated.
I'm not at my PB-computer, so I can't do more ATM...

hth...
scholly
Sorry 4 my poor English, it's the only one I learned 40 years ago...
since 17.12.08: XPHome(SP3) + PB 4.30
reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

Post by reisve »

I've been looking allover the forums and could not get a satisfactory answer for this:
I searched the forums...

I found solutions in the code archive. Not what I was looking for but it will do
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Post Reply