home account info subscribe login search My ITKnowledge FAQ/help site map contact us


 
Brief Full
 Advanced
      Search
 Search Tips
To access the contents, click the chapter and section titles.

Visual Basic 6 Black Book
(Publisher: The Coriolis Group)
Author(s): Steven Holzner
ISBN: 1576102831
Publication Date: 08/01/98

Bookmark It

Search this book:
 
Previous Table of Contents Next


Disabling In-Place Editing

If you don’t want an OLE control to allow its OLE object to open for in-place editing, you can set the control’s MiscFlags property. Here are the possible values for that property:

  vbOLEMiscFlagMemStorage—1; causes the control to use memory to store the object while it’s loaded.
  vbOLEMiscFlagDisableInPlace—2; overrides the control’s default behavior of allowing in-place activation for objects that support it.

Using vbOLEMiscFlagMemStorage makes data storage operations faster than the default operations (which store data on disk as a temporary file). This setting can, however, use a lot of memory. If an object supports in-place activation, you can use the vbOLEMiscFlagDisableInPlace setting to make the object launch its server in a separate window.


Previous Table of Contents Next


Products |  Contact Us |  About Us |  Privacy  |  Ad Info  |  Home

Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited.