Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open/SaveAs/Close MSPaint form VB6?

Status
Not open for further replies.

SkennyR

Programmer
Mar 7, 2004
157
US
I have searched the forums but cant find a good answer to my question.
I would like to open .png files with VB6 but cant.
I can however open the png file with MSpaint, then re-save it as a .jpg file. Then I can open the .jpg image with VB6.
It would be real neat if I could automate this with VB6, have VB6 run MSPaint, open all the png files in a folder, save all the files as .jpg images, then view the jpg files with VB6.
This is a little (a lot) over my head.
Any suggestions?
Thanks..
 
>I would like to open .png files with VB6 but cant.


Well ... you can; you just can't open them using LoadPicture.

As a starting point might I suggest you do a quick keyword search in this forum for some of my GDI+ examples.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top