Post: VB help
04-13-2013, 01:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); well i need VS to go to C:\Users\USERNAME\Documents to get a file what do i replace USERNAME with so it works for all?

thanks
(adsbygoogle = window.adsbygoogle || []).push({});
04-13-2013, 02:16 PM #2
Tyler
NumberBIGBABY Woot
Originally posted by liam911 View Post
well i need VS to go to C:\Users\USERNAME\Documents to get a file what do i replace USERNAME with so it works for all?

thanks


Why don't you manually make the user open the file with a open file dialog
04-13-2013, 03:37 PM #3
Sloth
Banned
Originally posted by liam911 View Post
well i need VS to go to C:\Users\USERNAME\Documents to get a file what do i replace USERNAME with so it works for all?

thanks

Here is the code now all you have to do is type MyDocs wherever you want the folder code to be

VB.Net
    Dim MyDocs As String = System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments)


C#
    string MyDocs = System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments);
04-13-2013, 03:50 PM #4
thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo