Programming with Microsoft Visual Basic 6.0 = Visual Basic 6.0 编程 / enhanced ed.

副标题:无

作   者:Diane Zak.

分类号:

ISBN:9787505377295

微信扫一扫,移动浏览光盘

简介

   这是一本详细讲解如何使用Visual Basic 6.0进行编程的英文原版教材。该书使用面向对象/事件驱动的Visual Basic 6.0语言,采用任务驱动的方式向学生讲解编程的概念,激发学生对于基于Windows应用程序的热情,让学生理解如何充分利用Visual Basic的强大功能,学会编写实际工作中会遇到的应用程序。书中强调了设计技巧,如访问数据库中的信息。创建与打印报表、引用对象、使用OLE等。此外,该书向学生简介了面向对象编程技术以及Visual Basic.NET的最新功能。作为教材,书中提供了大量的练习题,并提供有教辅材料,另外在随书光盘中,提供有专为本教材定制的Visual Basic 6.0软件。    该书是美国卡内基梅隆大学SSD软件系统开发课程指定教材,可作为大中专院校计算机专业学生的教材和参考书,也可供计算机工程技术人员及参考,同时对推进我国在计算机教学上尽快赶上国际先进水平以及提高学生的英语水平也大有神益。   

目录

preface 1

read this before you begin 17

am overview 0f visual basic vb1

a history and a demonstration vb 1

a brief description of visual basic vb 1

a brief history of programming languages vb 2

machine languages vb 2

assembly languages vb 2

high-level languages vb 3

procedure-oriented high-level languages vb 3

the introduction of window vb 4

object oriented/event-driven high-level languages vb 5

oop terminology vb 5

a visual basic demonstration vb 7

using the tutorials effectively vb 10

questions vb 11

tutorial 1

am imtroduction to visual basic vb

case creating a copyright screen vb
previewing the copyright screen vb 16

.lesson a: creating a new project vb 17

starting visual basic vb 17

the visual basic startup screen vb 19

the main window vb 19

the form window vb 19

the toolbox window vb 20

the project explorer window vb 21

the properties window vb
setting the caption property vb
setting object's name property vb 16

setting the backcolor property vb 18

setting the project's name property vb 28

saving a visual basic project vb 29

starting and ending a visual basic project vb
opening a new project vb
opening an existing project vb
exiting visual basic vb
summary vb
questions vb
exercises vb
lesson b: working with controls vb
getting help in visual basic vb 39

using the f1 key vb 42

adding a control to a form vb
sizing, moving, and deleting a control vb

adding label controls to the copyright screen vb
setting the properties of a label control vb 44

setting the left and top properties vb 46

changing the property for more than one control at a time vb 47

saving files under a different name vb 48

summary vb f0

questions vb j1

exercises vb j1

lesson c: writing code vb j7

adding an image contro1 to the form vb j7

adding a command button to the form vb j9

writing visual basic code vb 60

setting the border style property vb 64

adding a frame control to a form vb
hiding and displaying controls vb 68

the options dialog box vb 72

adding a scroller control to the form vb 73

changing the code window display vb 76

printing a visual basic application vb 77

making an executable (.exe) file vb 78

summary vb 80

questions vb 81

exercises vb
tutorial 2

designing applications vb 89

case creating an 0rder screen vb 89

solving the problem using a procedure-oriented approach vb 90

so1ving the problem using an object-oriented/event-driven

(ooed) approach vb 93

lesson a: planning an ooed application in visual basic vb 96

creating an ooed application vb 96

planning an ooed application vb 97

identifying the application's tasks vb 97

identifying the objects vb
identifying the events vb
drawing a sketch of the user interface vb 102

summary vb
questions vb
exercises vb 107

lesson b: building the user interface vb 109

preparing to create the user interface vb 109

including graphics in the user interface vb 111



including different fonts in the user interface vb 111

including color in the user interface vb 112

the backstyle property vb
the borderstyle and appearance properties vb 114

setting the text property vb 115

adding a text box control to the form vb
controlling the focus with the tabindex property vb 118

locking the controls on a form vb 119

assigning access keys vb 120

summary vb 124

questions vb
exercises vb 127

lesson c: coding, testing, debugging, and documenting

the application vb 129

coding the application vb 119

coding the print order button vb
assigning a value to a property during run time vb
using the printform method vb
using the setfocus method vb
internally documenting the program code vb
coding the clear screen button vb
writing visual basic equations vb 138

