physics chemistry maths science forums
become expert I help I sign up I login
refer a friend - earn nickels!!   
 advanced
 
Home
Ask & Discuss Questions
Study Material
Experts Zone
Hang Out!

Ask & Discuss Questions with Community & Experts

Moderation Team
 90 chars left    advanced
Ask iit jee aieee pet cbse icse state board community Community Discussion Question: vb help .....................
Forum Index -> General like the article? email it to a friend.  
Author Message
deedee (1651)

Blazing goIITian

Olaaa!! Perrrfect answer. 275  [413 rates]

deedee's Avatar

total posts: 819    
offline Offline
1)write a program in vb 2 print even nos upto n value in a text box
 
2)design a form conssisting of 2 text boxes to accept to nos n wriet a code in vb to display quotient and remainder  from 2 seperate label controlsa after clickin on command button
 
plezzzzzzzzzzzz tell these programs quickly .....help
they r easy ........bt dont knw hw 2write them .....coz i never attende ma teachers period

don't walk as if u rule d world
walk as if u dont care who rules d world

-this is knw as attitude


B who u r and say wat u feel ......
coz those who mind don't matter ........
and those who matter dont mind ......... :)


    
deedee (1651)

Blazing goIITian

Olaaa!! Perrrfect answer. 275  [413 rates]

deedee's Avatar

total posts: 819    
offline Offline
sumbody help yaar
plezzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
 
kal submit karna hai teacher ko plezz bataooooooooo

don't walk as if u rule d world
walk as if u dont care who rules d world

-this is knw as attitude


B who u r and say wat u feel ......
coz those who mind don't matter ........
and those who matter dont mind ......... :)


 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
kislay (1063)

Blazing goIITian

Olaaa!! Perrrfect answer. 187  [251 rates]

kislay's Avatar

total posts: 781    
offline Offline
1.

Private Sub Command1_Click()
Dim n, k As Integer
n = 0
k = Val(Text1.Text)

For n = 0 To k Step 2
Print n;

Next n

End Sub

 this reply: 5 points  (with Olaaa!! Perrrfect answer.   in 1 votes )   [?]
 
You have to be logged on to rate
  
kislay (1063)

Blazing goIITian

Olaaa!! Perrrfect answer. 187  [251 rates]

kislay's Avatar

total posts: 781    
offline Offline
2.
Private Sub Command1_Click()
Dim n, k, q, r As Integer

k = Val(Text1.Text)
n = Val(Text2.Text)
q = Int(k / n)
r = k Mod n
Label1.Caption = q
Label2.Caption = r


End Sub

 this reply: 5 points  (with Olaaa!! Perrrfect answer.   in 1 votes )   [?]
 
You have to be logged on to rate
  
kislay (1063)

Blazing goIITian

Olaaa!! Perrrfect answer. 187  [251 rates]

kislay's Avatar

total posts: 781    
offline Offline
in second one use of fix fuction instead of int wud be more appropriate.....

 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
feynmann (2093)

Forum Expert Blazing goIITian

Olaaa!! Perrrfect answer. 379  [478 rates]

feynmann's Avatar

total posts: 776    
online Online
Don't know VB .
 
Know only C , Java .
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
techack (53)

Hot goIITian

Olaaa!! Perrrfect answer. 9  [13 rates]

techack's Avatar

total posts: 114    
offline Offline
yes kisley is rite

If you like my posts, plz. "rate" me!
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
 
Forum Index -> General
Go to:   

Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Narayana - Kota , Delhi , Others
Brilliant Tutorials - Class , Crash
Aakash Institute - Medical , Engg
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya