Click here to Skip to main content
15,890,845 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: DataGridView "not always"/sometimes adjusting row height for wordwrap Pin
sa_blackmon17-May-10 3:14
sa_blackmon17-May-10 3:14 
GeneralRe: DataGridView "not always"/sometimes adjusting row height for wordwrap Pin
Henry Minute17-May-10 3:20
Henry Minute17-May-10 3:20 
QuestionDisabling cell selection in DataGrid Pin
JW73814-May-10 8:11
JW73814-May-10 8:11 
AnswerRe: Disabling cell selection in DataGrid Pin
Peace ON25-May-10 20:28
Peace ON25-May-10 20:28 
Questionhow to connect reportviewer to dataset Pin
vikas shukla14-May-10 3:09
vikas shukla14-May-10 3:09 
AnswerRe: how to connect reportviewer to dataset Pin
Illuminaries4-Jun-10 4:50
Illuminaries4-Jun-10 4:50 
QuestionCould use some guidance on Word Checkboxes Pin
msx2313-May-10 11:47
msx2313-May-10 11:47 
QuestionPassing textbox value into instance Pin
Member 447022311-May-10 22:04
Member 447022311-May-10 22:04 
I have written the following code in windows
---------------------------------------------
TextBox1.Text = Application.ProductName + "." + acode.Text;
System.Reflection.Assembly tempAssembly = System.Reflection.Assembly.GetExecutingAssembly();
Form frm1 = new Form();
Form frm1 = (Form)tempAssembly.CreateInstance(TextBox1.Text);
frm1.show();
---------------------------------------------
Here error is been generated,in frm1.show() line,object reference not set to an instance of the object.The TextBox1.Text contents are not
been displayed in frm1 which is the instance of Form and getting null
value
Please suggest me the solution to the error above.
Thanks
Ramesh
AnswerRe: Passing textbox value into instance Pin
Henry Minute13-May-10 13:06
Henry Minute13-May-10 13:06 
AnswerRe: Passing textbox value into instance Pin
Luc Pattyn13-May-10 13:13
sitebuilderLuc Pattyn13-May-10 13:13 
Question'Deck of cards' tab-like functionality Pin
span23711-May-10 20:10
span23711-May-10 20:10 
AnswerRe: 'Deck of cards' tab-like functionality Pin
Som Shekhar11-May-10 20:46
Som Shekhar11-May-10 20:46 
GeneralRe: 'Deck of cards' tab-like functionality Pin
span23711-May-10 21:32
span23711-May-10 21:32 
GeneralRe: 'Deck of cards' tab-like functionality Pin
span23712-May-10 14:18
span23712-May-10 14:18 
QuestionDatagrid view checkboxx Pin
eraser95010-May-10 5:19
eraser95010-May-10 5:19 
AnswerRe: Datagrid view checkboxx Pin
Abhinav S10-May-10 21:18
Abhinav S10-May-10 21:18 
GeneralRe: Datagrid view checkboxx Pin
jaypatel51223-May-10 11:20
jaypatel51223-May-10 11:20 
AnswerRe: Datagrid view checkboxx Pin
Peace ON11-May-10 2:34
Peace ON11-May-10 2:34 
QuestionRegex Question Pin
Alan Burkhart6-May-10 2:13
Alan Burkhart6-May-10 2:13 
AnswerRe: Regex Question Pin
Alan Burkhart6-May-10 3:39
Alan Burkhart6-May-10 3:39 
Questionlong sms sending using c# Pin
eraser9505-May-10 19:42
eraser9505-May-10 19:42 
AnswerRe: long sms sending using c# Pin
Dave Kreskowiak6-May-10 1:45
mveDave Kreskowiak6-May-10 1:45 
GeneralRe: long sms sending using c# Pin
eraser9509-May-10 6:39
eraser9509-May-10 6:39 
GeneralRe: long sms sending using c# Pin
Dave Kreskowiak9-May-10 8:13
mveDave Kreskowiak9-May-10 8:13 
GeneralRe: long sms sending using c# Pin
eraser95010-May-10 5:17
eraser95010-May-10 5:17 

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.