Create a new program - General Questions and Answers

Ok, I realize that this can probably all be figured out via a search, but I don't even know where to start.
I want to create a new "program", something that will show up in the "programs" folder when you are trying to set up a shortcut in HTC today.
All I want this program to do is delete a file then launch a different program. Any one care to start steering me in the right direction?

Related

Error message with shortcuts re: .lnks files

I am looking for some help with "shortcuts" or ".lnk" files
I am using a HTC Tilt 8925 with WM6, but I think this may be a more universal issue.
I went into Windows > StartMenu and added several new folders, and then moved the .lnks formed from program installations into those folders.
For instance, folder "Refererence" now hold Dictionary, Lexipedia, Thesaurus, etc.
All was OK for a while, but then I started to get error messages about 2 application .lnks that I had moved into a subfolder. The funny thing is, the links actually work! It's just that randomly, I get a WM6 message that there is a problem with " Programs > XXX > AAA "
Does anyone know how to make a "new" link, to replace these old links? I tried uninstalling and reinstalling the program and then moving those 2 .lnks, again, to the subfolder where I want it to be, but it happened again!
Thanks for any and all ideas!
PS: I have SK Tools installed; I thought there was a shortcut tool, but I cannot find it
Go into Program Files then whatever application you want the shorcut for. Copy the exe file then navigate to wherever you want the shortcut and paste shortcut. Rename the shorcut to whatever you want and the link is done!
Having said that if your shortcuts work sometimes but not others I cant see how it is a problem with the actual shortcut. You may need help here from someone more experienced than me.

Where WM loads programs?

I know the \Windows\StartUp folder. Where is the entry in registry?
I'm trying to remove a program (in ROM) from auto starting.
Thanks and happy new year!
Update: well I still don't know the answer but I figured out a simple way to get rid of anything I want to. I create an empty file, say, quickgps.exe and use it to replace the one in the ROM. First thing first, I make a copy from the ROM just in case I need to run it manually.

can CECabManager do this?

With the 6.5 rom's coming out, I'm finding that I have to re-arrange my start menu everytime I flash. I'm aware of re-start, but it's a bit, primitive, for what I want to do. I'm wondering if CECabManager can create a cab that will simply MOVE files from one directory to another, even if that means creating a directory to place some files in. Basically, a fast and easy way to clean up my start menu the way I like it. Any help is appreciated.
A common cab can not do this, in my knowledge if you want a cab do this, that cab must contain a setup.dll, which can execute some commands before/after the install/uninstall. And seems it is not easy to make a setup.dll except you can use c++ computer language.
Otherwise a cab can only: Copy files, create/overrwrite registry and create shortcut.
As fa as I know, XDA_UC can do this. Check here:
[UC]XDA_UC V1.0.02, Automated & Silent User & Cook, Configuration Service[12/07/09]
Please do correct me if anything wrong.
I actually use a cab to install my start menu, but I cook my own roms. I think it's going to be harder to do if you're flashing different roms-you won't know beforehand all the shortcuts that you need. You could probably write a mortscript that deleted everything in the start menu, and then install what you want with a cab, but I have a feeling that you'll miss a bunch of apps that are cooked in, and maybe include dead shortcuts.
Sashimi is another good way to insert a new start menu directory.
hmm. guess I'll stick with what I know for now. Thanks guys.

Honeycomb tiles. Drag & Drop. Reorganizing.

Hey guys sorry if this has been covered before I did a couple of search in the Topaz and this forum but didn't turn up anything similar.
Basically, What I am looking for is a program of sorts that will allow me to arrange the icon how I wish them to be. For instance when I install games or new programs S2P for example; It just creates a new icon on the main page. I would like to place it in the "Multimedia" folder rather then sitting in the open.
Again sorry if their is a thread if you could direct then delete this that would be awesome or if any tips available. I like to keep all my stuff tagged and categorized and it kinda kills me about to see the pane all messy and filled with junk XD
Sorry I though I would point out I am using Dutty's R6 ROM.
You might try Showaco's reSTART, if you're running 6.5. Or, you can always browse to /Windows/Start Menu/Programs with any file explorer and manually copy the shortcut into whatever folder you want it to be in (or create a new folder).

