Click here to Skip to main content
15,905,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsend email using CDO 1.2.1 Pin
mohammed zarqa20-Oct-08 1:09
mohammed zarqa20-Oct-08 1:09 
AnswerRe: send email using CDO 1.2.1 Pin
Thomas Stockwell20-Oct-08 2:10
professionalThomas Stockwell20-Oct-08 2:10 
GeneralRe: send email using CDO 1.2.1 [modified] Pin
mohammed zarqa20-Oct-08 3:29
mohammed zarqa20-Oct-08 3:29 
AnswerRe: send email using CDO 1.2.1 Pin
Wendelius21-Oct-08 8:03
mentorWendelius21-Oct-08 8:03 
QuestionApplication.LocalUserAppDataPath Pin
JR21220-Oct-08 0:52
JR21220-Oct-08 0:52 
AnswerRe: Application.LocalUserAppDataPath Pin
Jon_Boy20-Oct-08 3:26
Jon_Boy20-Oct-08 3:26 
GeneralRe: Application.LocalUserAppDataPath Pin
JR21220-Oct-08 3:39
JR21220-Oct-08 3:39 
GeneralRe: Application.LocalUserAppDataPath Pin
Dave Kreskowiak20-Oct-08 4:40
mveDave Kreskowiak20-Oct-08 4:40 
You can use Environment.GetFolderPath[^] to return the path to the Application Data folder. From there, you can create your own company and application subfolders and use that path as the root for your data. This is the same method Application.LocalUserAppDataPath uses as a base path to build the userdata\Company\Application\Version path that it returns to you.

Keep in mind that there are TWO app data paths. The one you're using returns the data path for non-roaming profile users. The Application.UserAppDataPath method returns the app data path for romaing profile users. Environment.GetFolderPath will also return those same paths, depending on which SpecialFolder enumeration value you use.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Application.LocalUserAppDataPath Pin
JR21221-Oct-08 3:23
JR21221-Oct-08 3:23 
GeneralRe: Application.LocalUserAppDataPath Pin
Jon_Boy20-Oct-08 4:42
Jon_Boy20-Oct-08 4:42 
QuestionLinking C source code to Visual Basic source code Pin
ajorge200819-Oct-08 22:18
ajorge200819-Oct-08 22:18 
AnswerRe: Linking C source code to Visual Basic source code Pin
N a v a n e e t h20-Oct-08 1:42
N a v a n e e t h20-Oct-08 1:42 
QuestionFormal trap with inherited class Pin
Sonhospa19-Oct-08 20:40
Sonhospa19-Oct-08 20:40 
QuestionAnd or combined statement in VB.NET? Pin
User 540919019-Oct-08 13:03
User 540919019-Oct-08 13:03 
AnswerRe: And or combined statement in VB.NET? Pin
Eslam Afifi19-Oct-08 13:52
Eslam Afifi19-Oct-08 13:52 
AnswerRe: And or combined statement in VB.NET? Pin
Anubhava Dimri19-Oct-08 23:28
Anubhava Dimri19-Oct-08 23:28 
AnswerRe: And or combined statement in VB.NET? Pin
Jon_Boy20-Oct-08 3:42
Jon_Boy20-Oct-08 3:42 
QuestionTextBox Scrollbar Pin
Crolus19-Oct-08 8:06
Crolus19-Oct-08 8:06 
AnswerRe: TextBox Scrollbar Pin
Thomas Stockwell20-Oct-08 2:15
professionalThomas Stockwell20-Oct-08 2:15 
QuestionPls help to find the problem Pin
afridy18-Oct-08 9:36
afridy18-Oct-08 9:36 
AnswerRe: Pls help to find the problem Pin
Mycroft Holmes18-Oct-08 17:31
professionalMycroft Holmes18-Oct-08 17:31 
AnswerRe: Pls help to find the problem Pin
EliottA19-Oct-08 5:04
EliottA19-Oct-08 5:04 
GeneralRe: Pls help to find the problem Pin
afridy19-Oct-08 5:16
afridy19-Oct-08 5:16 
GeneralRe: Pls help to find the problem Pin
EliottA19-Oct-08 5:20
EliottA19-Oct-08 5:20 
GeneralRe: Pls help to find the problem Pin
afridy19-Oct-08 5:35
afridy19-Oct-08 5:35 

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.