| | |
windows dialog
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2004
Posts: 489
Reputation:
Solved Threads: 5
How to show a txt box? Basically I'm a newbie at this, done c++ console writing for a year now and moved on to win32. I've made a new project in .Net 2003... got it to load and have a close button using the following code:
I thought it would be similar to c++ but its not, so how could i create a windows dialog that says hello?
ASP.NET Syntax (Toggle Plain Text)
private: System::Void button1_Click(System::Object * sender, System::EventArgs * e) { this->show("hello"); this->Close(); }
I thought it would be similar to c++ but its not, so how could i create a windows dialog that says hello?
•
•
•
•
Originally Posted by Acidburn
How to show a txt box? Basically I'm a newbie at this, done c++ console writing for a year now and moved on to win32. I've made a new project in .Net 2003... got it to load and have a close button using the following code:
ASP.NET Syntax (Toggle Plain Text)
private: System::Void button1_Click(System::Object * sender, System::EventArgs * e) { this->show("hello"); this->Close(); }
I thought it would be similar to c++ but its not, so how could i create a windows dialog that says hello?
If you want to show new dialog, first u have to create another form object. If you want to show the MessageBox, here you go.
ASP.NET Syntax (Toggle Plain Text)
private: System::Void button1_Click(System::Object * sender, System::EventArgs * e) { MessageBox->show("hello"); this->Close(); }
Thanks,
KedarNath Challa
KedarNath Challa
![]() |
Similar Threads
- Send data on a serial port (C++)
- "Server busy" and adware when connecting to cstrike server (Viruses, Spyware and other Nasties)
- winXP no mouse in safe mode (Windows NT / 2000 / XP)
- Input a "password" string (C++)
- Trying to get rid of password prompt (Windows 95 / 98 / Me)
Other Threads in the ASP.NET Forum
- Previous Thread: How to auto increment?
- Next Thread: Long ado net question but urgent help required
Views: 2393 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor asp asp.net bc30451 bottomasp.net browser button c# c#gridviewcolumn checkbox click commonfunctions confirmationcodegeneration connection css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist edit editing expose feedback flash form formatdecimal forms formview google grid gridview homeedition hosting iframe iis javascript jquery list listbox login microsoft migration mono mouse mssql multistepregistration news numerical object objects panelmasterpagebuttoncontrols parent problem project radio reportemail richtextbox rotatepage save schoolproject search security session silverlight smartcard software sql sql-server sqlserver2005 suse textbox theft tracking unauthorized update validation vb.net video videos view virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice youareanotmemberofthedebuggerusers





