Hi All,
I am trying to grab the handle of a .jpg document so that I can place it on a form. The following line of code returns zero even though the image files opens up in Windows Photo Viewer.
The line of code works without problems when starting other Windows applications. Is Windows Photo Viewer not a process? Are there situations where an application starts without creating an instance of a process?
Please, help explain what is going on. Thanks.
I am trying to grab the handle of a .jpg document so that I can place it on a form. The following line of code returns zero even though the image files opens up in Windows Photo Viewer.
Code:
dim p as Process = Process.start("MyPhoto.jpg")
Please, help explain what is going on. Thanks.