473,484 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

viewing images in picture manager

10 New Member
Hi everyone

I have a form that displays images, what i want to do is that when the user double clicks on the picture displayed, it opens in MS picture manager

I used the code:
shell "ois.exe me![picturepath]"

what happens here, picture manager flashes then disappears from the screen



Any ideas

Thanks in advance
Feb 25 '07 #1
4 3540
ADezii
8,834 Recognized Expert Expert
Hi everyone

I have a form that displays images, what i want to do is that when the user double clicks on the picture displayed, it opens in MS picture manager

I used the code:
shell "ois.exe me![picturepath]"

what happens here, picture manager flashes then disappears from the screen



Any ideas

Thanks in advance
This will work:
Expand|Select|Wrap|Line Numbers
  1. Dim retVal As Variant
  2. 'You must provide the Absolute Path to ois.exe e.g.
  3. C:\Programs\Graphics\ois.exe. If the Path is C:\ois.exe, then:
  4. retVal = Shell("C:\ois.exe " & Chr$(34) & Me![PicturePath] & Chr$(34), vbMaximizedFocus)
Feb 25 '07 #2
najimou
10 New Member
It worked perfectly, and by the way i didn't have to provide the full path of the application

Thank you very much
Feb 25 '07 #3
ADezii
8,834 Recognized Expert Expert
It worked perfectly, and by the way i didn't have to provide the full path of the application

Thank you very much
Glad to be of assistance.
Feb 25 '07 #4
DenisStarbank
1 New Member
Its years later but your reply helped me just as much.
Thanks.
Nov 11 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1958
by: Lucanus | last post by:
Hi All, Just a quick question, which should have a simple answer... Can I have a document with three images with the same name, and reference those images individually. ie: <img...
40
2778
by: Geoff Cox | last post by:
Hello, I am still having problems - apologies if the answer is in previous postings! I now have, in the header, <sctipt> var myimages=new Array();
3
5605
by: marwa mohamed | last post by:
salamo alikom hi all when i run report that includes image control linked to a field in the table that contains the image path(on the server)and the record source of the report contains over 30...
10
5279
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
12
3820
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
3
1814
by: John Kotuby | last post by:
I have just upgraded to a new development machine that came with Vista ultimate. I am developing a website with VS2005 and VB. My image and css references in my source code are all relative. For...
2
1973
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i took Microsoft's sample pictures and resized them with the Ofiice Picture Manager and put it on my web page and the pictures look great. however, when i take a digital photo of my own...
17
7837
by: anthony | last post by:
I want to embed some BMP files into an OLE field (called BMP) in an existing table using code. I've created the code that grabs the filename from the image folder, finds the corresponding record in...
1
1163
by: Josephbupe | last post by:
I am trying to adopt the code below to store a picture file in a table filed so that i can view it any time i open the form with its control. However, this code did not do that. When i loaded the...
0
6953
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
7144
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
6813
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4845
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
4529
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
1359
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
592
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
235
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.