Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 6th, 2004, 12:58 PM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB Questions

HI I AM NEW HERE AND I HAVE SOME QUESTIONS WHICH I REALLY DON'T KNOW CAN U GUYS HELP ME OUT PLZZZZZ

1/A text box control cannot accept and display multiple lines of text.Do you agree with this statement? why?

2/Can we have more than one grid control in a form?

3/Accept a name in a input box and display the same name in the message box?

4/list the controls which are not data aware?

5/what is the different between "caption" property and "Name" property?

6/predict the output of the following code
for i=1 to 2
for j =2 to 1 step-1
print i+j,i-j
next i
next j

I WILL BE WAITING FOR YOUR GOOD ANWERS

 
Old May 6th, 2004, 01:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do your own homework!

Larry Asher
 
Old May 6th, 2004, 01:03 PM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this is not my homework, I have got a very big assignment with many questions many of them i have already finished but these ones i really dont know and understand thats why i have posted them here for getting you helps !!!!!!

 
Old May 6th, 2004, 01:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

i will not help you with your homework.. but i can point you..
1) draw a textbox.. look in all the properties ;)
2) try it ;)
3) try it!!!! ;)
4) i dont understand this..
5) do you have the manual??? use it
6) if you are learning how to make programs, you can trace it.. do the same at visual will do.. if not. at least write the code and play it!

HTH

Gonzalo
 
Old May 6th, 2004, 02:11 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It sound like homework to me.

STOP ADVERTISING YOUR SICK PORN ON THIS SITE!!!

Please do not help this user. He has porn sites as cool sites on his/her profile.



Sal
 
Old May 24th, 2004, 07:53 AM
Authorized User
 
Join Date: Apr 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tact_259
Default

Hi Priyanka!

These are very simple ....

As per I know here are the ans of your questions..
1) Make text box property "Multiline" to true. It will display multiline as well as accept also.
2)Yes
3)Put a text box and a commond button on your form and
  a) You can check keycode in text1_keypress event of text box for 13 (Enter Key) and write the following code..

command1.caption = text1.text

4) I am not able to understand your question

5) Caption property of a control is the text which appears on the control and name property is used to identify that control in programming language (Code).

6)First you should make autoredraw property of the form to TRUE.
and then write this code in commond button click event.
and see the output on the form.

I think this will help you.
Bye


Arun Kumar
B-259, Vaishali Nagar,
Jaipur-302021
Rajasthan
India





Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Interview Questions, C# Interview Questions, dotnetuncle .NET Framework 2.0 4 June 22nd, 2019 07:03 AM
vb.net 20005 Questions, Please help me compad VB.NET 0 July 30th, 2008 04:30 AM
Good VB interview questions are needed. BigDude Access VBA 1 August 30th, 2005 07:40 AM
5 Questions in VB ramk_1978 Beginning VB 6 1 January 14th, 2005 01:06 PM
Please go through this questions phpsharma PHP How-To 0 November 4th, 2003 03:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.