473,663 Members | 2,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3825
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
inadvertantl y 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
inadvertant ly 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
23564
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 results of the picture half the size. The PHP I have installed support 1.62 or higher. And all I would like to do is take and image and make it fit a 3x3. Any suggestions to where I should read or look would be appreciated.
5
1585
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 website...the image shows up! Is there a setting in Access that I need to chnage because of the reinstall? Thanks. Ken
4
13736
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 mostly scanned newspaper atricles which are too big to just display on a form so I need the zoom and scroll features. Im using access 2003
0
3355
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 script on the client looks something like this: VIEWER.GetImage("http://www.url.com/SomeImage.jpg") VIEWER.GetImage("http://www.url.com/SomeImage.tif")
0
1372
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) -Joint Photographic Experts Group (JPG) -Portable Network Graphics (PNG) -Tag Image File Format (TIFF)
2
6574
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 need to access this Viewer in my C# coding so that i can add image to that Dicom Viewer. please help me dude ,
5
6087
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 2003). The viewer seems to be a bit 'buggy', in that sometimes if you preview a tif image using the activex on a form, then goto another form, and then come back to preview the same image again on the first form, the preview no longer shows up...
0
2356
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 the modes for the different files but I am unsure If someone could examine my code and assist in helping me solve my problem(s)
1
3449
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 and Fax Viewer instead of MS Paint. The Folder Options in Windows XP is already showing as using Windows Picture with Little Box checked (Always). When I click on the Image/Picture File directly, it opens up with the correct Windows Picture...
0
8436
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8858
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8548
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5657
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
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 we have to send another system

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.