I have create a very simple windows form application. I am using textbox
control, but I am unable to copy and paste text into the textbox by using
keyboard hot key.
Anyone come across this problem before?
Thanks
Bryan Phillips - 17 Jan 2007 01:10 GMT
Can you copy and paste into Notepad? If not, another process has locked
the clipboard.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> I have create a very simple windows form application. I am using textbox
> control, but I am unable to copy and paste text into the textbox by using
> keyboard hot key.
> Anyone come across this problem before?
>
> Thanks
Anthony - 17 Jan 2007 04:35 GMT
Thanks Bryan,
I have not problem to do copy and paste for other application. Also I can
do copy and paste by using right click on the mouse.
Anthony
> Can you copy and paste into Notepad? If not, another process has locked
> the clipboard.
[quoted text clipped - 10 lines]
> >
> > Thanks
Cyril Gupta - 17 Jan 2007 02:10 GMT
Hello Anthony,
More Common than that, just check that you have not set up CTRL+V as an accelerator
in one of the menus... Sigh* I do that sometimes.
Regards,
Cyril Gupta
A> I have create a very simple windows form application. I am using
A> textbox
A> control, but I am unable to copy and paste text into the textbox by
A> using
A> keyboard hot key.
A> Anyone come across this problem before?
A> Thanks
A>
Anthony - 17 Jan 2007 04:41 GMT
Thanks Cyril,
I can do CTRL+V on Notepad. I can do copy and paste by using mouse on the
.Net application.
> Hello Anthony,
>
[quoted text clipped - 12 lines]
> A> Thanks
> A>
Harry Pfleger - 26 Jan 2007 15:40 GMT
Hello Anthony
I had the same issue.
Probably you are using the toolstrip menu with the default settings.
Since they are setup to get the ctrl-c and v, the textbox is not gettings
them.
look at the following message:
https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=696702&SiteID=1
(so it did not work, but at least I know why)
then I found a post in the vb newsgroup
http://msdn.microsoft.com/newsgroups/Default.aspx?query=pasteToolStripMenuItem&d
g=&cat=en-us-msdn&lang=en&cr=US&pt=&catlist=774F24A2-F71F-425F-AC2B-DC48AB0DA5C9
&dglist=&ptlist=&exp=&sloc=en-us
thats a workaround, but in VB ;-)
cheers Harry
>I have create a very simple windows form application. I am using textbox
> control, but I am unable to copy and paste text into the textbox by using
> keyboard hot key.
> Anyone come across this problem before?
>
> Thanks
Anthony - 26 Jan 2007 23:36 GMT
Thanks Harry,
Yes, This is what happenning to me.
Thank again
> Hello Anthony
>
[quoted text clipped - 19 lines]
> >
> > Thanks