473,566 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

newbe help please. paste disabled when i add a menubar in vb2005

i have a simple rtfbox with a couple text boxes, i want to paste some
rtf text into the rtfbox.
I added a rtf box to a blank form and tested that a rtf box handles a
paste automatically. it does.
once i add a menu bar the rtfbox no longer accepts pasted text.
it took me a bit to fgure this out. now i want to find out why and how
to fix it. i would like to add a menubar.

Sep 4 '06 #1
3 1164
I could not replicate this issue.

After I added a MenuStrip I could still paste into the RTB.

Or are you really trying to add a MenuBar from a previous version of .NET?

--
Mike

Mike McIntyre [MVP]
http://www.getdotnetcode.com
<fr********@gma il.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
>i have a simple rtfbox with a couple text boxes, i want to paste some
rtf text into the rtfbox.
I added a rtf box to a blank form and tested that a rtf box handles a
paste automatically. it does.
once i add a menu bar the rtfbox no longer accepts pasted text.
it took me a bit to fgure this out. now i want to find out why and how
to fix it. i would like to add a menubar.

Sep 4 '06 #2
Hello Mike,

Also, is paste disabled only from the keyboard shortcut (ctl-v), or from
the context menu as well. If only the keyboard, then perhaps you are defining
a menu item with a ctl-v shortcut??
(I believe if you tel the menu bar to 'add default items' this includes an
edit menu).

-Boo
I could not replicate this issue.

After I added a MenuStrip I could still paste into the RTB.

Or are you really trying to add a MenuBar from a previous version of
.NET?

Mike McIntyre [MVP]
http://www.getdotnetcode.com
<fr********@gma il.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
>i have a simple rtfbox with a couple text boxes, i want to paste some
rtf text into the rtfbox.
I added a rtf box to a blank form and tested that a rtf box handles a
paste automatically. it does.
once i add a menu bar the rtfbox no longer accepts pasted text.
it took me a bit to fgure this out. now i want to find out why and
how
to fix it. i would like to add a menubar.

Sep 4 '06 #3

GhostInAK wrote:
Hello Mike,

Also, is paste disabled only from the keyboard shortcut (ctl-v), or from
the context menu as well. If only the keyboard, then perhaps you are defining
a menu item with a ctl-v shortcut??
(I believe if you tel the menu bar to 'add default items' this includes an
edit menu).

-Boo
I could not replicate this issue.

After I added a MenuStrip I could still paste into the RTB.

Or are you really trying to add a MenuBar from a previous version of
.NET?

Mike McIntyre [MVP]
http://www.getdotnetcode.com
<fr********@gma il.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
i have a simple rtfbox with a couple text boxes, i want to paste some
rtf text into the rtfbox.
I added a rtf box to a blank form and tested that a rtf box handles a
paste automatically. it does.
once i add a menu bar the rtfbox no longer accepts pasted text.
it took me a bit to fgure this out. now i want to find out why and
how
to fix it. i would like to add a menubar.

..net 2.0
vs2005
ok i had a menu strip. i also had added the standard items. i took a
look (i made a copy of the project before i deleted the strip). so
Ctrl-v was listed in the prop sheet as a shortcut key to the paste
item. I'm a little confused with the menu bar.

Sep 4 '06 #4

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

Similar topics

4
5279
by: Patrick L. Nolan | last post by:
Our Tkinter application has a big ScrolledText widget which is a log of everything that happens. In order to prevent people from making changes, we have it in DISABLED mode except when the program wants to write a new entry. This works OK, except that sometimes we want to copy out of piece of the contents and paste it in another window. ...
22
2337
by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether the user autoscrolls the usercontrol (other things that are on the usercontrol I want to scroll, but haven't included any here). Here are the...
3
6664
by: Stilgar[bbs.isca.uiowa.edu] | last post by:
Here's my newbie question: I have several VB forms which are all inherit a standard template form that I made. In my template form, I added a menu bar with some generic cut, copy, and paste functionality. I'd like to have the paste button disabled when the clipboard is empty, but I'm not sure how I should do this. Ideally, I suppose I'd...
2
1021
by: Dirk Gerrit Oort | last post by:
Hy all, I'm new in vb.net and is there something like javadoc comments -- D.G. Oort
3
5093
by: dsabin | last post by:
Microsoft Access 2000 has a problem with the Tools menu. Periodically, all commands on the Tools menu will become disabled, making it difficult to use its menu commands (such as Relationships, Database Utilities, Options, SourceSafe integration). I have encountered this problem on numerous computers running both Windows 2000 and Windows XP....
10
1520
by: David Lee Conley | last post by:
When I open the Data Sources window and create a new data source, everything works fine. But if I have a form showing in the IDE, the Data Sources window becomes disabled and doesn't display any of the database components. Yet, when I switch to code view, I can see everything just fine. Does anyone have any idea why the Data Sources window...
17
2692
by: Eric_Dexter | last post by:
def simplecsdtoorc(filename): file = open(filename,"r") alllines = file.read_until("</CsInstruments>") pattern1 = re.compile("</") orcfilename = filename + "orc" for line in alllines: if not pattern1 print >>orcfilename, line I am pretty sure my code isn't close to what I want. I need to be able
6
1673
by: JOSII | last post by:
Getting a string of boolean value into and out of the registry is no problem. Here's the problem: Although you can place an object into the registry and retreive it, I need to place an ArrayList object with 10 string items into the registry and retreive them later. I tried this: key.SetValue("lstNSXitems", lstNSX.Items) where...
17
5088
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have about 20 textboxes on the form). Also to ensure that the button can't get used if the cursor isn't in a textbox field. And to ensure the contents of...
0
7666
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8108
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6260
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.