Jump to content
Xtreme .Net Talk

Recommended Posts

  • Administrators
Posted

1. Potentially none, this could be move to another location even for the OS' that use it by default.

 

2. You should always use Environment.GetSpecialFolder(...) to find this kind of thing e.g.

Dim s As String
s = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
'or
s = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

should get you the path you are after.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted (edited)

Pleaseee!

Help me! :(

That code works fine, but returns:

C:\Documents and Settings\User\Local Settings\Application Data

-

I wanna get:

C:\Documents and Settings\User\Application Data

-

So I changed:

CSIDL_LOCAL_APPDATA

to:

CSIDL_APPDATA

But I get error:

 

CSIDL_APPDATA : Variable not found!

 

Why this occurs?:(

Edited by ADO DOT NET

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...