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