|
by: Legendary Pansy |
last post by:
I was checking out the 101 C# Samples, specifically Windows Forms - Use the Clipboard. I took a look at the code for a while, and I understand what the program is doing with the cut, copy, pasting via the file menu events using the clipboard. However, what I don't get is how is the program able to produce a context menu in the textbox area. When right clicking, the context pops up and allows to cut/copy/paste/delete, etc..
But the thing is, I...
|
by: Radovan Radic |
last post by:
Hello all,
I am new to .NET and a i am moving from Delphi (finally!) to C#.
Now, i am trying to develop custom TextBox for numeric input. I have done it
almost, now i need to prevent paste so someone couldnt paste letters into
numeric text box. How this can be done in C#? In Delphi there was method to
implement methods wiht message code WM_PASTE, and within that method i could
control the contents of the pasted text.
Thanks.
|
by: **Developer** |
last post by:
I need to paste an RTF non-ANSI string into a RichTextBox.
I know how to do that if the string were all ANSI characters.
But the text contains Unicode characters that have no ANSI equivalent. I
don't know how to include them.
Can you help?
|
by: John |
last post by:
Hi
How can I implement cut or copy or paste in code?
Thanks
Regards
|
by: Microsoft |
last post by:
I'm not sure which control to use for this:
I would like the user to be able to paste a list of items into a box and
then be able to run through them one at a time. Hopefully there is a
control that would place them into an array. I don't want the user to put
them in one at a time..
Thanks..
|
|
by: **Developer** |
last post by:
I've seen applications that have a Paste Special and if clicked allow either
the Data to be pasted or a Link to be pasted.
I'm using the RichTextBox and I'd like to implement that feature.
Can anyone give me any help/direction?
I know how to make the PasteSpecial menu but do not know how to force the
paste to Link or Data.
|
by: New at C# via DotNetMonster.com |
last post by:
i have 2richtextboxs,2buttons and 2tabs
i already have copy working but i need help with paste
i need is so when i paste to richtextbox1 it will paste to richtextbox1 and
not richtextbox 1 and 2
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-csharp/200605/1
|
by: Vimalathithan |
last post by:
Hi Every one,
I have developing the user control with RichTextBox in C# windows application. The problem is when I paste any text inside the RichTextBox at the runtime the pasted lines not in visible. I can view only last two lines and the cursor blink at the last character of the pated content. once move the cursor by up arrow key the text will scroll upto and can visible. I made the RichTextBox to fit with number of line that is it will...
|
by: ting ting |
last post by:
I am using ASP.net 2003 to write program. I have a RTFtextbox and I want to copy the words from MS WORD and paste it in the RTFtextbox. However, it said :
System.ArgumentException: 無效的檔案格式。
at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
at System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
at System.Windows.Forms.RichTextBox.set_SelectedRtf(String value)
I write a menu for the user to paste...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
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
|