Is there a way to tell an instance of Windows Photo Viewer that I have started via Process.Start, to load and display a different image?
Dim fileName As String = "C:\Users\John\Blah Blah\Picture.jpg"
Dim photoViewerProcess As Process = Process.Start("rundll32 ""%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll"", ImageView_Fullscreen " & fileName)
Is there some sort of message I could send to the photoViewerProcess to tell it to load a different image?
I don't want to leave a whole bunch of photo viewers open if I end up wanting to display lots of images.
A workaround is to close the existing process and open a new one but I was wondering if I could just tell the current instance to switch images.