0% found this document useful (0 votes)
55 views50 pages

Visual Basic PDF

Uploaded by

kulesvar yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
55 views50 pages

Visual Basic PDF

Uploaded by

kulesvar yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 50
wow By av rouse [oiseg [eNsTA UT Suruuress01g - ino) sexeyureya ep oreiep)—-sue"h-ye aaa] AREED o y Unit: Uniem : 8, Type of errors, Break mode Debug toolbar, tediate window, Local window, Tracing program flow with Using the ADO Data Control : Overview of Actives Visual Basic data access featut 1g the ADO Data control to access data, Overview of DAO, RDO, Data Control, Structured Query Language (SQL), Manipulating data using Data Form Wizard. Unit V + 9. report Generation : Overview of Report, Data Report, Add groups, Data Environment, Connection to Database, Introduction to Crystal Report Gen 1 events, Drag- 1%, MDI (Multiple vuear 2. west 3, wes 4, ‘wear 5 eat 6, ‘What is visual basic ? Explain important feat oR’ . sttedhae wer & 2 stesher, Here sire wae wot ofa asiTe What is object ? Describe the properties, methods and events, (PL RSS.U.2016) fer ifr ete... Saee ee Ea VR, Describe the For... Next Statin VB. (PE RSS.U.2016) {salt ler Inputed numbers @ wes weft shes (shen) wey wea w Pere storey esr rogram in VB f ing the largest no, of any three inputed @ERSS.U2016) RES 1FStatement wr vehat aa ge Aor eee Ht awe a at fre Vat hart fee meet (PLRSS.U.2017) vent Srenfer wraniaian stor eel} per aren & ? ‘event driven programming languag OR @PERSS. What is event driven programming ? (PLRSS.U.2015) oR ‘Ste lear GranfPior oz ves eiferer feuroh RRB Write a short note on event driven programming, (Pt. RS.S.U.2017) Ragoret Bfkre aot saquind ak qu saa JMNOD Yay, ie eae eee to put ge Stoo cu JetEeId.o5n UP ge Ini 8 —srooy Buddsay 0241 (P) 92K | dntautaas soniye wares “gure*bye Q2te RIP) ‘Dye YB Ye | ze 14 | Tah, tH at (Rector AO ‘sic omg. fargsret After ame | 15 swear 4 frgaret Mfrs wr Event sents stenfeer aston ae wer ore”? freee fo Fentiom0 miso Higher misrprscessr, VGA 640% 480 Higher Resolaton eventdeiven programming language? Explain. Fa. § @ obit oh Reeare & eres | ‘ecomponents of IDE in brief. (Pt R.S.S-U. June 2018) on evelopment Environment) of Visual Basic. (PC RSS.U.2005, 12,14) & fares response W Brer execute: ger fe sara a eet ore Fr vent (Baton) (Ck) a cor reece faerer wy Fig, : IDE of Visual Basic MOUIUOSIANS sor 4 2A AY @ "ew oN kw Hom ye sets JzEYA porG MOPUIM Ye Guoras'sw a) dues paca med | aburBiew ig nee uo ICN x0 (et0z efnauws “e107 ass uta) sun205 1 Tens uy suopyo juouruostaus snoqea sq) 948 rea "SSW aq Dus aye ‘eduibier w 2ibeny xm Hondo iwoummostaua wsteya} @ coase iniefRy “1 eats ua 2p san ugy payed ie @ eB souoUr gp wn ye 24 yal OF | tapes aotape soieTaie}- "Bite" ‘peaji95 IP ga wondo mowuostAus fB1B ee x09 ojp words sjoor ge mopuLA A dte Gain mye) Dye Ye ya | oF ‘sii omg, fergarer Atte stir | 19 as | Tat, ot Sh aw Cette BO et veut basic controls dens 228 shop fe oe za 1 Ft form wer Rear interface Maz sweat B GH single er ETE ST ie Tenge eer —garge err wicerer Dear pt reer srxtioraioet & ot wehorcef act OK eM cancel eat were ea B 1 aE aoa art srepETE wor wea B every sretrasal rer gorge: Reh arr Fgor arr emt feet a Return sve B ex wetter OK a a FS 22 | Tait, oft wt, eit, (feetta BO, ‘sity amg, ferqarer fren sitet | 23 ‘wer 13. Explain project. (PERSSU- June 2018) oR rarer Ares vichaess, orf er eaettaeete wore BaP Free B ee | Wha ‘sex inV.B.? Explain, (Pt. RSS.U-2009) vy Bren arexeeres & eft wore FareA objects Fare objects & BNA Roa ore BTS ects 8 cen epraf ater print Resa on wave oir raf objects rer Roe are aor ah se RAI ao ow aver Rv oe at ae snc rte | 2te e URBren & Rrra eraBerr aes er ces DIE ze & ort ares fl ction sare ot 21 TE Fer PM aver a sad ore aoref ait A GoW HAL) HA—GSY/ HAL) WA, OxetIo- wonsenang ang (ALD WA! (ree) 1A PON GxoLemaL) av! Ox” FenUauoda ang Salsa ang pus, xy ene ~ ajdt z=epow oz ot=pve ores z=s/01 -s-6 6=+s yee ; seveiodo —g mmione siowiado lg @ Yedstole iplalie Ip yaw we my —siojeiado sna) muons siowiodo @ 2ibm wiguapese, fe o1meq enstA. 1g yas wpbdnue gx somodo sete Je Digy — ea a1e0008 dO Se | nus sone mteTe)~fte'b yo Snounpe PIR UAELY Ke oISeEL gp vosssaudig SNOUNE Loon "g.2ig kedor gr mopurm 1 g tin 4a (e1or ssw) 1g mosis to aay As |g abyp Buyssan0ud fyppULON, (coz 'ars'sa 1) “ UR SOT S]qUINIAX BIUDe pedaNON ‘prdp1oNy TOIOINO|ED (Bip AERAHLEE BEIAWYRA Yel Ng 4peg ung hie Kebne qe S19LG0 Sich Lok fe InPRLWIP Yo UEC) @ \BaRI BRIA De 1 UDB bees 199998 we o1YJ a]qUINDOXS qe MUOU! 91) DIE gp keauk BS 13 LHD thKel NoALOD Je 919 e1qeinaoxo kp SOIT oolOud forBigy @ amegI YA A esq aIqQUINDIX Geant mIpRy ‘a “YR IE Ye | oz 26 | Ta ft St. wt. enter aD }) Comparision Operators— Compatision O omer 34 gore abt orret &-gereET Result were (1 5 a wererat & et Value wr ie 3 True 2 False ret ett 1 Visual Basic fersaferRxet Compartsion Operators Ber B— Operator ‘Comparision Example > Greater than | a>b < Less than ach > Greater then or Equalto a> =D <= Less than or Equal to a<=b twor<> ‘Not equal to arb Example \Command2_Click) is Less then b* is Less than a" Ens Sub Private Sub Command3_Click() a= Val(Textl Text) be Val(Text2.Text) Ifa>=b Then Print "ais greater than or equal to b" is greater than or equal Ifa<=b Then ‘ais Less then or equalito b" is Less than or equal to a" is Not equal to b"” ‘ais equal to b” ‘ata Fegare fem ster | 27 (iil) Logical Operators— Visual Basic # Decision making @ fEre Logical (enf@5@) operators amr srettat fare omrerr 81 VB # Ferserferner Logical Operat sacra 8 'AND Operator ~ $21 operator 21 Weir et SFersT-3Ferar expression wt logically ‘tear & fare Pope rer ‘gerdi dt expression 2 offer fave omar & af tet Lh wier vf at Result H Truc wet eae Expressi True True False False False Expression? Result True False False False OR Operator —aai Tall expression H F float Cas B af ereer ee we Result A Trae une eat 1 Expression 1 Expression 2 True True Tre False False False Result True True True False NOT Operator—€2 operator veltar expression wt logical BH H-aeere wy oft 8 fro Pisa ort Br Result False True 1g unde ra ep Je 2evo1omo] bite asvatoddn ails fest ple 2AnIsu9s aF09 {Baty Ske Yb ergy nie 1 g apace optnoad as unop doup ge siuona aie Sloye je gue wieBe inp 2 SopuIA, 10NPA9POD = Be SID Bag IA-UHop-domp yejonve> yore ‘ue sey JOrP Je yelss wire tense MOPUIN 4301P9 900 sate Igo sy 121A} bale Gh Yolen neleds WE HIMGUT say Yo 2 Ge ge i {Bak 224 ale Whi @ jel oon amie @ oRYP wey wah ZIpoe Peay | Ske RYE ke sD anole @ apinlh A |g {pe {gp LRH IMRAE YP leas lege beer @ leu kp aid jeiie) @ lak) Waa Le see wielBRy Ieaky 22gA Re-2De (eocarssa” is -eble hAta 12g fnteje) Ste “Z ue telh Bema @ Neti Ren fe wae wreTo|-2e Gren ‘er ‘sooz-ars's11) * "aA usdG evep oysea ane TEMA 2 Sine aunn ing oie @ cE wieTbRy “61 eat OT | igus soap oretey“pure"h ys Guznssa ya) ‘xoqiisiy pure xoqinduy Suysn s1oquint 043 Jo wonxppe oj wesBoad waaay, ka fedljo igo Yotmamee ta ype 2B poe Lele 1m apjpofies of= Ai ~ side Geen pIpy) Dye YE IE | gz 30 | Tah, vA, St at. (fart BO UNIT-2 weet ‘ater gore ‘Compare the If. example. Fee rr ee 1. | garar structure Sat (complex) Brett (a>, <==anfe) a Stes ate, anf) esr setonFper ere a 4, | ards “break” statementopr sar Et Risa or eee 5, | gerd ore af “else” statement Bet & 1 re aft rer Gren Bet eae Teva us ta type aft sreearane Br et ee wes type wer ore 81 ‘sor defined data type @ define waar 3 REE Type ea apr seat Fp sae | Set Strucumead oroee OH af sreras 21-5 data type ® variable Wr declare Per aTeT 8 | Example: Salary As Currency EmployeeNumber As Integer Endy Type “Sit4.ong.-fargaret a@ftras arenftfr | 31 User defined data type WH defing zat B wearers were ST we ‘west 3. 2ftior tecrat Describe the Tracing problem program flow with 2 det gir debug toolbar buttons ne wpa EL et a, afBes Watched window expression ‘it customes wet Bt count web Tara B, varia ble Hot sal B 1 gir BEE problem wr custom <0 watch window at add Wz BOS (ee na A RE I ee RUE Sye Lop inne 1BOWU Ap gene Le Lee au ‘ease asp 18 9s AUB? WB LIP AARYLE lop s]ONUO> bnelnere @kR plomsayqns tb g a1aLd hums Lexi) Spe wean 1g wee to taegy 2k BIB @ BALLS male Blieed 1 uor ‘sivofgo “sorusdoud ane {twnsts uf oampas0.d jo sod8s uerdxz zsanpoooad s yeaa ne Aen 2hbn MARU @ mie ieee ¢ 2 itam AIGIZNN “Sloan SC | testis serie clam ane feye id soap dons LY mye 12 Lease Ln ital etn ye ampoo0id pavle feud ese ay @ ate La 2009p ep me ane a : 1B pane ace iauepa® an a209822pun i } | Gatue Bpe) hyp Ye ye ypu | ce 34) Toa, oft, gt at. fect FiO e=atb 1 (afeeat Statement) (PLRS.S.U. 2008, 09, 10, 11, 12,15) oR Jing statement an RE? afte sere Ue eS eoTETET | Wantare thevarious loopingstatements availablein VB ? Explain with suitable example and program. (PCR SSU.2017) cree Decison Making (Perofancora Statement) —og are atanfrar & aarar Def Rear om h Bae ere eB as ovferen aerate ee UT Ne B FOrecH User wt Peet ae cbedtoeer tor Brrr aozer eter & Ga Rea B wre amas fare fOqgoret Aree Broereen emaghen rer Roe aver fDrovnt eter ara pyre faroer arate Manor A ard oft oer azar 8 af statements er a eA, lock Hf Waer BZ execute (Rae) sa B alt re areca & Foren Wes wert true Bra TZ aE ATT ‘areeeny ae ar sree woerar Ue Transfer 8Y oT & ote: a Endif Setect CaseSelect case 2227=@21 multiple conditon 3 oii wae & fore sift “gugent Bat 8 get Zeaee I conditions WY case convert Rt eB 1a Nesta if wet ar eter B Case express Block of statements [Case expres Block of busic statements ic statement case else ement end select ‘Sits ong. —fergprer Aftras sranftiay et qLooping)—Looping te sstroent 8 ite tert Seer SEE (execute) asa" ora a2 Ro programa #8 a7 conditon false a1 BY ONT 1s Hees aN Boden a crave ao er Be eoref aoe BI , ergarer Afr a Prsor oy ered ewe B— le wend loop, 2. Do while loop, 3. Do unit! loop, 4, For statement, 5. For each Do loop & warrer &1 See ee aa jop—are wate sitar Fase ont aren ae {Sr Exit controt loop aft rents 3B 2726 ccimparison expression # wel zat B 1 Private sub Timer 1_Times( ) ‘Do until Me. Left 8000 Me. Left=Me. Left+1 Loop Do until Me. Top = 5000 | Bigyyo bu Sys ko York 26m 2m Ae18 fom LE | tetas soniye iatelives—pure "bye 1g uous woqwaro 2Q wee Ip g wee YONI squonng 94 2M Qe 2 BOln erp 2182.9 2A Eee hile Mab 1g IIE SBIDI NEE wa aise (ing 2 1D Lea Lye je IO} QEep YOU BU BE g ere awa 2 ES ej WH 128 uz @sjonuos unb si9! Gath py) aR YR “Ys Ho | 9f 38 | Tah, ot A a (facta aire ‘Types of Array!) vy (Ree 82) Rea 8 Foret pre wr ee eer Fs BEF input Fra oT TEA static array BEB Static ar Underflow, atatype; Example-ReDim a()Asin Ss ‘ReDim array name er va aren aed cfr eat geet 9. 2aree ate, Sater ae awaIVS ae a GUI a TAGE ‘adh aor Bg PETES wT | cea design with using textbo. 1 labeland command button and find out inputed year copy 2 arg value wr & wart wa 8 FOr Get format value a wea a Fase aft ape ar wana ar Bre & |e function w Bret vari mre tert Bt ‘fi, ag, eaqsrer fren stir | 39 Privat Sub Swap (By valaAs Integer, By va b As teas) 849940] onus sod won reiiea eae $suopoimy urns Heb 2 tate may Aigy ge Bw avEMINOD lop FUME Lefora Baga BE—( MOOG | abublese io uote wey Preyaoeey “11 ea, Uy | otitis sey preaiel~"fire"be ys (Getye eipR) Dye IR UE In | ov 4g | Tah ot SH. hE (arta SheO Pri Print “the additon of matrix is =" Fora=0Te2 Forb=0T>2 7 Print resulta, by; Next Print Next End Sub f Private Sub Commandl_Click( ) ‘Dim mat], 2) As Int. -Box (“enter the element for metrix element”) Next End Sub Private Sub Command2 Dimmat2 (2,2) As Integer Fora=0To2 Forb=0To2 ‘mat2 (a, b)= Input Next Next Print Print “the entered matrix is” Fora=0To2 Forb=0To2 Print mat2(a, b) inter the element for Newt End Sub ‘aeat 13, Write a program to perform: ‘Sit ag. Ferqarer afer iteter | 43 (PERSS.U.2011, 12) Arithmetic, Multiplication, Minus, Divide Using Select ease. OR _sifdershfeen srrertermer wh creat azo een wap stater Fenfe “Write a program to perform arithmetic operations. (PERSS.U2015) “Text, Text™= Case2 ‘Val (Text2-Text) Val CText3.Text) a= Val (Text2-Text) b= Val Text3.Text) caath Textd, Text=© Case a= Val (Text2. Text) be Val (Text3. Te e=ale Textd, Texte Case Else Msg Box “wrong choice” 1g uate my owato gen toyett xo Ho} SOUL, settey @ take tase) 298019 1opuETeD EE VOHaINy YeLIOS ye ar psa wonigey Ue fe BUR @ POND tee eee nore @ onYE Wie Leer ke 1 uno wr ne @ Suns tow ausuINN, yp some eye ‘sydx0 HDIM xoq 39 pUE xoq oqUIOD H99M}0q EHUDLOIC, | pSubier Baye nz2IRe AbeIC Lb IAD|p 2210} eld DIE Leelga “PT Heath ‘Sp | gu sep oreo “te boys Cee Py) Re ETE | oP 46 | TA, oh, ay cfateaeD ‘ita an,feraprer ara steer | 47 ‘eon 17, @Htor tre ter erga wien wor rt ane chose Aa Be try rH Py {Commant_Click() ‘Wap tocreate calander with using timercontroland imagebox. (PRS. 2015) Di a 1 (By Val n As Integer) As Double | rate & Time and find out simple interest and (PLRSS.U.2014) dhexample- Barer oreer vhfbrore a afer Poser omen @ PBrersh jure were B eM it PTE call BET 1g ae staeej 98m se HOU soa. ye aunpo0ud «oa je of Gurasswa adhe W812 ypBwimor ones jw 21h Ie wigs @26R)US I aie) 6h | Leptin soto Joie Tie)" Bue ys Hig eng wa. leben Dagteain 120 aide 27 jenn org Oyo” cpuewne Qos pu BE kb g wd meal SoU BIB @ 1g um uo (ple 18S je ala @ IARI We 28 way 2 hin IRB pew Leger Up aidke jekeigy 2 iequane @ wnye icky 07 as Gate mY) DBR We —L | sr 50 | Taft, ot st ew (Raetta ie Forward Jumping #65" We procedures ws ora wY gare 3A aH ae jump AE ‘wan backward Jumping 3 Bat Ww procedure af wa sa wg gb we 8, she eet seh “statement 21TE execute BEAT BY at GH Backward Jumping use wa B | End Sub. ‘gea124, Write a Visual Basic program for print \bie of a given number. (PLRSSU.2014) ‘ito. Ferret afte venti | 51 swear 25. fefbroer ere B caer we Sand sehr aeTEMET | ait aes 81a E, We @ atibian procedure BY 1 eas er verar data ® pieces Brave, Forme 22 function ot memory 3 usa B define Era B, Predefine jon gat wore B— , gon a et i ok |. tone ia De uae ge Leaman Yeu 8 aR ene Zee oda je xoqion, roping lamas na testo ee ainBse Denes Yeni 21% 2212 ee igie Shye je 20G 18 ge 21809 Inn ony @ 1g kita Jobe Xomny jones unter ie aie meen ake Gr'stor-assw) “ou aaubier (01'60'9000 S's 1a) 210 “s2ofqo aiquatns oats Sue metda ; yosyu00 xo. NORUBLeIE (ge SoteOUC Ban [pew 2 2 Lan Ben wo. (soz ssa) ene GV'etae arS'8211a) suua|9 50 soqtun 95/8 63108 09 fureaBosd wanaA4 zwar 5 1 dehy cesaje sates “gue"bcus, 1.2. ypebke Be sse008 Age opranjmu wa Bible len s2amos vwp @ if nule yeotse9 fenstA 1 Usain apraoud soxpsoVaL reuxp aa alg @ s99fgO ss0998 Hep fe Dofos4 JehiE OUTHEOP HsMAYOHLAD {ye spuouN0D iQ) @ kRIN S809" 4m EMP hie ABE g wwe LYeIE YO TT Dea ws sealer tetda aula was eane it tereg eecoenerreee ea oer ee | naublers mye aaine ke YelenleRy wiabA ote aye wieThR| T Hath e-LINN Gethe mpe) Dw ye Ye | zs “ita ond, -Perarer ater tee | $8 user seek res arate fare za ® Forer2 properties {rol—2te contol S| 6 porqrua's 9 avon dears pu 2 yun ip 212 @ ad Bas oy 9 AR 12 tbtie may egy use 1 Qunme ua ga 2ide gag ite it onde Cony. mR) DP YE Ye YL | 9s 58 | Tat, ot, at. ay, Ciacter aO ‘Sit ang. —fergarer fer stent | 59 ‘geat7. What is ADO control. Explain insert and delete reco} Private Sub Command _Click() ‘Adode1 Recordset Delete trol abt Saga property we argent arent rol with using data bound _2ospen smn mi 18 eo pt ours 1 gubig amos sales 2b esa 2 InIe cing 2m By ZL acy AY ec te, wey izle) 2 UBS ese ]PUEH LeAe ep MUTE pe edeate fe ial gene wnG acl tomes eee as ee Grrioc:n's's-10) 1 i ua 988 Bu “Budde 1339.9 poe ose yom siuoudye9souN Hoy THE 2 are ae ba 9g ser oe a Rs pe aS kT oremyos uonvonddy snote Leen bint @ em) led sa le nay 2 Ye Yes Uo 11g aus imegy 88909Y Kp a8vq HEC ALD

