Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 16th, 2004, 10:42 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default Bound Object Frame Property Needed

In Access XP, I have a bound object frame where a user can drag and drop a file into it. The OLE type allowed is set to LINKED. I can drag and drop a file into it with no problems. I can get its application type (e.g. MS Word) and put it into a text field like this:

Me.txtApplication = Me.bofAttachment.Object.Application.Name

It gives me "Microsoft Word". That's great. But I cannot find the property that will give me this:

"C:\MyDirectory\MyFileName.doc"

Someone please finish this:

Me.txtFileName = Me.bofAttachment.________

Also, I set the the Display Type to ICON, but it's not giving me a Word Icon. Instead it insists on showing me a preview of the document as though I set Display to CONTENT. How can I get it to just show me an application icon when I drag and drop a file into it?

Thanks!



Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
__________________
Greg Serrano
Michigan Dept. of Environmental Quality
Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed in figuring out some Frame Code John Parker Access VBA 8 January 2nd, 2008 12:55 PM
Change Buttons Enabled property from another frame TappeBoy VS.NET 2002/2003 7 October 25th, 2004 02:40 PM
Changing Control Property from another Frame Wandha ASP.NET 1.0 and 1.1 Basics 4 August 8th, 2003 01:34 AM
Changing Control Property from another Frame Wandha Forum and Wrox.com Feedback 1 August 5th, 2003 07:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.