473,473 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Opening picture using MS Picture & Fax Viewer

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
0 1938

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hari Prasad | last post by:
Hi, I have downloaded some image files by connecting to a URL and I am trying open that image file using BrowserLauncher. I am using windows xp and the default one to open image files is windows...
4
by: Shumit Rehman | last post by:
Hi I have a table which has path names to photos I would like to view. I would like to open some/any kind of image viewer(Paint) to see the picture when I click the pathname. The pictures are...
2
by: ~dr-sci-fi | last post by:
hi all, i want to use "Windows Picture Viewer and Fax Viewer" in my c# app to manipulate images, picture viewer is found as a DLL (shimgvw.dll) in System32 folder of WinXP. can some one tell...
4
by: Phil | last post by:
k, here is my issue.. I have BLOB data in SQL that needs to be grabbed and made into a TIF file and placed on the client (could be in temp internet dir). The reason we need it in TIF format is...
5
by: Dean Slindee | last post by:
I have looked everywhere I can think of for the .exe name of the Windows Picture and Fax Viewer. Anybody know what it's named? Thanks, Dean Slindee
1
by: mclewell | last post by:
I would like to start off by saying i'm in no way an expert by any means. I've had access since 97 and way back then set up a database for eBay stock. i had the old micrografx picture publisher...
1
by: james 125877 | last post by:
Hi ! I tried compiling my script and it comes up with an error: The type or namespace name 'fclsViewer' could not be found (are you missing a using directive or an assembly reference? and...
0
by: John Shaw | last post by:
Is there a way to see if Windows Picture and Fax Viewer is running in C#? I don't know the process name . I have tried the following : processes = Process.GetProcessesByName(procName); I need...
1
by: pteargryphon | last post by:
I have built a database of pavement conditions, each record has multiple file paths attached which lead to images. In my main form there are thumbnail vervions of these images. I was wondering if...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.