473,395 Members | 1,440 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,395 software developers and data experts.

How to programmatically load/ref pics in DB?

How do I programmatically load or refresh images in an Access 97 OLE field?
The images are BMP and displayed using a Bound Object Frame.

I can't find any direct code (e.g., AppendChunk, etc.), since Access always
converts the image to its own internal structure.

I've tried SendKeys followed by the DoCmd.RunCommand acCmdInsertObject
statement, but no matter how I send the keystrokes (e.g., SendKeys "%(FE)",
True), when it then opens the Insert window there's no sign of the
keystrokes sent (whether I say True or False). It's like it takes so long
for the Insert window to open that it forgets the sent keys.

Surely there's a way to do this?

--Vic

Nov 12 '05 #1
1 3769
Take a look at the sample databases at http://accdevel.tripod.com -- they
illustrate three approaches to handling images in Access, one of which is
with OLE Objects. But, if you are using bitmaps, either of the techniques
using Image controls will work even if the graphics filters aren't loaded.
There's an article included in the download discussing considerations in
choosing which approach to use.

Larry Linson
Microsoft Access MVP

"victorcamp" <vi*******@worldnet.att.net> wrote in message
news:JH*********************@bgtnsc05-news.ops.worldnet.att.net...
How do I programmatically load or refresh images in an Access 97 OLE field? The images are BMP and displayed using a Bound Object Frame.

I can't find any direct code (e.g., AppendChunk, etc.), since Access always converts the image to its own internal structure.

I've tried SendKeys followed by the DoCmd.RunCommand acCmdInsertObject
statement, but no matter how I send the keystrokes (e.g., SendKeys "%(FE)", True), when it then opens the Insert window there's no sign of the
keystrokes sent (whether I say True or False). It's like it takes so long
for the Insert window to open that it forgets the sent keys.

Surely there's a way to do this?

--Vic

Nov 12 '05 #2

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

Similar topics

2
by: Dariusz | last post by:
I have a problem with a call a Javascript "window.open()" function which is executed as part of a PHP file when a user clicks on an thumbnail image. The PHP is executed which passes some variables...
2
by: aaa | last post by:
Hello to all, In an application under VB6, I need to fill some ComboBoxes with data. However, I don't know in advance how many ComboBoxes I will need. I could of course create many (maybe 15 or...
4
by: Y2KYZFR1 | last post by:
I have search the group and not found a working example on how to simply download a .gif from a url. something as simple as http://groups.google.com/images/threadview_logo.gif should be pretty...
1
by: John | last post by:
Hi, we have the following problem: in our application v1.0 we have static html pages (+ some javascript). With a CMS (a Content Management System) some "mortal" people can add or expand the...
8
by: David. E. Goble | last post by:
Hi all; I have the following code; var picssigs = new Array( "sigs/finished1.jpg", "sigs/foghorn.jpg", "sigs/motto.jpg", "sigs/sig.jpg", "sigs/SWAT.jpg",
5
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only...
3
by: Colazz | last post by:
var myMCL:MovieClipLoader = new MovieClipLoader(); myMCL.loadClip("apin.jpg", "container"); //container is an instance of a movie clip. Now, the size of "apin.jpg" is too large.. is there any...
2
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
1
anfetienne
by: anfetienne | last post by:
i have this code below that i made....it loads vars from txt file splits it then puts it into an array....once in an array it the brings the pics in from the array to create thumbnails and a larger...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.