How do I write a simple app. (a .exe file) that when I run it will open a window on desktop with window titles "Hello Window" and the content of the window is "Hello World!" using Visual Studio 2k8 with C# ?
Thanks!
"Hello World!" help :)
-
wswartzendruber
- Junior Member

- Posts: 377
- Joined: Fri Apr 15, 2005 10:33 am
- Location: Idaho, USA
Re: "Hello World!" help :)
[quote="spt60"]How do I write a simple app. (a .exe file) that when I run it will open a window on desktop with window titles "Hello Window" and the content of the window is "Hello World!" using Visual Studio 2k8 with C# ?
1. Start Visual Studio.
2. Create a new Windows Application.
3. Draw a label in the new, blank form.
4. Double-click the form outside the label.
5. Put in 'label1.Text = "Hello, world";'
6. Punch F5.
1. Start Visual Studio.
2. Create a new Windows Application.
3. Draw a label in the new, blank form.
4. Double-click the form outside the label.
5. Put in 'label1.Text = "Hello, world";'
6. Punch F5.
Model: Lenovo ThinkPad T400
CPU: Intel Core 2 Duo P8400 (2.26 GHz, 1067 MHz FSB, 3 MB L2 Cache)
RAM: 4 GB PC-8500 (1067 MHz, Dual-channel)
HDD: 500 GB, 54000 RPM
Audio: Conexant CX20561 (192 kHz, 24-bit)
Video: Intel GMA 4500MHD
Wireless: Intel 5300
CPU: Intel Core 2 Duo P8400 (2.26 GHz, 1067 MHz FSB, 3 MB L2 Cache)
RAM: 4 GB PC-8500 (1067 MHz, Dual-channel)
HDD: 500 GB, 54000 RPM
Audio: Conexant CX20561 (192 kHz, 24-bit)
Video: Intel GMA 4500MHD
Wireless: Intel 5300
-
wswartzendruber
- Junior Member

- Posts: 377
- Joined: Fri Apr 15, 2005 10:33 am
- Location: Idaho, USA
Yup. It will be in either a "Debug" or "Release" folder.spt60 wrote:By saying Windows Application, you meant Windows Form Application right? I went to the Workspace Debug folder and found a .exe file there and it ran fine. So everytime we compile/debug it will automatically create a .exe file right?
Model: Lenovo ThinkPad T400
CPU: Intel Core 2 Duo P8400 (2.26 GHz, 1067 MHz FSB, 3 MB L2 Cache)
RAM: 4 GB PC-8500 (1067 MHz, Dual-channel)
HDD: 500 GB, 54000 RPM
Audio: Conexant CX20561 (192 kHz, 24-bit)
Video: Intel GMA 4500MHD
Wireless: Intel 5300
CPU: Intel Core 2 Duo P8400 (2.26 GHz, 1067 MHz FSB, 3 MB L2 Cache)
RAM: 4 GB PC-8500 (1067 MHz, Dual-channel)
HDD: 500 GB, 54000 RPM
Audio: Conexant CX20561 (192 kHz, 24-bit)
Video: Intel GMA 4500MHD
Wireless: Intel 5300
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Ultranav not working. Help.
by Blender » Wed Jan 04, 2017 7:35 pm » in ThinkPad R, A, G and Z Series - 14 Replies
- 1842 Views
-
Last post by dr_st
Tue Jan 17, 2017 3:15 am
-
-
-
Invalid tar magic with tar command. Help.
by Blender » Fri Jan 06, 2017 1:35 am » in Linux Questions - 2 Replies
- 818 Views
-
Last post by jaspen-meyer
Mon Jan 09, 2017 2:06 am
-
-
-
Choosing between a W701 and a T601f. Help required.
by fourthree » Tue Jan 10, 2017 1:06 pm » in Thinkpad - General HARDWARE/SOFTWARE questions - 16 Replies
- 3568 Views
-
Last post by dr_st
Tue Mar 14, 2017 3:29 am
-
-
- 6 Replies
- 1763 Views
-
Last post by Whitieiii
Wed Mar 15, 2017 8:48 am
Who is online
Users browsing this forum: No registered users and 0 guests



