How can I simply display a Tif picture on a form in VB6, via VB6 code, components or Windows API?
Please note that a program that can view Tif files may or may not be on the user's PC - the only things that may be on the PC is the OS and any VB6 run time files or components. So, I am not sure if a object container(OLE) will work when there are no programs associated with a Tif file.
The user will either see the Tif either on the form in a picture control when the form opens, or need to click on a button on the form to open a window in order to view the Tif picture. That shouln't matter.
If not possible in VB6, then maybe I can use Shell to call another program delivered with the Windows OS, or some lightweight free-bee program that can be downloaded and that I can freely distribute with my application. Anyone know of one if the first part above isn't possible?
PS. The only thing that is needed here is to show a Tif picture - nothing else.
Thankyou for any help!
Please note that a program that can view Tif files may or may not be on the user's PC - the only things that may be on the PC is the OS and any VB6 run time files or components. So, I am not sure if a object container(OLE) will work when there are no programs associated with a Tif file.
The user will either see the Tif either on the form in a picture control when the form opens, or need to click on a button on the form to open a window in order to view the Tif picture. That shouln't matter.
If not possible in VB6, then maybe I can use Shell to call another program delivered with the Windows OS, or some lightweight free-bee program that can be downloaded and that I can freely distribute with my application. Anyone know of one if the first part above isn't possible?
PS. The only thing that is needed here is to show a Tif picture - nothing else.
Thankyou for any help!