473,394 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Image viewer controllable by Access via OLE Automation?

Hi,

Before I go on, let me just say I'm fairly new at this so excuse me if I
say the wrong thing or use the wrong term.

Anyway, what I am trying to do is to set up something where I can have a
database of images and associated details. I want to run the system on a
machine with a dual-head video adapter and have the Access window,
showing a form, on one screen and an image viewer program on the other
(the 'other' will actually be a digital projector). I don't want the
images to be embedded objects in the database, but separate jpg files. I
will record the file name in the database and pass it to the image
viewer to open.

I've got some way using Irfanview but there are problems.
- Irfanview doesn't support OLE so I have to run it using Shell, which
is ok except that the screen 'jumps' and you see the underlying desktop
each time a new image is loaded. What actually happens is that Irfanview
is restarted with a new image. I just want to tell the exisitng instance
to load a new file.
- Irfanview keeps the focus, which isn't the plan as a) someone can
inadvertantly change image, and b) I need to have the user key some dtat
in and it needs them to mouse click on the access form, which isn't very
slick.

Any ideas? Microsoft Photo eEditor supports OLE, but I've only been
able to use it in a embedded way.

ANy advice? Maybe I'm coming at it all wrong, in which case I'd
appreciate being 'put right'.

Thanks, John
Nov 13 '05 #1
2 3808
On Sat, 09 Jul 2005 17:42:49 GMT, John Fryatt <jr**@ntlworld.com>
wrote:
Hi,

Before I go on, let me just say I'm fairly new at this so excuse me if I
say the wrong thing or use the wrong term.

Anyway, what I am trying to do is to set up something where I can have a
database of images and associated details. I want to run the system on a
machine with a dual-head video adapter and have the Access window,
showing a form, on one screen and an image viewer program on the other
(the 'other' will actually be a digital projector). I don't want the
images to be embedded objects in the database, but separate jpg files. I
will record the file name in the database and pass it to the image
viewer to open.

I've got some way using Irfanview but there are problems.
- Irfanview doesn't support OLE so I have to run it using Shell, which
is ok except that the screen 'jumps' and you see the underlying desktop
each time a new image is loaded. What actually happens is that Irfanview
is restarted with a new image. I just want to tell the exisitng instance
to load a new file.
- Irfanview keeps the focus, which isn't the plan as a) someone can
inadvertantly change image, and b) I need to have the user key some dtat
in and it needs them to mouse click on the access form, which isn't very
slick.

Any ideas? Microsoft Photo eEditor supports OLE, but I've only been
able to use it in a embedded way.

ANy advice? Maybe I'm coming at it all wrong, in which case I'd
appreciate being 'put right'.

Thanks, John


Hi
You could diplay the picture on a pop-up form actually part of the
Access application.The pop-up form has its own window and can be
placed on your second screen.

If you don't like the Access image control you can find some others
free at Stephen Lebans web site.
David

Nov 13 '05 #2
David Schofield wrote:
On Sat, 09 Jul 2005 17:42:49 GMT, John Fryatt <jr**@ntlworld.com>
wrote:

Hi,

Before I go on, let me just say I'm fairly new at this so excuse me if I
say the wrong thing or use the wrong term.

Anyway, what I am trying to do is to set up something where I can have a
database of images and associated details. I want to run the system on a
machine with a dual-head video adapter and have the Access window,
showing a form, on one screen and an image viewer program on the other
(the 'other' will actually be a digital projector). I don't want the
images to be embedded objects in the database, but separate jpg files. I
will record the file name in the database and pass it to the image
viewer to open.

I've got some way using Irfanview but there are problems.
- Irfanview doesn't support OLE so I have to run it using Shell, which
is ok except that the screen 'jumps' and you see the underlying desktop
each time a new image is loaded. What actually happens is that Irfanview
is restarted with a new image. I just want to tell the exisitng instance
to load a new file.
- Irfanview keeps the focus, which isn't the plan as a) someone can
inadvertantly change image, and b) I need to have the user key some dtat
in and it needs them to mouse click on the access form, which isn't very
slick.

Any ideas? Microsoft Photo eEditor supports OLE, but I've only been
able to use it in a embedded way.

ANy advice? Maybe I'm coming at it all wrong, in which case I'd
appreciate being 'put right'.

Thanks, John

Hi
You could diplay the picture on a pop-up form actually part of the
Access application.The pop-up form has its own window and can be
placed on your second screen.

If you don't like the Access image control you can find some others
free at Stephen Lebans web site.
David


Hi David,

That's excellent. Didn't think of that approach for some reason - trying
to be too complicated. :-(

Thanks, John
Nov 13 '05 #3

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

Similar topics

3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
5
by: ken | last post by:
I had to reinstall Windows 2000 Pro and of course Access 2000. I HAD each record displaying a photo but now it does not show them. The WEIRD thing is that when I upload the database to my...
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...
0
by: Jerry J | last post by:
I have a third party image viewer that can display various types of images. The image viewer is ActiveX and lives inside of Internet Explorer. To get the image viewer to retrieve an image, java...
0
by: | last post by:
We have developed a free image-viewer for testing .Net and GDI+ capabilityes. e-View supports a lot of raster and vectorial image formats: -Bitmap (BMP) -Graphics Interchange Format (GIF)...
2
by: Jayender | last post by:
Hello , I need to add a ActiveX control ...the Dicomviewer in ASP>net .. I am able to do it fine in C# project but not in web application I add that Dicom dll (.ocx file) in my ASP.Net form I...
5
by: mikez | last post by:
Hi, We recently built a very basic file management system for a client in Access 2003 (to use with incoming tif scans). In it we used Microsoft's Document Imaging activex viewer (from Office...
0
by: Andrew | last post by:
Hello Ive been messing around with a simple raw image viewer using Pil and Tkinter However I am running into problems displaying the images they appear to be not correct I believe it is cause of...
1
by: sop23456 | last post by:
Microsoft Access 2003 I have hyperlink the image/picture to another file. When I click on the hyperlink, the image appears using MS Paint. What do I do to view Image/picture in Windows Picture...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
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...

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.