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:
- Run the Registration Editor (REGEDIT.EXE), which is located in the
Windows directory.
- 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("%1")]
- (Optional) In the DDE Application Not Running box, type:
grayed out
To Register Excel 3.0 for OLE Drag and Drop Printing
- Follow steps 1 through 6 listed in the previous procedure.
- In the DDE Messages box, type:
[open("%1")][print?()][close()]
- (Optional) In the DDE Application Not Running box, type:
[open("%1")][print?()][quit()]
Additional query words:
3.1 3.11 3.10 ole imbed
Keywords :
Version : WINDOWS:3.0,3.1,3.11
Platform : WINDOWS
Issue type :
|