Results 1 to 5 of 5

Thread: Display a drawing on a MS Access Form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    208

    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.

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Re: Display a drawing on a MS Access Form

    Have you tried a picture box?
    Tengo mas preguntas que contestas

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    208

    Re: Display a drawing on a MS Access Form

    Moved to COM and ActiveX forum

  4. #4
    New Member
    Join Date
    Jan 2006
    Posts
    13

    Re: Display a drawing on a MS Access Form

    Is there a displaytype property?

    If so make sure it's set to content.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    208

    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
  •  



Click Here to Expand Forum to Full Width