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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get path and filename from an embedded object

Status
Not open for further replies.

JRDumont

Programmer
Apr 4, 2004
7
US
I have a multi-user database which supports an OLE filed. I have only embed functionality activated. Unfortunately, unless another user has the same program as the person who embedded an object has the OLE link doesn't work.

For example:
User 1 embeds an AutoCAD drawing file (temp.dwg)
User 1 has AutoCAD LT as the supporting product

User 2 has Volo View installed and it can view DWG files
User 2 gets an error message when double clicking on the field

It appears that the OLE filed doesn't look at the file association within windows to launch the proper program for a specific file.

I think I need to add an event procedure that first captures the information within the OLE field then looks at the windows association to launch the right program and open the embedded file.

If there is a better way please let me know. I'm open to all suggestions.

Any code snipets would be greatly appreciated.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top