coding the calculate order button vb
the val function vb
using the format function vb
the minbutton, maxbutton, controlbox, and borderstyle

properties vb 146

testing and debugging the application vb 148

assembling the documentation vb 149

summary vb 149

questions vb
exercises vb
debugging vb
tutorial 3

using variables and constants vb 161

case revising the skate-away sales application vb 161

previewing the completed application vb 162

lesson a: creating variables and constants vb 164

using variables to store information vb 164

data types vb 164

naming variables vb 167

declaring a variable vb 168

storing data in a variable vb 169

the scope of a variable vb 170

the option explicit statement vb 171

creating a local variable vb 173

creating a form-level variable vb 176



creating a global variable vb 179

adding a code module to a project vb 180

removing and adding a file vb 182

symbo1ic constants vb 183

summary vb 1s6

questions vb 186

exercises vb 1s8

lesson b: modifying the skate-away sales application vb 190

storing information using local and form-level variables vb 190

modifying the calculate order button's code vb 192

concatenating strings vb 198

the inputbox function vb 201

the newline character vb 204

the object browser vb 204

making a command button the default button vb 207

summary vb 208

questions vb 208

exercises vb 210

lesson c: improving the appearance of the skate-away sales

application vb 214

using a dialog box vb 214

adding an existing form to the application vb
specifying the startup form vb
loading and displaying a form vb 216

adding a code module to a project vb
making a form resemble a standard windows dialog box vb 219

adding the copyright form to the project vb 221

using a timer control vb 223

removing a coded control from the form vb 223

changing the appearance of the mouse pointer vb 224

summary vb
questions vb 226

exercises vb 228

debugging vb 234

tutorial 4

the selection structure vb

case creating a math application vb 237

previewing the completed application vb 238

lesson a: the if...then... else and select case statements vb 241

the selection structure vb 241

writing pseudocode for the selection structure vb 242

using a flowchart vb 243

coding the selection structure in visual basic vb
relational operators vb
example l vb 247

example 2 vb 248

logical operators vb
examples of the and and the or operators vb
example 3 vb
example 4 vb
the ucase function vb
nested selection structures vb
example 5 vb
the case form of the selection structure vb 261

the select case statement vb 262

example l vb
using to and is in an expressionlist vb 266

example 2 vb 266

example 3 vb 269

summary vb 270

questions vb 271

exercises vb 271

lesson b: more visual basic controls vb 280

the math application vb
using visual basic's icons vb
adding an option button control to the form vb 282

grouping option button controls vb
adding a check box control to the form vb 287

drawing a control in a frame vb
locking the controls and setting the tabindex property vb 290

coding the level l and level 2 option buttons vb 292

creating a user-defined sub procedure vb 294

the call statement vb 296

coding the addition and subtraction option buttons vb 298

creating a default option button vb 299

modifying the randomnumbers user-defined sub procedure vb 300

summary vb 302

questions vb 303

exercises vb
lesson c: completing the math application vb 307

static variables vb 307

coding the verify answer button vb
the loadpicture function vb 312

the msgbox function vb 313

the selstart and sellengt properties vb 319

the len function vb 320

the gotfocus event vb 321

coding the display summary information check box vb 321

summary vb 323

questions vb 324

exercises vb
debugging vb 334

tutorial 5

the repetition structure vb

case creating a grade calculation application vb 337

previewing the completed application vb 338

lesson a: the repetition structure (looping) vb 339

the repetition structure vb 339

the for next (automatic counter) loop vb 340

example 1 vb 342

examp1e 2 vb 343

the do whi1e and the do until loops vb 344

flowchart and pseudocode for the do while and the do until loops vb
do while example vb 348

do until examp1e vb 349

another example of the do while loop vb
counters and accumu1ators vb
summary vb 362

questions vb 363

exercises vb 366

lesson b: using control arrays vb 371

the grade application vb 371

creating a control array while adding controls to the form vb 374

making existing controls into a control array vb 377

the enabled property vb 379

viewing the code window for a control array vb 380

coding the check box array vb
coding a control's array's gotfocus event vb
summary vb
questions vb
exercises vb
lesson c: completing the grade application vb 391

coding the display grade command button vb 391

the change event vb
centering the contents of a label control vb 399

using the msgbox function to communicate with the user vb 399

the unload event vb 401

