Quantcast
Viewing all articles
Browse latest Browse all 27229

GetFile from My Games? (Is My Games a Special Folder?)

I'm trying to get a file from my computer and send it to my email. The file is located in "C:\Users\HDThree\My Documents\My Games\Crystal Armageddon\users.txt". I have searched for about 3-4 hours now trying to find information on how to properly format the file path to allow VB to read it. I have tried +C(34) , double "s, triple "s, @before path, and all types of variants in between.

Dim MsgAtt As New Attachment("""%UserProfile%\\My Documents\\My Games\\My Games\\Crystal Armageddon\\users.txt""")

^this is my current code as it sits FUBAR'd and unsuccessful. I'm pretty sure as soon as I get the format done, this program is done too, which I'll be glad for.

Many thanks in advance for anyone who is able to help! :)

Viewing all articles
Browse latest Browse all 27229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>