|
Enumerating all available Clipboard formats
|
Total Hit (8035) |
Sometimes in your application you might want to check if any Clipboard data available and if available then in which format. You can check format of clipboard data and you can enable/disable menu options based on available clipboard data formats. For example in timer event you can check for CF_BITMA
....Read More |
Rating
|
|
|
How to get/set list of files copied in to clipboard using API
|
Total Hit (6159) |
«b»Step-By-Step Example«/b»
- Create a standard exe project
- Add one drive control, one dir control, one file control, three command button controls and one timer control. Set MultiSelect=True for File control
- Add the following code in form1
«code LangId=1»Option Explicit
' Required data
....Read More |
Rating
|
|
|
Realtime Clipboard viewer (Subclassing technique)
|
Total Hit (15918) |
The clipboard is a set of functions and messages that enable applications to transfer data. Because all applications have access to the clipboard, data can be easily transferred between applications or within an application. In this article you will learn various techniques to develop fully function
....Read More |
Rating
|
|
|
|
File Clipboard Enhancer
|
Total Hit (1845) |
Windows Explorer allows you to cut, copy and paste files. However, whilst it uses the clipboard to do this, the file information is not made generally accessible as a custom clipboard is used. Often it's useful to be able to paste a file name as text: for example, into a file name field in an applic
....Read More |
Rating
|
|
|
Clipboard Ring Sample
|
Total Hit (1060) |
This sample uses the cClipboardViewer class to hook into clipboard change notifications, and then displays them in a pinnable ListBar in a similar manner to the Clipboard Ring functionality provided in Visual Studio.
|
Rating
|
|
|
Copy the entire contents of a PictureBox to the clipboard
|
Total Hit (3209) |
VB does not allow you to copy the full picture of a Form, UserControl or PictureBox to the clipboard. If you use Clipboard.SetData, it only copies a bitmap loaded into these objects. You can get around this limitation and ensure the entire contents are copied, including any graphics you have drawn,
....Read More |
Rating
|
|
|
Read A Custom Clipboard Format
|
Total Hit (2727) |
VB limits you to getting information in just the standard clipboard formats. However, a number of applications paste information in other formats, for example Rich Text Format, HTML format and so forth. This tip shows you how to read the data for a custom format from the clipboard as a string.
....Read More |
Rating
|
|