How Do I Retrieve the Location of the Temp Folder for the Current User?
Published 20 years ago
When you're working with files, it is sometimes necessary to write to temporary files. Of course you could drop those files in the application's folder, but it's good practice to save those files in the user's Temp folder instead. This snippet will return the full path to the user's temp folder, e.g.
C:\Documents and Settings\Imar\Local Settings\Temp\, so you know where to save your temporary files.
For this code to work, you'll need to import the System.IO namespace.
Measuring the Size of an Image with VB.NET
Published 21 years ago
It can be useful to be able to retrieve the Height and Width of an image file you have on disk. The following snippet shows you how to do that:
Read on ...- «First
- ‹Previous
- 1
- ›Next
- »Last
Mobile: False
Crawler: True
I: False