create a file or folder on my desktop programmatically

  • Thread starter Thread starter Trups
  • Start date Start date
T

Trups

Hi,
I want to create a file or folder on my desktop programmatically in
VB. Right now I an getting %USERPROFILE% \Desktop. I see that file
in this location but it is not showing on my desktop. Looks like
Desktop is some special folder. How to get access to it
programmatically?

If this is not the correct group please suggest me correct group for
this question.
Thanks
TS
 
Hi,
I want to create a file or folder on my desktop programmatically in
VB. Right now I an getting %USERPROFILE% \Desktop. I see that file
in this location but it is not showing on my desktop. Looks like
Desktop is some special folder. How to get access to it
programmatically?

If this is not the correct group please suggest me correct group for
this question.
Thanks
TS

hmmm....

Dim desktopPath As String = Environment.GetFolderPath (Environment.SpecialFolder.DesktopDirectory)
 
Back
Top