Microsoft KB Archive/85250

{|
 * width="100%"|

Using Drag and Drop Feature in Windows (Excel Example)

 * }

ID: Q85250

-

The information in this article applies to:


 * Microsoft Windows versions 3.1, 3.11
 * Microsoft Excel for Windows, version 3.0

-

SUMMARY
In Windows version 3.1, you can open or embed a document by dragging a file from a directory in File Manager and placing the file on a minimized application, or dragging the file into the window of an active application. This process is known as OLE drag and drop.

File Manager also supports OLE drag and drop printing. You can print this way by dragging a file from its directory listing and dropping the file on the minimized Print Manager icon.

For these features to work, the application being used in conjunction with File Manager must directly support the OLE drag and drop feature.

MORE INFORMATION
For example, to enable Microsoft Excel 3.0 to support OLE drag and drop features, use the dynamic date exchange (DDE) protocol language as follows:


 * 1) Run the Registration Editor (REGEDIT.EXE), which is located in the Windows directory.
 * 2) Select Microsoft Excel Worksheet, and press the ENTER key. You are now in the Modify File Type dialog box.

To Register Excel 3.0 for OLE Drag and Drop Application Use
 Select the Uses DDE check box.  In the File Type box, type: "Microsoft Excel Worksheet" Select the Open option button.  In the Command box, type: "[drive][path]\excel.exe"  In the Application box, type: "Excel"  In the Topic box, type: "System"  In the DDE Messages box, type: "[open(&quot;%1&quot;)]"  (Optional) In the DDE Application Not Running box, type: "grayed out"</li></ol>

To Register Excel 3.0 for OLE Drag and Drop Printing
<ol> Follow steps 1 through 6 listed in the previous procedure.</li>  In the DDE Messages box, type: "[open(&quot;%1&quot;)][print?][close]"</li>  (Optional) In the DDE Application Not Running box, type: "[open(&quot;%1&quot;)][print?][quit]"</li></ol>

Additional query words: 3.1 3.11 3.10 ole imbed

Keywords :

Version : WINDOWS:3.0,3.1,3.11

Platform : WINDOWS

Issue type :

Technology :