Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
GeneralRe: MissingMethodException Pin
Luc Pattyn1-Nov-08 16:57
sitebuilderLuc Pattyn1-Nov-08 16:57 
GeneralRe: MissingMethodException Pin
Not Active1-Nov-08 17:32
mentorNot Active1-Nov-08 17:32 
QuestionHow to hook a global PASTE EVENT? Pin
dactivo1-Nov-08 13:13
dactivo1-Nov-08 13:13 
AnswerRe: How to hook a global PASTE EVENT? Pin
DaveyM692-Nov-08 9:48
professionalDaveyM692-Nov-08 9:48 
GeneralRe: How to hook a global PASTE EVENT? Pin
dactivo5-Nov-08 1:58
dactivo5-Nov-08 1:58 
GeneralRe: How to hook a global PASTE EVENT? Pin
DaveyM695-Nov-08 7:13
professionalDaveyM695-Nov-08 7:13 
GeneralRe: How to hook a global PASTE EVENT? Pin
dactivo7-Nov-08 19:58
dactivo7-Nov-08 19:58 
QuestionWeb Browser With Tabs Pin
jas0n231-Nov-08 11:45
jas0n231-Nov-08 11:45 
AnswerRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 12:13
Pedram Behroozi1-Nov-08 12:13 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 13:35
jas0n231-Nov-08 13:35 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 14:02
jas0n231-Nov-08 14:02 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 19:57
Pedram Behroozi1-Nov-08 19:57 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 21:43
jas0n231-Nov-08 21:43 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 22:11
Pedram Behroozi1-Nov-08 22:11 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 22:30
jas0n231-Nov-08 22:30 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 23:04
Pedram Behroozi1-Nov-08 23:04 
GeneralRe: Web Browser With Tabs Pin
jas0n232-Nov-08 1:37
jas0n232-Nov-08 1:37 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi2-Nov-08 2:19
Pedram Behroozi2-Nov-08 2:19 
GeneralRe: Web Browser With Tabs Pin
jas0n232-Nov-08 3:05
jas0n232-Nov-08 3:05 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi2-Nov-08 5:16
Pedram Behroozi2-Nov-08 5:16 
QuestionHelp With dataGridView Copy and Paste Feature Pin
That Asian Guy1-Nov-08 9:02
That Asian Guy1-Nov-08 9:02 
GeneralRe: Help With dataGridView Copy and Paste Feature Pin
That Asian Guy1-Nov-08 14:47
That Asian Guy1-Nov-08 14:47 
I messed around with it a bit and ended up using SendKeys. I know this isn't the best method, but its the only one I tried so far that works.

Basically,
try
                    {
                        dataGridView1.BeginEdit(true);
                        String tempText = Clipboard.GetText();
                        tempText = tempText.Replace("{", "{{}");
                        tempText = tempText.Replace("}", "{}}");
                        tempText = tempText.Replace("{{{}}", "{{}");
                        tempText = tempText.Replace("(", "{(}");
                        tempText = tempText.Replace(")", "{)}");
                        tempText = tempText.Replace("+", "{+}");
                        tempText = tempText.Replace("^", "{^}");
                        tempText = tempText.Replace("%", "{%}");
                        tempText = tempText.Replace("~", "{~}");
                        SendKeys.Send(tempText);
                        SendKeys.Send("{DOWN}");
                    }
                    catch (Exception ex)
                    {
                        MessageBox.Show(ex.Message + "\n\nThe previous value was restored.", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
                        dataGridView1.CurrentCell.Value = previousValue;
                    }

QuestionGenerate ordered sequence of 11 numbers Pin
J-Cod3r1-Nov-08 7:57
J-Cod3r1-Nov-08 7:57 
GeneralRe: Generate ordered sequence of 11 numbers Pin
Luc Pattyn1-Nov-08 8:40
sitebuilderLuc Pattyn1-Nov-08 8:40 
Questiondatatable and datareader Pin
Zeyad Jalil1-Nov-08 6:58
professionalZeyad Jalil1-Nov-08 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.