by The jackal! (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 19th March 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PNG viewer DLL costs $25-$400.
API Declarations
'Create a form with 2 command buttons and an OLE control.
'OLE: Insert Object: Create from file - select p3.png and open.
'compile to exe and have fun!!!
Private Sub Command1_Click()
OLE1.SourceDoc = "p1.png"
OLE1.CreateEmbed "p1.png"
End Sub
Private Sub Command2_Click()
OLE1.SourceDoc = "p2.png"
OLE1.CreateEmbed "p2.png"
End Sub
No comments have been posted about Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PN. Why not be the first to post a comment about Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PN.