22#ctlpnl cplmain.cpl,6,1 - Windows Mobile Development and Hacking General

I tried to create a shortcut (.lnk) for accessing backlight-settings on my MDA-II, but it doesnt work.
Anyone an idea?

Related

Deletin icons on the programs list

hi,
I am having problem deleting an icon from the promgrams section of o2 XDA2.
I downloaded one program and later deleted the program through romeove program. The actual program has been deleted but has left behind an icon on the programs list. I cannot figure out a way how to delete it. Can anyone help
Manoj
Deleting items in program list
Look in "\Windows\Start Menu\Programs" - they are all there.
use explore or what ever file browsing tool that you use to get your kicks
go into the dir called windows
go into the dir called start menu
go into the dir called programs or something like that
it's just like on a pc
Use File Explorer. Go to \Windows then \Start Menu. Open \Programs and do whatever you want.

Shortcut into Startup

Does anybody know what's wrong with this, in order to create a shortcut in Startup:
Code:
TCHAR szDir[MAX_PATH];
SHGetSpecialFolderPath(NULL, szDir, CSIDL_STARTUP , FALSE);
lstrcat(szDir, TEXT("\\myApp.lnk"));
SHCreateShortcut(szDir, TEXT("\\myApp.exe"));
It does create a Shortcut in Startup, but for a file, not for an exe. If one inserts a shortcut into Startup manually, all is fine. With the code above, there is even a different icon.
Any ideas?
And: how can one delete that link again programmatically?

Shortcut to a file on Start Menu

Hi,
I've been looking a the Menus applet in Settings to select what I want on the Start Menu, but I cannot seem to work out a way to have a shortcut to a file displayed there, namely a shortcut to a .reg file
Actually, I have a folder on the SD card called RegFiles containing my .reg files and I would perfer to have this folder listed up there with "Programs" and "settings" on the start menu.
I tried creating a shortcut of the folder from the SD card to the Programs folder but no luck.
Any suggestions?
Regards
Michael

start menu to hold more than 7 shortcuts???

is there a way to set that through registery or something?
i'm trying to do it but no luck yet, i could use some help here.
thanks in advance.
cheers
You can copy the shortcut to the following path
\Windows\Start Menu\
then It will showup in the start list
i already tried that, but it's limited to the 7 shortcuts, it dosn't show it on the menu.

shortcut for remove programs

How to make a shortcut for remove programs ? any one can help ?
furiardy said:
How to make a shortcut for remove programs ? any one can help ?
Click to expand...
Click to collapse
Euuhmmm can that also be files... cause I'm looking for a solution to delete/remove files after startup
remove programs cpl
furiardy said:
How to make a shortcut for remove programs ? any one can help ?
Click to expand...
Click to collapse
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
more infos see this thread
petervbeck said:
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
more infos see this thread
Click to expand...
Click to collapse
I've done it.
A long time ago.
Use TrayLaunch to embed it to Today tray as pic.
I see Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
but how?can i use resco explorer ?
furiardy said:
I see Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
but how?can i use resco explorer ?
Click to expand...
Click to collapse
You can use Total Commander to copy any .lnk file to a temporary folder, edit the name of the link to "anythingyoulike.lnk"
After that, you can use a file editor (Total commander has one) to edit the content of the .lnk to show 21#ctlpnl cplmain.cpl,10 and save.
Move the link to the place you want it to show: tray, drop down menu or using a software to show application on Today screen.
All the best.
1. copy the string between the dotted lines (not including the lines) to your notepad
2. save it as Remove Programs.lnk
3. move the link to your ppc-- windows\Start Menu\Program Files
--------------------------------
ctlpnl cplmain.cpl,10?shellres.dll,-13943
--------------------------------
Note:
1. by doing this, you'll have a shortcut with the native icon for Remove Programs
2. try "shortcut creator" if you prefer some other icons
Thanks Guys.
Thank you wovens and iiiox, it was a combination of you both that helped me. 21#ctlpnl cplmain.cpl,10?shellres.dll,-13943 is the string that worked for me. I'm happy now, although I got a basic icon and not the custom one I thought I was gonna have. Check out the pics of the 2 icons below. I must have the 'remove programs' icon next to 'file manager'. It's like addition and subtraction. I never could find the original ink file using Activesync. I just ended up editing another ink with total commander. Is there anyway to change the icon?
The part ?shellres.dll,-13943 tells it the icon to use. Most likely the one you show is actually a png image that is used by the new start menu system for icons.
You can use other programs icons as in ?\windows\myprogram.exe,23 would use the icon numbered 23 in you program called myprogram.exe
I have heard of people creating their own dll files to contain icons they want.
RoryB said:
The part ?shellres.dll,-13943 tells it the icon to use. Most likely the one you show is actually a png image that is used by the new start menu system for icons.
You can use other programs icons as in ?\windows\myprogram.exe,23 would use the icon numbered 23 in you program called myprogram.exe
I have heard of people creating their own dll files to contain icons they want.
Click to expand...
Click to collapse
I'm using Energy rom so I figured it was part of it's customization. I'm not sure I understand the example you have given, but I have tried unsuccessfully to locate the wanted icon. Also, I'm clueless about creating dll. Thanks anyway RoryB. Maybe if I stare at it long enough, it will start to make sense to me.
didn't work for me plz help

Categories

Resources