create a file or folder on my desktop programmatically

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
 
T

Tom Shelton

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top