Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to save a file in temp folder and I don't know how to is there a function or anything that can let u save files in temp folder
Posted

1 solution

Try:
VB
Dim data As String = "Hello World!"
File.WriteAllText(Path.GetTempFileName(), data)
 
Share this answer
 
Comments
Maciej Los 1-Sep-15 14:26pm    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900