Monday 6 August 2012

Convert WMF Files Into BMP Files in Visual Basic



Create a new project, add a form, then put a picture box and a command button into it. Add block of code into command button click event.
Private Sub Command1_Click()
' Load meta picture file
Picture1.Picture = LoadPicture("C:\test.wmf")
' Save meta picture to bitmap file
SavePicture Picture1.Image, "C:\test.bmp"
End Sub

No comments :

Post a Comment

Total Pageviews

Extension Factory Builder