Oh, ok, that sounds like a plan.

1) I did not know that I could use Inputbox.
2) Error: Inputbox is not a member of System.Windows.Forms.Form

Thanks, I will try using Inputbox immediately.

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy 
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com

-----Original Message-----
From: Patrick Steele [mailto:PSteele@;IpdSolution.com] 
Sent: Tuesday, October 22, 2002 10:30 AM
To: dotnet
Subject: RE: VB.NET(not ASP) version of VB6 Inputbox?

First, why not use the InputBox function just like you did in VB6?

Second, exactly what problem are you having?  A compile error?  A
runtime error?

---
Patrick Steele ([EMAIL PROTECTED])
Lead Software Architect
Image Process Design



-----Original Message-----
From: Matthew Small [mailto:matt7@;showstopperonline.com] 
Sent: Tuesday, October 22, 2002 10:19 AM
To: dotnet
Subject: RE: VB.NET(not ASP) version of VB6 Inputbox?


OK, I tried that, I'm running into the same problem I had before, which
is really just ignorance on how the form process works and my learning
VB.NET in general.

This is a condensed version of what I'm doing:

Dim IText as String
Dim EntryIdForm As System.Windows.Forms.Form = New Form2()
EntryIdForm.ShowDialog()
IText = EntryIdForm.InputValue

Form2 is a very basic form, containing a label, a textbox, and a button.
What I want is for my main form to stop, display EntryIDForm, have the
user input the information and click the button, then the main form
subroutine continue using the information from the child form.

Thanks,

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy 
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com

-----Original Message-----
From: Patrick Steele [mailto:PSteele@;IpdSolution.com] 
Sent: Tuesday, October 22, 2002 9:58 AM
To: dotnet
Subject: RE: VB.NET(not ASP) version of VB6 Inputbox?

Expose a public property:

Public ReadOnly Property InputValue
        Get
                Return m_TextBox.Text
        End Get
End Property

---
Patrick Steele ([EMAIL PROTECTED])
Lead Software Architect
Image Process Design



-----Original Message-----
From: Matthew Small [mailto:matt7@;showstopperonline.com] 
Sent: Tuesday, October 22, 2002 9:52 AM
To: dotnet
Subject: VB.NET(not ASP) version of VB6 Inputbox?


Hi,
        I'm having the hardest time trying to figure out how to
implement a form that will act like an Inputbox from VB6.0.  
        I can create a new form, get it to show, but I cannot figure out
how to access the information in the textbox I've placed on it.  Any
pointers for me?

Thank you,

Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy 
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com





---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/






---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/






---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to