JohnnyG_69, on Jun 7 2007, 08:58, said:
Hey there Paul,
I confirmed the problem is that Mobile Office is installed in the \Windows\ directory on WM6, however the installer that's being used for WM5 puts it in \Program Files\Office6\.
One solution is to change the installer being used for WM5 to put Mobile Office in the \Windows\ directory. I've tested this, and NewDoc will work then.
The other solution (which I'd prefer) is to leave Mobile Office where it installs on WM5, and change NewDoc to point there for launching Word and Excel.
I would be more than happy to modify NewDoc to work with the WM5 install if you'd be willing to share your source code with me.
The reason it's now working on a WM5 device is the way the DoNew app is launching the apps, the code looks like this:
So in other words, the Office Mobile executables must be in the \Windows folder to work, this is probably because WM6 has the Office Mobile apps installed in the ROM, so on a WM5 device it'll consume precious system RAM versus the preferred method of running off the Storage Card.
I have been trying to find a way in Windows Mobile to set the Environment %PATH% variable like you can in regular Windows. If you could figure out a way to get the \Storage Card\Program Files\Office6 into the system path variable then theoretically the launcher should work.