Results 1 to 3 of 3

Thread: adding scrollbars to OLE control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2
    I am trying to open doc files ,xls files and powerpoint files in OLE control.when we specify a filename the file definitely opens in the OLE control ,but if the sie of the contro is smal one cannot view thw entire file unless he manages to attach a scroll bar to the OLE ? if anyone can suggest the code I will be grateful
    my e-mail id is [email protected]
    Abhijit Vyas
    Applitech Solution Ltd
    701,Shikhar
    Netaji Marg,Navrangpura,
    Ahmedabad 380015(INDIA)

  2. #2
    Junior Member
    Join Date
    Sep 2000
    Location
    Poland
    Posts
    26
    hi, I try to do the same and I have only partial solution to it. As OLE Control has a .SizeMode property. This property may have 4 values:

    vbOLESizeClip (0) - Object's image is clipped by the OLE container control's borders

    vbOLESizeStretch (1) - Object's image is sized to fill the OLE container control

    vbOLESizeAutoSize (2) - OLE container control is automatically resized to display the entire object

    vbOLESizeZoom (3) - Object's image is stretched but in proportion

    The last one, vbOLESizeZoom is quite useful, but I know it's not enough - scroll bars would be the best solution.
    Can anyone add scrollbars to an OLE control? Please help!

  3. #3
    Junior Member
    Join Date
    Sep 2000
    Location
    Poland
    Posts
    26

    Unhappy OLE container control

    hi,

    isn't there anybody who can help us?

    Is it possible to add scrollbars to an OLE container control?

    Or perhaps can someone do the following thing? How can I make a document in an OLE control to be of certain size? For example, 74% of original size.

    Please, please, please, help!

    Best wishes,
    Syl


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