summary vb 404

questions vb 404

exercises vb
debugging vb 410

tutorial 6

sequential access files, memus, and report

vb

case the fa0 application vb
previewing the completed applications vb 414

lesson a: sequential access data files and reports vb 417

creating the pao application vb 417

creating a list box vb 418

the additem method vb 420

the sorted property vb 422

the listindex property vb 422

data files vb 423

sequential access data files vb
coding the enter information command button vb 426

opening a data file vb 426

writing to a sequential access file vb 429

closing a sequential access file vb 430

coding the display totals button vb 431

the eof function vb 434

reading a record from a sequential access file vb
updating the appropriate label control vb
the print method vb 438

changing the type and she of the printer font vb 441

justifying and aligning the numbers in a column vb
completing the pao application vb 449

modifying the print report button's click event procedure vb
summary vb
questions vb
exercises vb
lesson b: menus vb 466

creating the text editor vb 466

the multiline property and the scrollbars property vb 467

sizing a control along with the form vb 467

adding a menu control to the form vb
creating a separator bar vb 473

creating the edit menu vb 474

coding menu items vb 476

the clipboard object vb 477

the settext, gettext(), and clear methods vb 477

the seltext property vb 478

coding the edit menu vb 478

coding the edit menu's copy command vb 480

coding the edit menu's cut command vb 481

coding the edit menu's paste command vb 481

summary vb 482

questions vb
exercises vb
lesson c: string manipulation vb 491

visual basic's string manipulation functions vb 491

the left and right functions vb 491

the mid function vb 494

the instr function vb 496

coding the edit menu's find command vb 497

coding the edit menu's find next command vb
summary vb
questions vb
exercises vb
debugging vb
tutorial 7

dialog boxes and error trapping vb

case completing the text editor application vb
previewing the completed application vb
lesson a: dialog boxs vb
the common dialog control vb
displaying an open dialog box vb
the filter property vb
the filename property vb
displaying a save as dialog box vb
displaying a print dialog box vb
the flags property vb
displaying a font dialog box vb
displaying a color dialog box vb
summary vb
questions vb
exercises vb
lesson b: coding the text editor's file menu vb
opening the text editor application vb
coding the text editor application vb
coding the file menu's save as command vb
the print # statement vb
setting the cancel error property vb
the on error statement and the error-handling routine vb
coding the file menu's new command vb
summary vb
questions vb
exercises vb
lesson c: completing the text editor application vb
coding the file menu's save command vb
coding the file menu's print command vb
coding the file menu's open command vb
the input and lof functions vb
coding the form's unload event vb
summary vb
questions vb
exercises vb
debugging vb
tutorial 8

ramdom access files vb

case the cole's playhouse application vb

previewing the application vb
lesson a: random access files vb 580

random access files versus sequental access files vb
sequential access versus random access file storage vb
the type statement vb
coding the code module vb
creating and opening a random access file vb
coding the form's load event procedure vb
closing a random access file vb
writing records to a random access file vb
coding the enter item button vb
initializing a random access file vb
reading records from a random access file vb
coding the display item button vb
summary vb
questions vb
exercises vb 601

lesson b: the cole's playhouse application vb 604

the cole's playhouse application vb 604

coding the cole's playhouse application vb 608

coding the file menu's new command vb 609

passing information to a sub procedure vb 610

using visual basic's color constants vb 611

creating a user-defined procedure that receives data vb 612

coding the file menu's open command vb 616

summary vb 620

questions vb 621

exercises vb 623

lesson c: completing the cole's playhouse application vb 627

coding the lblseat control array vb 627

referencing a control in another form vb 628

coding the enter ticket button vb 630

the trim function vb 633

coding the cancel ticket button vb 634

coding the return to main button vb
summary vb 636

questions vb 637

exercises vb 638

debugging vb 642

tutorial 9

database access vb

case modifying the cole's playhouse application vb
previewing the modified cole's playhouse application vb 646

lesson a: using visual data manager vb
database concepts and terminology vb 648

designing the cole's playhouse database vb 649

using visual data manager to create the cole database vb
creating an index vb
including data validation rules in a table vb
opening an existing database vb 661

summary vb 666

questions vb 666

exercises vb 668

lesson b: using the ado data control vb 672

microsoft's uda approach to accessing data vb 672

the cole's playhouse application vb 672

using the ado data control vb 673

binding controls to an ado data control vb 678

