|
-
May 7th, 2012, 12:27 PM
#1
Thread Starter
New Member
vb code to create a image file.
Hi all,,,,,,,,,
Plzzzzzzz help me with the vb code to create a image file say(.jpg/.gif/.bmp) files....
I have a code which would create text/word/excel files .....But I tried this code to create an image file....But I couldn't make it.....Though the file is created but i am unable to view it.....
Plz...............help me this out..........
              
The code is as follows...
Public Sub veeru()
Const FILENAME = "C:\Users\310314\Desktop\myfile.xls"
Dim My_filenumber As Integer
My_filenumber = FreeFile
Open FILENAME For Output As #My_filenumber
Write #My_filenumber, "Hello"
Close #My_filenumber
End Sub
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|