8219 jord ‘woot “dun Tg ube ey bu Jey lee 1ONUOD BA Alay gh Rw aIv—I9 4 aINH a PET @ mop Kuadond |Z ypeeay Jeyast 1m Jonu0> 128 Atal gh tiem (Aiea) JeBLLD yo stent sengjey an doup jg uso} kb fonuo> ypdal | 2 1 oun sac ets io [O21109 a 219 lit laste uote 2h bea 2ep ye oun UBISOq] breve Sua 12 Wp dain ing yo eam 19> Baten Saye nae we Gingiais (ol mye ce eery Sac a @ oa on km mn ns ee Bae WE 2 ils Noatood, @ srg wre @ unis (428i) 1g We bien as as yer mages 12 ailnesh yomigy 2 Wed lat iniyB yo ku aes) BBE snojp dy BB “Pe 12 gaaoen Ay @ lem — 9 2m ig LP

WeaeeNg|R TL « Yona aig) ete Seine eth @ tonouny p 2 werseasn yorue yeragj ban oe 1g Wits tmwane we S80 mie Beh lene Ie VOHIIY SAO ALE [Bk g We a) Ms = wondes ¢ jaar] £288) "1, = ondes “zeae ] =D 1g mee uo tases 1S eb Bi UBB izigy 2 Shaye Aud PITS Bue gpa @ ep ia ag poole Ls We |e a org - SV UIs “eBOMU] sy UoNRG) aAOW asnOI"E Gane mppey 28 2 RU fle mome Seb yo seq yolse 82 | Tat, ot Si, at, (fart Be “ica omg. Fergorer Attra sre | 83 ss Ht data cor uehor Fagarer aftr & ‘muglet ADO, DAO wen RDO ® wer at Ree ore Bi ge wet 3} OLEDB button WE click wa Br Neen en EEE "Bij 2RE Goch WIELD Ye InABIDE Aw $1 “ws wa ~@ Z ADA oye Bia ge a ane, snout um s851d £94 AP quniey 2 pownouw aa ee 1g {Pe 12 Batles imegyei Oe BEI tmzee Axjesp 2m ANB 1H kw SION Yee 2h AEH ¥>H9 an 120[G0 pllouNOD BIE +p Gate mp) DYE Ye HL | re 86 | Tt oA. Hot. (facia BO ‘weet 11. Wap to find out fabonacey no... ee Click a2 1 MDI form = zal form MDI areae aire a8 %1 MDI Zrer vs application & 1% ae information ai exchange Resa oT Base B 1 MDI Application B use & aga Tet windows, open BW om ment 81 ‘ita atf,-ferqorer fran stent | 87 reat 1. 2a wea BH ‘Wap to perform addi there aeat ud Bar Explain option Button and frame contro! menu. (Pt, RSS.U. 2015) se Fig, Option Button - ae water wager: eg Renoch HB Sac we Rose gore By WITT Bren BHA sa whe wel or we st se sc a1 Bal ome 3 ae Taye ake Bi Boa ater B wager MTT 2 Caption Siege seh are Stem ene A age a BF a Mou b= Val(Tex2.Text) Tex.Text=e End Sub xe ih male Wat female ra 3 TE Style and Value P. gar are yer Aers- B- Drag, [ae wigher wept: sem aioe aM Ufifor A are aa Bt TA sf option bittons tee Boxes OY Coe met car Bo S86 fa trol 3 n, Enabled, Name, Fo tl SS ‘ans pu ape 4896 do] 10U £1 396, xoRTap 2°14 Alva] 513004, xoasWy USULL 0 = PORY 1894 291 tab Igaee 198 jg beni pe ~2pe, iota 01 de AA “p Aah 8s pur (39) 2Ow=s0o~eE pANO, Auodoud vondes yg wong puvstvon tp 4 ‘you 40 day $1189 posayu: y pue sos 68 | tein seve oieTiny— “fue yo. au 1g mew woddns 4g anooo ose wise saieBigy saya 2 wa 198 967 anyea OW Atak 9 anyea URW 409 1OI95 je wrEAROLd Be ae. vq o198 ELLE J sete 50 aoe 200 op afuvus oy dea “a EfeemmesTos >] ans po 1 boat ETA (oun ben pe puossnd Fuoum Jawa envy NOK,) xOAISW = Pst (piomssed 120100,) xoamsy SOUS" HOTT, Wow Bey ZMOL ~ NAL-THOL, PUY ROL PX = WAL TNAL IL OxpH1OyuoNdo ans sweat ang pug = repexa, ae =o Garena —4 ( Oyen” euondo ang axa (Geto eI) UR YE Ys Yo | 8s 90 | Txt, ot Hh a. (adi Be) “e015, Wap to enter five array elements in input box and find out sumand average of numbers. ‘ere $a tartar H labels, command button ‘BI caption change BEB sum, average sen click here string value & 3 8 Fer textbot a text property wr blank eam sar Et ynmon windows control & toolbox ‘Ter tool control Bt iat drug BEB ‘Steps : 1, zréuarsr components 2 mics add BES Pree GE tools Wet Ba IaH is drop B31 2, Imagelist wr select zed icon size em system ® aitalz ico af Toolbar & right click box #f anti see WE property open Ht forest eeaferer \geH insert BEN ae OK button TE click Is | erty H OEE imagelist Br enabled Baw button “4, 974 toolbar ® index, key, caption ce image @Y set a1 cen sree # insert button click a2 OK wev dialog box 2 aTET st oN FE tool bar ereate Bt NEST | 5. af select case 2 Weitor oud weatere wifEar west ‘it-.amg.- Proper frase | 91 Coding 1b Too!box_ Button click (By val Button As MSComCLib,button) n to display the records of employee using ADO. (Pt RSS.U.2012) Fig. Step: 1 aidversr form Wz contents Wt Bereta & design create wea ear components BY select Bz ADO Control a Add wee wat Te drap BET 2, ofa visual data manager base create wea @ Fer sax save BET 3. Table create @2 Walt fields wY save WT! 4. sr ADODC Control 3% connection string property set SHG database TNT set ‘wish ater driver wor garer wE3t | 5, sre asatTes save @ fore Perzer conding Ber ‘aad Visual data diaglogbox aft arereren & data Text2text = 098 xepuy 9809 399195 Wop map) sy xopur)ypu1s"pumunio3 ng ayeALaL 12 Rae 2p owas onmune ease aAuEYD ye sanyceiD) @ xoq asmord 1e2—oama}q BupLOT “s darg 86 | Lun seraje oielra|~"aine ys, 14g ime enous sumotd pin “el? nse aft Ko VoL Bde, game ALY @RA 12 Qu 2p aA0UH jg sOmyDiD ATeRIDe Med 2 we ace woujduur p sodks on ge-oamata pe a 4 ten eee 790" Bp Je 2h ge keew PHO] BFEUET-ose aM | 2. 2a AU|deip ge 103 JILL 40 DNA DAL ‘AWA “HID OAT 49 FQ wee Appods ga 91 sorgdeiny yo g Auodosd yuswodus wou ie-thaadona 2304 “¢ doyg otteyy xoq samara IH0D “edvos. 1g yep Bue Lay ge so ge x0q amnion 12 win ace gy @ knw Kors oBeAU KH x0q HLL T dong, Hibeoe uo tacky (Bie gees Je sOg]001 2 an “pane 2c gue Seip yw uorng wondo f90 E12 wwew jonuos "2 pee 20 muip je Gate iPS) A ye WoL | z6 94 | Ta, A. a, Ceara BO | sity an forage attr Boni | 95 End Sub Private Sub Command4_Click() Frame! Enabled ~ True End Sub Calculate Enabled: End Sub Private Sub Commands Frame! Enabled = False End Sub Private Sub Command6_Click() ‘Text Text="" End Sub Output Fig. exon 10. eas ster Pere OR greet, e eM wear ese ENT ATO eT TL ‘eon oft are 3 WAP to take input of principal, rate and time and calculate simple interest and compound interest. ~ @izt0Wa) oe 13 ube due Una tele Ub 10 ke 22yeIRR AI 1g LWiae wlemIe kw Ya YOK 2h Ie Le ane G7AX @ Bam 20008 Yo “2 UWE lke Mp als OE 19BOHS|

You might also like