levraininjan
06-05-2010, 01:27 PM
Hi there
I am new to programming in VBE, so please bear with me if it is an elementary question:
I have put a standard open file dialog in a program, and I want the program to open the selected file in windows photo viewer when the user clicks "open".
Can someone please help me with the command to open a picture with Windows Photo Viewer / Windows Picture and Fax Viewer, given the path + filename as a string?
If it makes it simpler, we may assume that Photo Viewer is the default program to open this type (.jpg) of file.
Thanks you for reading my post :mayi:
Pieka
I am new to programming in VBE, so please bear with me if it is an elementary question:
I have put a standard open file dialog in a program, and I want the program to open the selected file in windows photo viewer when the user clicks "open".
Can someone please help me with the command to open a picture with Windows Photo Viewer / Windows Picture and Fax Viewer, given the path + filename as a string?
If it makes it simpler, we may assume that Photo Viewer is the default program to open this type (.jpg) of file.
Thanks you for reading my post :mayi:
Pieka