|03 Sep 2009||#1|
| || |
Unable to change default program access settings
I'm desperately trying to change the sidebar gadget to open websites by default with Mozilla Firefox (in particular, the "Ask LEO" gadget).
Firefox is my default browser. If I double-click on a .url file saved on my system, it correctly opens Firefox, and so does clicking a link in MS Outlook. Again, Firefox is default, but that's not my problem.
Somewhere I found the advice to change the "Set program access and computer defaults" settings. So I tried, but every time I change something there, it doesn't keep the setting. I click on Custom => Default Web Browser => Mozilla Firefox, click OK, get some flashing on desktop, but next time I get there it's set back to "Use current browser" again.
Anyone got the same problem? I'm using the 7100 (x86) build, but a friend of mine tried the same on the final build (x64) and he got the same problem. It's reverting all the time. Re-installed Firefox, restarted, changed/tried/reset everything I can imagine.
Edit2: With a dirty hack I solved the problem. Edited the gadget and replaced "window.open" by "System.Shell.execute". Still - I'd like to know why a) I can't change the default programs setting and b) why window.open ignores my default browser configuration.
|My System Specs|
|02 Apr 2010||#3|
| || |
Issue with Windows 7 32/64 bit and Windows 2008 R2 environments
I am facing issue when I am trying of open OSK.EXE (On-Screen Keyboard) through ShellExecute() in both Windows 7 32/64 bit and Windows 2008 R2 environments. OSK is not getting popped up after executing the command.
My source code’s statement follows:
Statement1: ShellExecute ( pWnd, "open", "C:\\WINDOWS\\system32\\osk.exe", NULL, NULL, SW_SHOWNORMAL);
(1) If I execute following statement2 by putting OSK.EXE in C:\, then On – Screen Keyboard is getting popped up.
Statement2: ShellExecute ( pWnd, "open", "C:\\osk.exe", NULL, NULL, SW_SHOWNORMAL);
(2) Statement1 is successfully executed on XP, W2K Server and Vista with expected behavior.
(3) If I try to get the last error through GetLastError() after executing the Statement 1, “Operation has been performed successfully” is translated from the return value of the GetLastError().
(4) On my Windows 7 machine, UAC is disable.
(5) I am running ShellExecute() function by logging through the login ID having added to administrator group.
Please guide me for executing the Statement1.
Thanks in advance.
|My System Specs|
|Similar help and support threads for2: Unable to change default program access settings|
|How do I change cmd to default settings?||Network & Sharing|
|Unable to set Word 2010 as default program||Microsoft Office|
|change default dvd-program||Music, Pictures & Video|
|Unable to change BIOS settings||General Discussion|
|Unable to change Default Program for Video Files||Music, Pictures & Video|
|Unable to change Power settings||Performance & Maintenance|
|Unable to save Default Gateways in Network Settings!||Network & Sharing|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 05:45 PM.