games into games folder

hi there i've installed some games onto my HD2 (uno, FM, tonyhawks) and want to locate them in the games folder not in the main windows area. can anyone help me do this?
open file explorer. browse to windows/startmenu/programs.....look for ur games shortcuts......cut..... nd paste in windows/startmenu/programs/games. done
You're not done at all.
OK, it will move the shortcut to the correct folder, but the icon won't follow. It's defined in the registry ([HKLM\Security\Shell\Startinfo\Start] then the folder name, then the shortcut name, string value "Icon").
People making CABs should be a bit less lousy and direct shortcuts to the correct folder, same for the acompanying icon.
Actually, some people put icon definitions into several registry keys, so they will "follow" the shortcut if you move it. It's actually a satisfying alternative, if you consider it gives the user the ability to put the shortcut wherever he wants (including copying it to several locations) without losing the icon.
But yes, having shortcuts piling up into the Start Menu's first level, or even worse, placing them into dummy folders with a fixed name (sometimes in a foreign language), is pig work, and I saw even worse (yes, it's possible !) : shortcuts landing to a foreign language "Programs" or even "Start menu" folder, so actually not even displaying in the Start Menu !
When you create (or modify) a CAB file, you should heavily use aliases in order to let Windows Mobile translate them to the actual names during installation.
For instance, if you wanted to direct a shortcut to the "Games" folder, whatever its actual name in your own language is, you should NOT put it into "\Windows\StartMenu\Programs\Games" (neither into "%StartMenu_Programs%\Games", though it's still better like that), but you should actually use "%StartMenu_Programs_Games%", which will put the shortcut in the exact correct location.
You can do the same for the program's location itself. For instance, %ProgramFiles_Games% will direct it to the correct folder, according to your system's language, and will even do so, either you choose to install it on the internal memory, or on the SD card.
You can use these aliases inside registry values, too.
Unfortunately, this process may sometimes do it "too much".
It's the case on cooked ROMs, where the author may retain WWE names for some folders and translate others, sometimes using his own syntax. Since the CAB will always translate using the official way, it may still land in an incorrect location...
The ony way to be sure you'll obtain the wanted result, anyway, is to get some CAB editor program and peek inside before copying them to the pocket PC and installing them... And maybe, fix them before using them.
It will be handy each time you'll need to reinstal it, so don't mind inspecting and fixing the CABs you find : it's always better than crashing your system because something wrong or inadequate to your setup was put inside.
One classic case is TouchFlo / Sense tabs, for instance.
Unfortunately, they're all defined inside a unique XML Manila file, so you actually can't just ADD a tab : in fact, this notion does not even exist ; all you can do is overwrite your whole tabs list with another complete one, and pray that you'll end up with the same list, plus the new one... Would you bet your life on that ? I won't.
In real life, you really can NEVER trust a CAB intended to add a tab to your existing setup, as the author most probably don't have the same tabs as you have. In the best case, you'll just loose some tabs (they'll just disappear, even in the tabs list from the settings, and you won't get them back) : the programs and files are still there, but their definition file will have been replaced by the new one. And in the worst case, it will add a definition for a tab whose programs and files are not previously installed on your phone - and you'll crash it once and for all.
That's the reason why now, I never give a tab CAB containing any tabs definitions. I only provide all but the tabs list, and provide separate CABs for all the possible tabs combinations - and you have to choose and use the good one. Or use Maltwater's SenseUtil program to setup your tabs. The good news is my method will setup all the tabs in perfect order as soon as you've soft resetted the device, since my CABs contain the XML file, plus all the registry keys, plus it resets ManiFull.xml.
So, people, whatever I said about good CABs putting the shortcuts where they should... OK, you may be lucky... But the right behaviour should always be to look inside CABs before trying them. You can trust me !
i'm new coming nice to know all
russeini said:
open file explorer. browse to windows/startmenu/programs.....look for ur games shortcuts......cut..... nd paste in windows/startmenu/programs/games. done
Click to expand...
Click to collapse
It's been a while since I had the need to move icons, so there may be newer versions of this program, but the JWMDIconChanger will move the icons for you.

Categories

Resources