Profile
Achievement
chavcho's Recent Snippets
- All /
« Prev 1 Next »
Serializes any <serializable/> object and writes it to the specified location on the disk.
Example:
Dim obj As DataTable
'save obj to disk
SerializeToFile(filepath, obj)
'to read it back, use DirectCast
Dim obj2 As DataTable = DirectCast(...
0
1002
posted 15 years ago by chavcho
Use this to extract an image embedded as a resource in your project. Call the function supplying the full path to the resource, for example:
Dim myImage as Bitmap = EmbeddedIcon("MyApplication1.myImage.png")
Where "MyApplication1" is the root n...
0
975
posted 15 years ago by chavcho