473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Appending to the Clipboard

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?

Thanks in advance,

Gary

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQAiF8T8KnwrkurVSEQLengCbB9TNzjdWlOrBtYyO3B7kTE HAeIgAn1Pq
IDq+RHVvnrJ+kVM3sawpLm2h
=fHPr
-----END PGP SIGNATURE-----
Nov 20 '05 #1
5 941
Cor
Hi Gary,

Sorry, but what do you mean with append?

Cor
I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?

Nov 20 '05 #2
* "Didymus" <di************@hotmail.com> scripsit:
I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?


What does this have to do with the clipboard?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Hello Gary
To simply append the displayed value of a combo box to the existing text in
the RichTextbox use the Append method

Me.RichTextBox1.AppendText(ComboBox1.SelectedItem)

If your needs are other than this, then please explain better.
--
Ibrahim Malluf
http://www.malluf.com
==============================================
MCS Data Services Code Generator
http://64.78.34.175/mcsnet/DSCG/Announcement.aspx
==============================================
Pocket PC Return On Investment Calculator
Free Download http://64.78.34.175/mcsnet/kwickKalk1.aspx
"Didymus" <di************@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?

Thanks in advance,

Gary

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQAiF8T8KnwrkurVSEQLengCbB9TNzjdWlOrBtYyO3B7kTE HAeIgAn1Pq
IDq+RHVvnrJ+kVM3sawpLm2h
=fHPr
-----END PGP SIGNATURE-----

Nov 20 '05 #4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks Guys,

I was just thinking that I could add to the end of the text selected
in rtbText, the book title from cmbBook, the chapter number from
cmbChapter, and the verse number from cmbVerse... when the Copy
command was clicked to copy to the Clipboard.

Maybe it would be better to have the Copy procedure concatenate the
string values into a variable and then copy the variable to the
Clipboard?!

Thanks again,

Gary

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQAnijj8KnwrkurVSEQJ7UwCdFAAiF8Oyl75yUJLeOJesHz exmA4An0ko
nHf21HbAneVE+oOiyLxL11UU
=Cby8
-----END PGP SIGNATURE-----
Nov 20 '05 #5
Cor
Hi Gary,

Why not 3 small buttons or use a clickevent from the combobox?

me.textbox1.text = me.textbox1.text & me.comboboxN.text

Cor
I was just thinking that I could add to the end of the text selected
in rtbText, the book title from cmbBook, the chapter number from
cmbChapter, and the verse number from cmbVerse... when the Copy
command was clicked to copy to the Clipboard.

Nov 20 '05 #6

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

Similar topics

0
by: xyz | last post by:
I have a menu item to handle clipboard actions (cut, copy, paste). When I paste text that I copied from a Hungarian web page, the display looks normal on my RichTextBox, but the text retrieved from...
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...
7
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
0
by: James Russo | last post by:
Hello, I have an application which requires an image to be retrived from the clipboard. So, I am writting a quick C# windows application to take images from a webcam and store a single frame on...
7
by: Newbie | last post by:
How do I clear the clipboard in VB.NET 2003? TIA Newbie
15
by: Peter Duniho | last post by:
I'm trying to use .NET and C# to draw a metafile copied to the clipboard by another application (Word 2003 in this case, but it shouldn't matter). I naively thought that I'd be able to use the...
1
by: Figmo | last post by:
Wow.....this is darned odd.... I have an app that integrates with other applications. It registers a global hotkey with Windows. When the hotkey executes it sends a CTRL-C to the active...
8
by: active | last post by:
Guess I'm looking for someone who likes to work difficult puzzles. I can't seem to ever retrieve a palette handle from the clipboard. Below is a simple test program that demonstrates the...
20
by: Joe Duchtel | last post by:
Hello - I have the following code to get a bitmap from the clipboard and to save it to a *.png file ... Dim lData As IDataObject = Clipboard.GetDataObject() If...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.