Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling 'Insert Object'

Status
Not open for further replies.

Muzzy

Programmer
Dec 14, 2001
68
GB
Hello all,

I have a bound object frame on a form for inserting maps of specific sites. I want to call the windows API to insert a picture (OLE Object) into the frame using a command button.
Any idea how I do this?

Cheers

Muzzy
 
Are you using Access or VB Forms? It's relatively easy in Access to set the control Picture property to the full path and filename to display the file. Since this is an Access forum I assume that would be your best option.
-------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
 
On a semi-related topic, do you know how to get a browse window to open so that you can select a file and have it dump that file into the OLE Object field? I can get access to open the 'Insert Object...' window, but i want to bypass that and go straight to the 'Browse' window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top