using the sql select command vb 679

summary vb
questions vb 683

exercises vb
lesson c: writing code to add, delete, and update records vb 689

the cole's playhouse application vb
the recordset and field objects vb 689

the ado data control's refresh method vb 691

completing the cole's playhouse application vb 691

coding the lblseat array's click event vb 694

coding the return to main button vb 697

coding the enter ticket button vb
coding the cancel ticket button vb 700

summary vb 702

questions vb 703

exercises vb 70s

tutorial 10

variable arrays vb 717

case creating a playroll application vb 717

previewing the completed application vb
lesson a: storing data in a variable array vb 720

variable arrays vb 720

advantages of variable arrays vb 721

creating a one-dimensional variable array vb 722

storing data in a one-dimensional variable array vb 723

the president application vb 724

coding the president application vb 724

the form's load event procedure vb
the display name button vb
the display number button vb
the test score application vb 730

the average score button vb 732

the highest score button vb 733

the update scores button vb
the classroom application vb
summary vb 744

questions vb 744

exercises vb
lesson b: the datagrid control and object variables vb
the colfax industries payroll application vb
the datagrid control vb
improving the appearance of the datagrid control's data vb 761

coding the datagrid control vb
creating an object variable vb 770

rounding numbers vb 772

summary vb 773

questions vb 773

exercises vb 776

lesson c: completing the colfax payroll application vb
storing the federal withholding tax tables in two two-dimensiona1

arrays vb 783

creating a function procedure to calculate the fwt vb 787

invoking a function procedure vb 791

summary vb 792

questions vb 793

exercises vb 793

debugging vb 794

tutorial 11

what's new with visual basic.net? vb 801

case creating a visual basic.net windows forms calendar screen application vb 801

previewing the calendar screen vb 802

lesson a: working with visual studio.net vb 804

the visual studio.net environment vb 804

identify the components of visual studio.net and the new ide vb
modify your profile in the visual studio.net ide vb 806

customizing the new visual studio.net ide vb
using solution explorer vb 810

working with dynamic help vb 811

using the task list vb
the command window vb
summary vb
questions vb 815

exercises vb 816

lesson b: creating a windows forms application using visual

basic.net vb 819

starting visual basic.net vb 819

using windows forms vb 821

viewing code in windows forms vb 821

differences between visual basic.net window forms and visual basic

6.0 forms vb 822

setting appearance properties vb
adding a label control to the windows forms calendar application

vb 823

adding for, text, and frame betrols vb 824

adding activex calendar date, and time controls vb 826

adding a button control and code vb 827

visual basic 6.0 and visual basic.net: differences in coding vb
completing the code for the button vb
variable declarations in visual basic.net vb
passing parameters in visual basic.net vb 830

adding a link label to the windows forms calendar application vb 831

adding a menu and menu items vb 832

printing windows forms application code vb 836

saving and exiting a windows forms application vb 836

summary vb 837

questions vb 838

exercises vb 839

tutorial 12

more on visual basic.netand the internet vb 843

case creating a visual basic.net web forms application vb 843

previewing the web forms application vb 844

lesson a: the new web forms environment vb 846

creating a new web forms page vb
adding html text to the web forms page vb 848

setting html text attributes vb
creating web forms html server controls vb
creating web forms server controls vb
web forms controls vb
adding web forms server controls to your project vb
creating an event handler vb
running the web forms application vb
saving and exiting the web forms application vb
summary vb
questions vb 860

exercises vb 861

lesson b: completing your web forms application project vb 863

the pets online web application data project vb 863

learning more about web application projects vb 863

technical requirements for your web applications project vb
the visual studio.net cache vb 864

files created with web applications vb
creating the petproj web application project vb 864

creating a data-access component vb 866

binding the datagrid vb 869

adding a details panel to your web forms application vb
deploying the web forms application project vb 877

summary vb
questions vb 880

exercises vb
appendix a

creating a web page with visual basic vb

appendix b
visual basic'sdrag·and·drop feature vb

appendix c

using the clipboard, dde, and ole vb

appendix d
creating your own activex comtrol vb

index


已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

Programming with Microsoft Visual Basic 6.0 = Visual Basic 6.0 编程 / enhanced ed.
    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:4006604884

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    亲爱的云图用户,
    光盘内的文件都可以直接点击浏览哦

    无需下载,在线查阅资料!

    loading icon