473,473 Members | 2,316 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ClipBoard Help

I am farily new to programming and I am trying to write a program that I can
cut/copy and paste from Toolbar where I have a collection. I am able to
copy and cut buy when I paste it only pastes one time and that is it. Can
someone please help me. This is what I have so far

Dim iData As IDataObject = Clipboard.GetDataObject()
Select Case ToolBar1.Buttons.IndexOf(e.Button)

Case 0

Clipboard.SetDataObject(rtbFontBox.Text)

Case 1

Clipboard.SetDataObject(rtbFontBox.Text)

rtbFontBox.Text = ""

Case 2

rtbFontBox.Text = ""

Case 4

iData.GetDataPresent(DataFormats.Text)

rtbFontBox.Text = iData.GetData(DataFormats.Text).ToString()

End Select
Jul 21 '05 #1
0 983

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: LG | last post by:
Just have a question with regards to the clipboard, and how to read what other applications (Adobe InDesignCS) place in the clipboard. I am currently in the process of creating a booklet from a...
2
by: Colleyville Alan | last post by:
I am using Access and have embedded the ActiveX control Formula One that came with Office 2000. (ver 3.04). I have created and formatted a spreadsheet and now I want to copy the info with...
9
by: Christian Blackburn | last post by:
Hi Gang, I don't know what to make of all of this, but I'm having nothing, but trouble copying data to the clipboard which should be the easiest thing in the world. The only systems I can get...
1
by: Mike Labosh | last post by:
Two items from the .NET Framework SDK (VS.NET 2K2) -- Actual pasted text from the help topics. =========================== The Clipboard Class =========================== ..NET Framework Class...
3
by: Scott Friedrich | last post by:
Hi group I am using a 3rd party AX control in a VB.NET application. One of the methods of this control is to capture the current map within the control to the windows clipboard as .WMF. I am...
6
by: Ed Bitzer | last post by:
Appreciate some help. Want to continuously check clipboard and if text present unhide and display in a text. The following code can find nothing in the clipboard even though I paste information...
1
by: Alfred Tascon | last post by:
Who knows how to create a Clipboard object/entry that when pasted produces a URL link - a link that when pasted into Word can be ctrl-clicked to launch a browser? Any help appreciated. Oh and i...
7
by: Newbie | last post by:
How do I clear the clipboard in VB.NET 2003? TIA Newbie
8
by: serge calderara | last post by:
Dear all, I have an treeview control with different node object, I would like to implement the Copy/Paste function of an object . For that I am using the folowing function to copy teh object to...
2
by: alastairgarrow | last post by:
Hi there I am looking for some help in getting a clipboard image into an Sql Database table. My plan is to have a web page that will allow the user to copy an image on their home computer and...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.