|
-
Jan 23rd, 2006, 06:40 PM
#1
Thread Starter
Addicted Member
Display a drawing on a MS Access Form
Hi there i would like to display a drawing (test.dwg) on my form in a
vb code. The form has an Bound Object Frame - OLE1 area. AT the moment i'm getting only the icon and file name displayed in the OLE1. When i click on the icon then it opens up the the diagram in SmartSketch which i don't want. So
when i press an button it should display the diagram itself (not
the link) inside the Bound Object Frame and be able to zoom in and out and edit. I'm using those lines below. Thank you
[OLE1].Class = "SmartSketch.Document"
[OLE1].OLETypeAllowed = acOLEEmbedded
[OLE1].SourceDoc = [File_Name]
[OLE1].Action = acOLECreateEmbed
[OLE1].Verb = 1
Last edited by Prav; Jan 23rd, 2006 at 07:12 PM.
-
Jan 24th, 2006, 09:36 AM
#2
Frenzied Member
Re: Display a drawing on a MS Access Form
Have you tried a picture box?
Tengo mas preguntas que contestas
-
Jan 25th, 2006, 12:28 AM
#3
Thread Starter
Addicted Member
Re: Display a drawing on a MS Access Form
Moved to COM and ActiveX forum
-
Jan 26th, 2006, 04:24 PM
#4
New Member
Re: Display a drawing on a MS Access Form
Is there a displaytype property?
If so make sure it's set to content.
-
Jan 29th, 2006, 08:10 PM
#5
Thread Starter
Addicted Member
Re: Display a drawing on a MS Access Form
No there is no display type property and its set to content
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|