|
-
Jul 25th, 2009, 10:12 AM
#1
Thread Starter
New Member
Any book for those who want to move to VB from Qbasic
I am 61 years old. I had created some good programs in QBasic. Can some one suggest a book or help me in converting those to VB.
for example, how to put following code in VB
10 CLS : REM STRL CALCULATION FOR CRANES
11 PRINT "Enter crane data": PRINT
12 PRINT "EACH DATA MUST BE SEPARATED BY COMMAS": PRINT : PRINT
20 PRINT "CAPACITY SPAN CLASS WT.OF WIDTH CTRAIL LT DRIVE"
30 PRINT "IN IN OF TROLY OF 40 SQ(1) CENTRAL(1)"
40 PRINT "KGS. METRE DUTY (KGS) PLTFM 50 SQ(2) TWIN (2)"
50 PRINT " (AUTO=1) (MM) 60 Lb(3)"
60 PRINT " 90 Lb(4)"
70 PRINT "___________________________________________________________"
80 INPUT "", CAP, SPAN, cod%, TWT%, PLTW%, CTRL%, LTDR%
81 IF cod% > 4 OR cod% < 1 THEN PRINT "Wrong Class of duty. Re-enter all data": GOTO 80
82 IF CTRL% > 4 OR CTRL% < 1 THEN PRINT "Wrong CT Rail. Re-enter all data": GOTO 80
83 IF LTDR% > 2 OR LTDR% < 1 THEN PRINT "Wrong LT Rail. Re-enter all data": GOTO 80
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|