0% found this document useful (0 votes)
273 views

100 Examples of Teaching PowerBuilder Basic - Programming Methods Information

100 Ejemplos Power builder

Uploaded by

Iván Tapia
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
273 views

100 Examples of Teaching PowerBuilder Basic - Programming Methods Information

100 Ejemplos Power builder

Uploaded by

Iván Tapia
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 43
100 Examples Of Teaching PowerBuilder Basic 1-Create Applications Windows And Controls 2Directory Browser 3-File Browser 4-Picture Browser 5-Drag Icon 6-User Password Authentication 7-Flash Text 8-Screen Saver 9-Waiting Window 10-Control Drag 11-ScrollBar 12-Progress Bar 13-Animation Window 14-Polygon Window 15-StopWatch 16-Guess Number 17-Electronic Clock 18-Number Use And Time Limit 19-Limit Number Runs 20-Modify System Time 21-Color Dialog 22-1P Address Edit Box 23-Picture Button 24-Help Button 25-Hyperlink Button 27-Create Windows And Menus 28-Graphic Menu 29-MDI Window With Base Map 30-Floating Toolbar 31-Hide And Show The Taskbar 32-Right Click Menu 33-Call HtmlHelp File 34-Dynamic Open Window 35-Dynamic Setting Menu 36-Notepad 37-Connect Database 38-Set DataWindow Background Color 39-Set DataWindow Bitmap 40-Report Drawing Display 41-DataWindow Zoom Display 42-Dynamic Change DataWindow Style 43-Tab 44-ListView 45-DropDown DataWindow 46-Create DataWindow Dynamic 47-Modify Data In Datawindow 48-Recover Deleted Data 49-Student Number Sorting 50-DataWindow Sorting 51-DataStore And Share Data 52-Query Conditional 53-Data Query 54-Fuzzy Query 56-Keyboard Simulator 57-Save Data To Word 58-Save Data To Excel 59-Print Preview Report 60-Report Printing 61-DDE Remote Connecting Excel 62-DDE Warm Connection And Hot Connection 63-DDE Communication Between Two PB Applications Server 64-DDE Communication Between Two PB Applications Client 65-Play Sound File 66-Using User Objects Make Group Buttons 67-Standard Class User Objects 68-Calculation Data Table Specific Data 69-Multi Threading Count Process 70-Graphics Button 71-Control Panel 72-Play AVI 73-Custom Hotkeys 74-Get Computer Systems Information 75-DataWindow Button Image 76-User Events Without Event ID 78-Calculate Relative Time 79-Custom Events And Functions User Objects 80-Use OLE Control to Play Multimedia Files 81-OLE Objects Send Data To Excel 82-Graphic Control With Scroll Bar 83-TreeView Control 84-TreeView And Datawindow Data 85-ListView Control 86-Directory Resource Manager 87-Graph Control 88-Graph Control With Datawindow 89-Splash Window 90-Taskbar Icon 91-Create Data Pipeline 92-Data Pipeline Programming 93-Get Host IP Address 94-Create Executable File 95-Generate To HTM 96-Generate Datawindow to HTML 99-Department and Personnel Management System 100-Inventory Management System 1-Create Applications Windows And Controls School Archives Management System Sie anger Logistics Management Retirement Management 2-Directory Browser inetpub] [instantclient_10_2] [PB] _readfile tmp asaexport.mdb autoexec bat baoga zip config.sys lo. SYS; 3-File Browser 4-Picture Browser D:\4-Picture Browserichickenlogo bmp PMT a 5-Drag Icon filename or folder DABATTAP( | | chicken.ico DABAITAP\ chickenlogo.bmp 6-User Password Authentication UserName: admin Password: eeeeeee Co) [ance] 7-Flash Text 8-Screen Saver “1 Screen Saver (ol 2 es screen Saver 10-Control Drag BingleLineEdit Box Checkbox © Single Box 11-ScrollBar 12-Progress Bar 13-Animation Window <1 Animation Display Window ei) ‘This is an animated opening window, implemented by the AnimateWindow() function 14-Polygon Window ‘ 15-StopWatch 00:00:01 90 16-Guess Number 4 1234 3216 8976 4367 7356 7643, 2146 Pa 17-Electronic Clock 18-Number Use And Time Limit 19-Limit Number Runs 20-Modify System Time 21-Color Dialog 22:1P Address Edit Box 23-Picture Button 24-Help Button 25-Hyperlink Button 27-Create Windows And Menus 28-Graphic Menu 30-Floating Toolbar 31-Hide And Show The Taskbar 32-Right Click Menu The right button will have a Menu example, there is a picture! 33-Call HtmiHelp File 35-Dynamic Setting Menu Menu Selection @ File Edit [9 Tools @ Open ™@ Close © Save Update Mens) 36-Notepad 37-Connect Database 38-Set DataWindow Background Color 39-Set DataWindow Bitmap 1/1/1991 5/5/1995. 3/3/1993 2/2/1981 40-Report Drawing Display 41-DataWindow Zoom Display Student ID Gender Dep 1001 M 1004 1003 1002 42-Dynamic Change DataWindow Style sname it Wherefrom Birthday BAOGA Tabular VIETNAM 1/1/1991 VIETNAM 5/5/1995 VIETNAM 3/3/1993 VIETNAM 2/2/1991 VIETNAM 1/1/1991 This window function is as follows: 1. Query student information 2. Add new student information to the database 3. Delete useless student information 44-ListView : BAOGA, : OFemale 130 Department: Birthplace: bale Birthday: 1/1/1991 46-Create DataWindow Dynamic 48-Recover Deleted Data a/a/i9e1 2/2/1991 (3/3/1993, 5/5/1995, aafaser ‘3/2/2000 50-DataWindow Sorting 51-DataStore And Share Data 52-Query Conditional Student Information Query System Please Enter The Student: 5001 «(Query |] Name Gender Age Department q 30 IT [eit] 54-Fuzzy Query Please Enter The student ID: soo% ‘Student iD | Name | Gender | Department Birthplace Birthday 's001 aai991 (5/5/1995 13/3/1993 2/2/1991 3/1/1991 ‘5/2/2000 [3/2/2000 “88355 56-Keyboard Simulator Control: t back i Cs __) es ca ——- ICSAC OlP esc 57-Save Data To Word #/5)5/6|6|5/57 : a)7;2)> 7/221 Sesssxs E i 59-Print Preview Report 60-Report Printing Page Range ow © Page Number (P} Printer) Pease eter pape nnbe encom ap ay separated page range (eg: 1.2.512) all pages +] © Cottate (rim |" 61-DDE Remote Connecting Excel Color Quantity Unit Price TIGA GA 4 a 22 2 2 Dia Sever Aopicaton xe!) [__Senddatato beat oatarecenedtomescet io QS cotms 62-DDE Warm Connection And Hot Connection Color Quantity Unit Price 4 22) 2 2 33) n i 88 63-DDE Communication Between Two PB Applications Server Please enter the data that the DDE server application passes to the client: The DDE server application receives instructions from the client: I Connection information: DDE server started successfully! 64-DDE Communication Between Two PB Applications Client Please enter the instructions that the client passes to the DDE server application: ‘The client receives data from the DDE server application: Connection information: 65-Play Sound File Please enter the full path name of the wav file you want to play, or click “Browse” Select Ifyou have not selected a wav file, then: 1. Click the “Play * button to play the default file; 2. Click the "Exit " button to exit the program (pw) (eat) 66-Using User Objects Make Group Buttons (D.\65-Play Sound File\WindowsOpen. wav 68-Calculation Data Table Specific Data 1d _Name Description ‘Sze Color Quantity Unt Price 116A (Ga 1 4 2 2 ‘2ba0 bao 2 2 3 1" 3tep ep a tr 8 16 ‘Maximum unit price: 15, Min unit price: 2 (ea) 70-Graphics Button 71-Control Panel 72-Play AVI Select AVI File Close Playback 73-Custom Hotkeys 74-Get Computer Systems Information ‘At physcaimenery: [etaro1670s ‘Al avaaie memory [tezr2ss7es Atpage sce: (s2se033408 ‘System Resolution ae re [sesssusze ‘System current Se 1025°768 (etar3s576 ‘tole ves (aooe3so736 Please press Ctrl+AlttA and the program will pop up a nessage window. ord ik nformaton 256 256 256 75-DataWindow Button Image 76-User Events Without Event ID Data Selection © single line selection © Multiple row selection 78-Calculate Relative Time start time: 2021-05-08 01:05:27 After: 1000 hour Get moment: 2021-06-18 17 79-Custom Events And Functions User Objects 80-Use OLE Control to Play Multimedia Files Own w—~ [volume j 1 \80-Use OLE Control to Play Mukimedia Files\Wildie (Bay 7] [Gese | 81-OLE Objects Send Data To Excel ‘Send Data From DataWindow To Excel 82-Graphic Control With Scroll Bar Graphic control with scroll bar 83-TreeView Control 85-ListView Control ES) [a] 4 fl eeee |fiitmo40741.tm9 | 87-Graph Control 90-Taskbar Icon 91-Create Data Pipeline Te peat eee Read Number Lines Write Line Number Number Error Lines. (Gefen) (SeoPeem | [Eames] —‘(ea) 93-Get Host IP Address Hostname: BAOGAPB-PC IP Address: 169.254.215.205 94-Create Executable File Maximum unt price: 44 lowest unt price: 95-Generate To HTM 96-Generate Datawindow to HTML JOE oiea tam 8a a0 as snoas0s Nv. Genente D = ¢ | Borwatransatran ras. ] _ | Td | Name Description ‘Size | Color Unit Price 1] [ea fr it aI 5 2)ba0 [bac PE 2 3 i 3]fep. ee lea 99-Department and Personnel Management System Main interface | Department & Employee Query |Department & Employee Management ‘employee information department selec Empid: 100 Phone: 12345798 pacer Manager id: 100 ‘Ss Number: 221212 Ls Emp Fame: GAGA Salary: 111.00 Emp Lname: GA ‘Start Date: Dept id: 100 Termination Date: Street: HOM Bene Life ins: City: Bene Day Care: State: HM. Sex: M Zip Code: 700000 100-Inventory Management System

You might also like