- Home
·
- Graphics
·
- Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PN
Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PN
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.
Rate Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PN
(1(1 Vote))
'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
Displays 24Bit PNG files in VB without using DLL, OCX, etc - even though it cannot be done and a PN Comments
No comments yet — be the first to post one!
Post a Comment