Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: transform vt100 string to ordinary human readable string Pin
PIEBALDconsult30-Oct-09 6:05
mvePIEBALDconsult30-Oct-09 6:05 
Questionhow can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
deftsoft30-Oct-09 0:40
deftsoft30-Oct-09 0:40 
AnswerRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
Covean30-Oct-09 0:50
Covean30-Oct-09 0:50 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
deftsoft30-Oct-09 0:58
deftsoft30-Oct-09 0:58 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
Covean30-Oct-09 1:06
Covean30-Oct-09 1:06 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? [modified] Pin
deftsoft30-Oct-09 1:08
deftsoft30-Oct-09 1:08 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
Covean30-Oct-09 1:47
Covean30-Oct-09 1:47 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
deftsoft30-Oct-09 2:19
deftsoft30-Oct-09 2:19 
OK, here I explain.

The thing is like this when I install my application in XP, it works fine. but When I try to install it in Vista, it shows me "c:\users\currentuser\appdata\roaming\microsoft\windows\start menu\programs\" this path including my application folder containing my application short cut link and says didn't find the file.

I am using "string startMenuDir = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);" for retrieving start menu folder.

and "string DesktopDir = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);" for desktop folder.

as I said it works in XP but in Vista it gives error with the path specified above with file name not found.

I hope its clear now....
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
dan!sh 30-Oct-09 2:28
professional dan!sh 30-Oct-09 2:28 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
deftsoft30-Oct-09 2:42
deftsoft30-Oct-09 2:42 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
Covean30-Oct-09 2:33
Covean30-Oct-09 2:33 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
deftsoft30-Oct-09 2:43
deftsoft30-Oct-09 2:43 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
Covean30-Oct-09 3:10
Covean30-Oct-09 3:10 
GeneralRe: how can I retrieve the start menu folder and desktop folder in windows vista using c#? Pin
Dave Kreskowiak30-Oct-09 3:58
mveDave Kreskowiak30-Oct-09 3:58 
QuestionHow to change the button color on its click and then restore it when you click on other button? Pin
Swapnil 200929-Oct-09 23:16
Swapnil 200929-Oct-09 23:16 
AnswerRe: How to change the button color on its click and then restore it when you click on other button? Pin
SeMartens29-Oct-09 23:42
SeMartens29-Oct-09 23:42 
GeneralRe: How to change the button color on its click and then restore it when you click on other button? Pin
Swapnil 200929-Oct-09 23:57
Swapnil 200929-Oct-09 23:57 
AnswerRe: How to change the button color on its click and then restore it when you click on other button? Pin
freakyit30-Oct-09 0:16
freakyit30-Oct-09 0:16 
QuestionDesktop Switching "Secure Mode" Pin
Naruki29-Oct-09 22:58
Naruki29-Oct-09 22:58 
AnswerRe: Desktop Switching "Secure Mode" Pin
Eddy Vluggen30-Oct-09 0:37
professionalEddy Vluggen30-Oct-09 0:37 
GeneralRe: Desktop Switching "Secure Mode" Pin
Naruki30-Oct-09 3:12
Naruki30-Oct-09 3:12 
GeneralRe: Desktop Switching "Secure Mode" Pin
Naruki8-Nov-09 22:21
Naruki8-Nov-09 22:21 
QuestionVisual Studio 2008 Pro edition Pin
VS newbie 29-Oct-09 21:12
VS newbie 29-Oct-09 21:12 
AnswerRe: Visual Studio 2008 Pro edition Pin
SeMartens29-Oct-09 23:37
SeMartens29-Oct-09 23:37 
Questionco-relating C#, GPS and NXT Pin
melvin199029-Oct-09 20:15
melvin199029-Oct-09 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.