| .Net اور VB پروگرامنگ .Net اور VB پروگرامنگ |
![]() |
|
|
LinkBack | موضوع کے اختیارات | موضوع کی درجہ بندی | ظاہری انداز |
|
|
#1 |
|
Member
اجنبی
تاریخ شمولیت: Jul 2007
عمر: 27
مراسلات: 75
کمائي: 415
شکریہ: 2
12 مراسلہ میں 28 بارشکریہ ادا کیا گیا
|
[img width=186 height=97]http://z.about.com/d/visualbasic/1/0/O/4/learnvb61-1.gif[/img]
[left]We Are Going tp Creat Our First Visual Basic Application That Contains two command buttons when we click on the button it will give you message. 1. Start Visual Basic. Usually, 'Start > Programs > Microsoft Visual Studio > Microsoft Visual Basic 6.0'. 2. Click the default Standard EXE icon and then click the Open button. 3. Click the Command Button icon in the Toolbox. Draw two buttons on the form by clicking and dragging. 4. Click the first Command Button to select it. Open the property window and change the Name property to CommandA. Change the Caption to A. 5. Select the second Command Button from the drop down window at the top of the property window and then change the Name property to CommandB. Change the Caption to B. 6. Double click the first Command Button object in the form to open the code window for that button. 7. Enter the code, Msgbox "You clicked Button A" after the automatically entered code Private Sub CommandA_Click(). 8. Double click the second Command Button object in the form to open the code window for that button. 9. Enter the code, Msgbox "You clicked Button B" after the automatically entered code Private Sub CommandB_Click(). 10. Click the Run button in the toolbar at the top of the VB 6 development environment window to execute the program. 11. Click either button A or button B and It will give you message]! |
|
|
|
|
#2 |
|
ناظم اعلی
![]() ![]() ![]() ![]() |
hmmmm nice lemme try
|
|
|
|
|
#4 |
|
Senior Member
![]() تاریخ شمولیت: Sep 2007
مقام: پاکستان
عمر: 28
مراسلات: 2,784
کمائي: 41,232
شکریہ: 2,665
1,641 مراسلہ میں 3,772 بارشکریہ ادا کیا گیا
|
بہت بہت شکریہ
|
|
|
|
|
#5 |
|
Senior Member
![]() ![]() |
سلام،
مذکورہ دھاگے کا مقصد پورا ہو گیا ہے لہذا اسکو بند کیا جارہاہے۔ تما م پوسٹنگ کرنے والے خواتین و حضرات کا شکریہ۔ وسلام، |
|
|
![]() |
| Tags |
| color, com, command, environment, height, icon, private, vb6, اردو, جواب, حضرات, خواتین |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| موضوع کے اختیارات | |
| ظاہری انداز | Rate This Thread |
|
|
Similar Threads
|
||||
| موضوع | موضوع شروع کیا | فورم | جوابات | آخری مراسلہ |
| Visual basic | اسد لطیف | کتاب گھر | 17 | 14-09-10 01:11 PM |
| Visual Basic Help | wajee | Ask Experts ماہرین کی رائے | 12 | 01-02-10 09:46 AM |
| Visual Basic Help | wajee | Ask Experts ماہرین کی رائے | 2 | 21-06-09 09:55 PM |
| visual basic 2008 | wajee | سوفٹ ویرز کے بارے میں آپکی رائے اور سوفٹ ویر کی درخواست | 1 | 25-03-09 12:21 PM |
| Visual Basic Course Lesson 1 | مبشر | .Net اور VB پروگرامنگ | 4 | 28-12-07 06:25 PM |