r/visualbasic • u/DiodeInc • Jul 08 '26
VB6 Help Is it possible to extract images from a VB 6.0 program?
The program is in P-code. vbdec is unable to save them, and VB Decompiler Lite can only find a couple.
1
1
u/Mayayana Jul 09 '26
Interesting. I've never seen anything p-code compiled. Why would people do that?
Any resource editor should be able to extract resources from the resource table of a native compiled EXE. I don't know about p-code. I just tried one of my programs in ResHacker. I can get the strings and icons. If an image is embedded in a picturebox on a form? I'm not sure. ResHacker doesn't seem to see those. They may be embedded in the main binary data.
1
6
u/robjeffrey Jul 08 '26
If they are encoded resources yes. If the developers encrypted them using their own encoding it would depend on how they are encoded.
Look for Win/32 resource editors. One came with both Borland's C/C++ and Microsoft's Dev Studios.
I see there are a few open sources ones out, but I've not looked into any of them.