|
PowerBASIC Forums
![]() PowerBASIC for Windows
![]() Quick Launch
|
| next newest topic | next oldest topic |
| Author | Topic: Quick Launch |
|
Pierre Bellisle Member |
"Quick Launch" folder detection...
[This message has been edited by Pierre Bellisle (edited October 22, 2004).] IP: Logged |
|
Walter Schütz Member |
The above information makes you believe, that the name of the users directory would always be identical to 'UserName'. This is not always correct: if you reinstall a user under WinXP (maybe W2K as well) without cleaning out all stuff, the path might be something like "Quick Launch"="C:\\Documents and Settings\\"UserName"."Domain"\\Application Data\\Microsoft\\Internet Explorer\\Quick Launch The code sample itself is correct and will result in the correct path to the Quick Launch Folder.
[This message has been edited by Walter Schütz (edited June 30, 2006).] IP: Logged |
|
Fred Buffington Member |
There could be something else to consider. The 'windows' folder may not always be called "windows" especially in win95 and/or win98. In win95 at one time, i had eventually, after reinstalling windows That makes the api calls more important and I do realize the ------------------ [This message has been edited by Fred Buffington (edited June 30, 2006).] IP: Logged |
|
Pierre Bellisle Member |
Fred, yes, the text portion after above code is only there to show difference between OS... Code will use valid folder found via SHGetSpecialFolderLocation(%CSIDL_APPDATA) and SHGetPathFromIDList, so no need to be worry about non conventionnal folder names. Pierre [This message has been edited by Pierre Bellisle (edited June 30, 2006).] IP: Logged |
All times are EasternTime (US) | next newest topic | next oldest topic |
![]() |
|
Copyright © 1999-2007 PowerBASIC, Inc. All Rights Reserved.