HELP! Need code for Cut, Copy, Paste, and Find functions PLEASE!!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am fairly new to working with programming so pardon my lack of knowledge,
but I was hoping someone could assist me with working on a project. I am
trying to make a Windows application using Visual Basic 2005 Express, and am
wanting to have a menu bar with one of the drop downs being similar to that
of the "Edit" drop down in most any other Windows app.
I am wanting to find the code to perform such functions as Cutting, Copying
and Pasting... I found some, but it references a specific Textbox. I would
like it so that whereever the person clicks they can cut, copy, and paste the
selected text.

Also theres the Find function where you can find text on a page, where can I
find the code to do such a function?
 
hi, i dont kno if it is there for textboxes but for rich text boxes there are
prewritten codes for that, these are not tested but its either:

me.richtextbox1.Cut()
or
me.richtextbox1.SelectedText.Cut()

i think its the first one, but there are codes written for cut, copy, and
paste
 
not to sound stupid, but whats the difference between a "textbox" and a "
rich textbox"...?
 
lol to b honest, since i am relativly new to programming, i havent the
slightest idea, all i kno is that in my expirience, rich text boxes are much
easier to work with. i use them a lot and only use textboxes for very shrot
text. sry i cant b more help but i have no idea what the difference is
 
TextBox uses plain text - period. RichTextBox has font capabilities,
formatting capabilities, and uses a different text structure, thereby
called "RICH TEXT".

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top