Click here to Skip to main content
15,909,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: HRESULT E_FAIL Error? Pin
Dave Kreskowiak8-Feb-06 2:01
mveDave Kreskowiak8-Feb-06 2:01 
GeneralRe: HRESULT E_FAIL Error? Pin
Mertli Ozgur Nevres8-Feb-06 22:46
Mertli Ozgur Nevres8-Feb-06 22:46 
GeneralRe: HRESULT E_FAIL Error? Pin
Dave Kreskowiak9-Feb-06 3:07
mveDave Kreskowiak9-Feb-06 3:07 
QuestionRunning SQL in a Thread Pin
MarkMokris7-Feb-06 5:43
MarkMokris7-Feb-06 5:43 
AnswerRe: Running SQL in a Thread Pin
Le centriste7-Feb-06 7:08
Le centriste7-Feb-06 7:08 
AnswerRe: Running SQL in a Thread Pin
LighthouseJ7-Feb-06 7:58
LighthouseJ7-Feb-06 7:58 
QuestionObject reference not set to an instance of an object. Pin
subbaraju7-Feb-06 5:30
subbaraju7-Feb-06 5:30 
AnswerRe: Object reference not set to an instance of an object. Pin
Nick Parker7-Feb-06 5:54
protectorNick Parker7-Feb-06 5:54 
Question.NET reentrant library Pin
objectiveal7-Feb-06 5:09
objectiveal7-Feb-06 5:09 
AnswerRe: .NET reentrant library Pin
Dave Kreskowiak7-Feb-06 5:25
mveDave Kreskowiak7-Feb-06 5:25 
AnswerRe: .NET reentrant library Pin
leppie7-Feb-06 10:09
leppie7-Feb-06 10:09 
GeneralRe: .NET reentrant library Pin
objectiveal12-Feb-06 23:12
objectiveal12-Feb-06 23:12 
QuestionOk, riddle me this! Pin
leppie7-Feb-06 4:49
leppie7-Feb-06 4:49 
AnswerRe: Ok, riddle me this! Pin
Nick Parker7-Feb-06 5:05
protectorNick Parker7-Feb-06 5:05 
GeneralRe: Ok, riddle me this! Pin
leppie7-Feb-06 5:13
leppie7-Feb-06 5:13 
GeneralRe: Ok, riddle me this! Pin
Nick Parker7-Feb-06 5:30
protectorNick Parker7-Feb-06 5:30 
GeneralRe: Ok, riddle me this! Pin
leppie7-Feb-06 9:30
leppie7-Feb-06 9:30 
Questionsql server credentials Pin
Dimitris Iliopoulos7-Feb-06 4:46
Dimitris Iliopoulos7-Feb-06 4:46 
QuestionPassing handles of one form to another Pin
spin vector7-Feb-06 4:41
spin vector7-Feb-06 4:41 
AnswerRe: Passing handles of one form to another Pin
Dave Kreskowiak7-Feb-06 5:07
mveDave Kreskowiak7-Feb-06 5:07 
Your description is confusing to say the least.

Are you saying the you want to show a second form that has a bunch of TextBoxs and you want to apply the values of these TextBox to the properties of your first Form???

Easy enough. Expose the vluaes of the TextBox's as Public Properties on your second form. Get the values using these property accessors and assign them to the properties of your form.
Form2 f2 = new Form2();
f2.ShowDialog();
this.Text = f2.TextValue;

//Form2
public class Form2 : blah
{
    public string TextValue
    {
        get
        {
            return this.TextBox3.Text;
        }
    }
}<pre>
Form Handles will have nothing to do with this at all.


RageInTheMachine9532<font size="-1">
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome</font>

 -- modified at 11:14 Tuesday 7th February, 2006

AnswerRe: Passing handles of one form to another Pin
jinzhecheng8-Feb-06 9:41
jinzhecheng8-Feb-06 9:41 
QuestionQuery a dataset or datatable Pin
venkatdc7-Feb-06 4:18
venkatdc7-Feb-06 4:18 
Questionerror massage after deploying program.. Pin
gongolina7-Feb-06 3:23
gongolina7-Feb-06 3:23 
AnswerRe: error massage after deploying program.. Pin
J4amieC7-Feb-06 3:31
J4amieC7-Feb-06 3:31 
QuestionFTP Client connection refused Pin
nickmacon7-Feb-06 3:14
nickmacon7-Feb-06 3:14 

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.