By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,490 Members | 1,791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,490 IT Pros & Developers. It's quick & easy.

Opening picture using MS Picture & Fax Viewer

P: n/a
Using the following code:

Dim q As String
q = Chr(34)
RetVal = Shell("explorer " & q & CurrentProject.Path & "\" & Me.Location &
"\" & Me.Image & q, vbNormalFocus)

I am able to open a windows folder related to the current record. I would
also like to allow the user to dblclick the employees headshot to open that
photo using the Microsoft Picture & Fax Viewer. Since this is not a stand
alone program, I'm having some dificulties. The path to that file is as
follows:

rundll32.exe %SystemRoot%\System32\shimgvw.dll,ImageView_Fullsc reen %1

I tried to replace "explorer" with the line above but its a no go. Any
thoughts on alternatives?
Oct 4 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.