Current location - Recipe Complete Network - Catering franchise - Table of Contents for Visual C++ Project Development Case Studies
Table of Contents for Visual C++ Project Development Case Studies

Chapter 1 Community Video Surveillance System (Visual C++ 6.0+

Video Capture Card+Microsoft Access 2000

Implementation)

Video Presentation: 1 Hour and 25 Minutes 1

1.1 Background of Development 2

1.2 System Analysis 2

1.2.1 Requirements Analysis 2

1.2.2 Feasibility Analysis 2

1.2.3 Preparation of Project Plan 3

1.3 System Design 5

1.3.1 System Objectives 5

1.3.2 System Functional Structure 5

1.3.3 System Preview 6

1.3.4 Operation Flowchart 6

1.3.5 Coding Rules 7

1.3.6 Database Design 8

1.4 Design of the Public **** Module 9

1.5 Design of the Main Form 14

1.6 Design of the User Login Module 32

1.6.1 Overview of the User Login Module 32

1.6.2 User Login Technical Analysis 32

1.6.3 User Login Realization Process 32

1.7 Monitoring and Management Module Design 34

1.7.1 Overview of the Monitoring and Management Module 34

1.7.2 Technical Analysis of Monitoring and Management 35

1.7.3 Monitoring and Management Realization Process 35

1.7.4 Unit Test 39

1.8 Design of Unmanned Wide-Angle Automatic Monitoring Module 40

1.8.1 Overview of Unmanned Wide-Angle Automatic Monitoring Module 40

1.8.2 Analysis of Unmanned Wide-Angle Automatic Monitoring Technique 40

1.8.3 Realization Process of Unmanned Wide-Angle Automatic Monitoring 42

1.8.4 Unit Test 45

1.9 Video Playback Module Design 46

1.9.1 Overview of Video Playback Module 46

1.9.2 Analysis of Video Playback Technology 47

1.9.3 Video Playback Realization Process 47

1.10 Development Tips and Difficulties 48

1.11 Monitoring Card Purchase and Installation 57

1.11.1 Monitoring Card Purchase and Installation 57

1.11.2 Monitoring Card Installation 58

1.11.3 Commonly Used Functions for Video Capture Cards 59

1.12 Summary of the Chapter 62

Chapter 2: Enterprise SMS Management System (Visual C++ 6.0

+SMS Cat+) Microsoft Access 2000

Implementation)63

Video presentation: 1 hour and 23 minutes

2.1 Development Background 64

2.2 System Analysis 64

2.2.1 Requirements Analysis 64

2.2.2 Feasibility Analysis 64

2.2. 3 Preparation of Project Plan 65

2.3 System Design 67

2.3.1 System Objectives 67

2.3.2 System Functional Structure Diagram 67

2.3.3 System Preview 67

2.3.4 Business Flow Diagram 68

2.3.5 Database Design 68

2.4 Public **** Class Design 70

2.4.1 Customizing the SetHBitmap Method 70

2.4.2 Handling the WM_MOUSEMOVE Event 71

2.5 Main Window Design 71

2.6 SMS Cats Settings Module Design 75

2.6.1 SMS Cats Settings Module Overview 75

2.6.2 Technical Analysis of SMS Cat Settings 76

2.6.3 Implementation Process of SMS Cat Settings 76

2.7 Phonebook Management Module Design 78

2.7.1 Overview of Phonebook Management Module 78

2.7.2 Technical Analysis of Phonebook Management 79

2.7.3 Phonebook Management Process 79

2.7.3 Phonebook Management Management 79

2.7.4 Unit Test 83

2.8 Common Language Management Module Design 84

2.8.1 Common Language Management Module Overview 84

2.8.2 Common Language Management Technology Analysis 85

2.8.3 Common Language Management Implementation Process 86

2.9 Short Messages Sending Module Design 90

2.9.1 Overview of SMS Sending 90

2.9.2 Analysis of SMS Sending Technology 90

2.9.3 Implementation Process of SMS Sending 91

2.9.4 Unit Test 98

2.10 Short Message Receiving Module Design 98

2.10.1 Short Message Receiving Module Design 98

2.10.1 Overview of SMS Receiving Module 98

2.10.2 Analysis of SMS Receiving Technology 99

2.10.3 Implementation Process of SMS Receiving 99

2.10.4 Unit Test 103

2.11 Development Tips and Difficulties 104

2.11.1 Displaying the "Received New Message" Dialog Box 104

2.11.1 Displaying the " Received New Message" dialog box 104

2.11.2 Creating an edit box that only allows numeric input 106

2.12 SMS Cat Application 106

2.13 Summary of this chapter 109

Chapter 3 Voice Recording Management System for Enterprise Telephony

(Visual C++ 6.0+Voice Card+Microsoft

Access 2000 Implementation) 110

Video: 1 hour 29 minutes

3.1 Development Background 111

3.2 Requirement Analysis 111

3.3 System Design 111

3.3.1 System Objectives 111<

3.3.2 System Functional Structure 112

3.3.3 System Preview 112

3.3.4 Business Flow Chart 113

3.3.5 Database Design 113

3.4 Public **** Module Design 116

3.5 Main Form Design 119

3.6 Incoming Call Management Module Design 130

3.6 Incoming Calls Management Module Design 130

3.6.1 Incoming Call Management Module Overview 130

3.6.2 Incoming Call Management Technical Analysis 130

3.6.3 Incoming Call Management Realization Process 131

3.6.4 Unit Testing 134

3.7 Phone Recording Management Module Design 136

3.7 .1 Phone Recording Management Module Overview 136

3.7.2 Phone Recording Management Technology Analysis 137

3.7.3 Phone Recording Management Implementation Process 139

3.7.4 Unit Testing 143

3.8 Employee Information Management Module Design 144

3.8.1 Employee Information Management Module Overview 144

3.8.2 Employee Information Management Technical Analysis 144

3.8.3 Employee Information Management Realization Process 145

3.9 Product Information Management Module Design 150

3.9.1 Overview of the Product Information Management Module 150

3.9.2 Product Information Management Technical Analysis 150

3.9.3 Product Information Management Implementation Process 151

3.10 Development Techniques and Difficulties Analysis 155

3.10.1 Setting the System Tray for the Program 155

3.10.2 Displaying Dialogs 157

3.11 Introduction to Speechcard Functions 159

3.12 Summary of the Chapter 163

Chapter 4 LAN Monitoring System (Visual C++ 6.0

+Microsoft Access 2000 Implementation) 164

Video Presentation: 4 hours, 9 minutes

4.1 Development Background 165

4.2 Requirements Analysis 165

4.3 System Design 165

4.3.1 System Objectives 165

4.3.2 System Functional Structure 165

4.3.3 System Preview 166

4.3.4 Business Flow Chart 166

4.3.5 Program Running Environment 166

4.3.6 Database Design 167

4.4 Client Design 169

4.4.1 Client Module Overview 169

4.4.2 Client Technical Analysis 169

4.4.3 Client Realization Process 171

4.5 Public **** Class Design 176

4.6 System Login Module Design 177

4.6.1 System Login Module Overview 177

4.6.2 System Login Module Technical Analysis 177

4.6.3 System Login Module Implementation Process 178

4.6.4 Unit Testing 181

4.7 Main Form Design 182

4.7.1 Main Form Overview 182

4.7.2 Main Form Technical Analysis 183

4.7.3 Main Form Implementation Process 185

4.8 Operator Management Module Design 189

4.8.1 Overview of Operator Management Module 189

4.8.2 Operator Management Module Technical Analysis 190

4.8.3 Operator Management Module Implementation Process 192

4.8.4 Unit Testing 198

4.9 System Settings Module Design 199

4.9.1 System Settings Module Overview 199

4.9.2 System Settings Module Technical Analysis 199

4.9.3 System Settings Module Realization 200

4.10 Development Techniques and Difficulty Analysis 202

4.10.1 Closing Record Sets in a Timely Manner 202

4.10.2 Sending Screen Bitmap Data 202

4.10.3 Accessing Access Databases with Passwords 202

4.11 Custom Controls 203

4.11.1 Customizing the Button Controls 203

4.11.1 Customizing the Button Controls 203

4.11.2 Customizing List Controls 205

4.12 Chapter Summary 207

Chapter 5 Restaurant Management System (Visual C++ 6.0+

Microsoft Access 2000 Implementation) 208

Video Presentation: 1 hour 4 minutes

5.1 Development Background 209

5.2 Requirements Analysis 209

5.3 System Design 209

5.3.1 System Objectives 209

5.3.2 System Functional Architecture 209

5.3.3 System Preview 210

5.3.4 Business Flowchart 211

5.3 .5 Database Design 211

5.4 Public **** Class Design 215

5.5 Main Form Design 216

5.6 Registration Module Design 219

5.6.1 Overview of the Registration Module 219

5.6.2 Technical Analysis of the Registration Module 219

5.6.3 Registration Module Implementation Process 220

5.7 Login Module Design 222

5.7.1 Login Module Overview 222

5.7.2 Login Module Technical Analysis 222

5.7.3 Login Module Implementation 222

5.8 Design of the Vertical Tableting Module 224

5.8.1 Vertical Tableting Module Overview 224

5.8.1 Login Module Overview 224

5.8.2 Technical Analysis of the Openings Module 225

5.8.3 Implementation of the Openings Module 225

5.9 Design of the Ordering Module 228

5.9.1 Overview of the Ordering Module 228

5.9.2 Technical Analysis of the Ordering Module 228

5.9.3 Implementation of the Ordering Module Process 229

5.9.4 Unit Tests 235

5.10 Checkout Module Design 235

5.10.1 Checkout Module Overview 235

5.10.2 Checkout Module Technical Analysis 236

5.10.3 Checkout Module Implementation 236

5.10.4 Unit Tests 241

5.10.4 Unit Test 241

5.11 Database Maintenance Module Design 241

5.11.1 Database Maintenance Module Overview 241

5.11.2 Database Maintenance Module Technical Analysis 242

5.11.3 Database Maintenance Module Implementation Process 242

5.11.4 Unit Test 244<

5.12 Packaging and Distribution 245

5.12.1 Selecting a Suitable Packaging Tool 245

5.12.2 InstallShield Packaging Solution 245

5.12.3 Setting Up Project Files 248

5.12.4 Program Distribution 249

5.13 Development Tips and Difficulties 250

5.14 Summary of the Chapter 252

Chapter 6 Supermarket Inventory Management System (Visual C++ 6.0+

Oracle 9i Database Implementation) 253

Video: 55 Minutes

6.1 Development Context 254

6.2 Requirement Analysis 254

6.3 System Design 254

6.3.1 System Objectives 254

6.3.2 System Functional Structure 255

6.3.3 System Preview 255

6.3.4 Business Flowchart 256

6.3.5 Database Design 256

6.3.5 Database Design 256

6.4 Public **** Module Design 260

6.5 Main Form Design 262

6.6 Commodity Information Module Design 265

6.6.1 Commodity Information Module Overview 265

6.6.2 Commodity Information Technology Analysis 266

6.6.3 Commodity Information Realization Process 266

6.6.4 Unit Testing 271

6.7 Supplier Information Module Design 273

6.7.1 Overview of the Supplier Information Module 273

6.7.2 Supplier Information Technology Analysis 274

6.7.3 Supplier Information Realization Process 275

6.7.4 Unit Testing 280

< p>6.8 Sales Query Module Design 282

6.8.1 Sales Query Module Overview 282

6.8.2 Sales Query Technical Analysis 283

6.8.3 Sales Query Realization Process 283

6.9 End-of-Day Query Module Design 286

6.9.1 End-of-Day Query Module Overview 286

6.9.1 Overview of End-of-Day Query Module 286<

6.9.2 Day-end Query Module Technical Analysis 286

6.9.3 Day-end Query Module Implementation Process 287

6.10 Frontend Sales Module Design 289

6.10.1 Frontend Sales Module Overview 289

6.10.2 Frontend Sales Technical Analysis 290

6.10 .3 Frontend Sales Implementation Process 292

6.11 Development Tips and Difficulties Analysis 296

6.12 Printing Technology 298

6.12.1 Resolution 298

6.12.2 Mapping Modes 298

6.12.3 Printing Based on Dialog Structure 299

6.13 Chapter Summary 303

Chapter 7 Library Management System (Visual C++ 6.0 + SQL

Server 2000 Database Implementation) 304

Video Presentation: 47 minutes

7.1 Development Background 305

7.2 Requirements Analysis 305

7.3 System Design 305

7.3.1 System Objectives 305

7.3.2 System Functional Structure 305

7.3.3 System Preview 306

7.3.4 Business Flow Chart 307

7.3.5 Database Design 307

7.4 Public **** Class Design 309

7.5 Main Form Design 311

7.6 System Login Module Design 314

7.6.1 Overview of the System Login Module 314

7.6.2 Analysis of the System Login Technology 314

7.6.3 System Login Implementation Process 315

7.7 Operator Management Module Design 316

7.7.1 Overview of the Operator Management Module 316

7.7.2 Technical Analysis of the Operator Management 316

7.7.3 Implementation Process of the Operator Management 317

7.7.4 Unit Testing 319

7.8 Design of the Library Information Management Module 320

7.8.1 Overview of the Library Information Management Module 320

7.8.2 Technical Analysis of Book Information Management 320

7.8.3 Book Information Management Implementation Process 321

7.9 Design of Book Sales Module 323

7.9.1 Overview of Book Sales Module 323

7.9.2 Technical Analysis of Book Sales 324

7.9 .3 Book Sales Realization Process 325

7.10 Design of the Book Sales Query Module 333

7.10.1 Overview of the Book Sales Query Module 333

7.10.2 Technical Analysis of Book Sales Query 334

7.10.3 Book Sales Query Realization Process 336

7.10.4 Unit Test 341

7.11 Development Techniques and Difficulty Analysis 341

7.12 Code Maintenance Using VSS 347

7.13 Summary of the Chapter 356

Chapter 8 Student Management System (Visual C++ 6.0 + SQL

Server 2000 Database Implementation) 357

Video Presentation: 46 minutes

8.1 Development Background 358

8.2 System Analysis 358

8.2.1 Requirements Analysis 358

8.2.2 System Functionality Description 358

8.3 System Design 359

8.3.1 System Objectives 359<

8.3.2 System Functional Structure 359

8.3.3 System Preview 360

8.3.4 Business Flow Chart 360

8.3.5 Database Design 361

8.4 Public **** Class Design 363

8.5 Main Form Design 365

8.6 Section Information Management Module Design 366

8.6.1 Overview of the Subject Information Management Module 366

8.6.2 Technical Analysis of the Subject Information Management 367

8.6.3 Subject Information Management Implementation Process 368

8.7 Student Information Management Module Design 373

8.7.1 Student Information Management Module Overview 373

8.7.2 Student Information Management Technology Analysis 373

8.7.3 Student Information Management Realization Process 373

8.7.4 Unit Testing 377

8.8 Student Grade Entry Module Design 378

8.8.1 Student Grade Entry Module Overview 378

8.8.1 Student Grade Entry Module Overview 378

8.8.2 Technical Analysis of Student Grade Entry 378

8.8.3 Implementation Process of Student Grade Entry 379

8.9 Grade Setting Module Design 381

8.9.1 Grade Setting Module Overview 381

8.9.2 Technical Analysis of Grade Management 382

8.9.3 Grade Setting Process 382

8.9.3 Grade Setting Module Design 382

8.9.3 Grade Setting Module Design 382

8.9.3 Grade Setting Process Grade Setting Implementation 382

8.9.4 Unit Test 389

8.10 Student Violation Query Module Design 390

8.10.1 Student Violation Query Module Overview 390

8.10.2 Student Violation Query Technique Analysis 390

8.10.3 Student Violation Query Implementation Process 391

8.11 Development Tips and Difficulties 394

8.11.1 How to Solve the Problem of Closing the Program by Pressing Enter 394

8.11.2 Connecting to Data Source

Dialog Not Displayed When Connecting to ODBC 395

8.12 Operating Excel in VC 395

8.13 Chapter Summary 399

Chapter 9 Student Exam System (Visual C++ 6.0+

Microsoft Access 2003 Implementation) 400

Video: 1 hour, 20 minutes

9.1 Development Background 401

9.2 Requirements Analysis 401

9.3 System Design 401

9.3.1 System Objectives 401

9.3.2 System Functional Structure 401

9.3.3 System Preview 402

9.3.4 Business Flowchart 403

9.3.5 Database Design 403

9.4 Public **** Module Design 406

9.5 Main Form Design 409

9.6 Registration Module Design 418

9.6.1 Overview of the Registration Module 418

9.6.2 Technical Analysis of the Registration Module 419

9.6.3 Realization of the Registration Module 421

9.7 Login Module Design 425

9.7.1 Overview of the Login Module 425

9.7.2 Technical Analysis of the Login Module 425

9.7.3 Implementation of the Login Module 426

9.8 Design of the Password Retrieval Module 428

9.8.1 Overview of the Password Retrieval Module 428

9.8.2 Technical Analysis of Password Retrieval 429

9.8.3 Password Retrieval Implementation Process 429

9.8.4 Unit Testing 432

9.9 Test Question Management Module Design 432

9.9.1 Test Question Management Module Overview 432

9.9.2 Test Question Management Technology Analysis 433

9.9.3 Test Question Management Implementation Process 434

9.9.3 Test Question Management Implementation Process 434

9.9.4 Unit Testing 440

9.10 Database Maintenance Module Design 441

9.10.1 Database Maintenance Module Overview 441

9.10.2 Database Maintenance Technical Analysis 441

9.10.3 Database Maintenance Realization 442

9.11 Database

Modeling with PowerDesigner 444

9.12 Development Tips and Difficulties 447

9.13 Summary of the Chapter 448

Chapter 10 Human Resource Management System (Visual C++

6.0+SQL Server 2005) Database

Implementation) 449

Video: 1 hour 43 minutes

10.1 Development Background 450

10.2 Requirements Analysis 450

10.3 System Design 450

10.3.1 System Objectives 450

10.3.2 System Functional Structure 451

10.3.3 System Preview 451

10.3.4 Business Process Diagram 453

10.3.5 Database Design 453

10.4 Public **** Module Design 456

10.5 Main Form Design 469

10.6 User Login Module Design 471

10.6.1 User Login Module Overview 471

10.6.2 User Login Technical Analysis 471

10.6.3 User Login Realization Process 472

10.7 Employee File Entry Module Design 474

10.7.1 Employee File Entry Module Overview 474

10.7.1 Employee File Entry Module 474

10.7.2 Employee File Entry Module Technical Analysis 475

10.7.3 Employee File Entry Module Process 475

10.7.4 Unit Testing 482

10.8 Employee Payroll Registration Module Design 482

10.8.1 Employee Payroll Registration Module Overview 482

10.8.2 Technical Analysis of Employee Wage Registration 483

10.8.3 Implementation Process of Employee Wage Registration 483

10.9 Design of Monthly Attendance List Module 487

10.9.1 Overview of Monthly Attendance List Module 487

10.9.2 Technical Analysis of Monthly Attendance List 487

10.9.3 Implementation Process of Monthly Attendance List 487

10.9.3 Monthly Attendance List Implementation 487

10.10 Payroll List Module 491

10.10.1 Payroll List Module Overview 491

10.10.2 Payroll List Module Technical Analysis 491

10.10.3 Payroll List Module Implementation 491

10.10.4 Unit Tests 500

10.11 Development Tips and Difficulties 501

10.12 Importing Information into

Word as a Table 503

10.13 Summary of the Chapter 507

Chapter 11 Image Processing System (Visual C++ 6.0+

GDI+ Technology Implementation) 508

Video presentation: 3 hours 12 minutes

11.1 Development Background 509

11.2 Requirements Analysis 509

11.3 System Design 509

11.3.1 System Objectives 509

11.3.2 Functional Structure of the System Diagram 510

11.3.3 System Preview 510

11.3.4 Business Process Diagram 512

11.4 Public **** Module Design 512

11.5 Main Window Design 515

11.6 Image Rotation Module Design 519

11.6.1 Image Rotation Module Overview 519

11.6.2 Image Rotation Technical Analysis 520

11.6.3 Image Rotation Implementation Process 521

11.7 Image Scaling Module Design 529

11.7.1 Image Scaling Module Overview 529

11.7.2 Image Scaling Technical Analysis 529

11.7.3 Image Scaling Implementation Process 530

11.7.4 Unit Test 535

11.8 Image Watermarking Effect Module Design 535

11.8.1 Image Watermarking Effect Module Overview 535

11.8.2 Image Watermarking Effect Technical Analysis 536

11.8.3 Image Watermarking Effect Implementation Process 536

11.9 PSD File Browsing Module Design 539

11.9.1 PSD File Browsing Module Overview 539

11.9.2 PSD File Browsing Technology Analysis 539

11.9.3 PSD File Browsing Implementation Process 541

11.10 Photo Layout Processing Module Design 545

11.10.1 Overview of the Photo Layout Processing Module 545

11.10.2 Analysis of Photo Layout Processing Techniques 545

11.10.3 Photo Layout Processing Implementation Process 549

11.11 Development Tips and Difficulties 555

11.11.1 Forms of Bitmap Data Storage 555

11.11.2 Using GDI+ in Visual C++ 557

11.12 Summary of the Chapter 558

Chapter 12 Personnel Attendance Management System (Visual C++ 6.0+

SQL Server 2000 Implementation) 559

Video Presentation: 1 hour 31 minutes

12.1 Development Background 559

Video Presentation: 1 hour 31 minutes

Video Presentation: 1 hour 31 minutes

12.1 Development Background 560

12.2 Requirements Analysis 560

12.3 System Design 560

12.3.1 System Objectives 560

12.3.2 System Functional Structure 561

12.3.3 System Preview 561

12.3.4 Business Flow Chart 562

12.3.5 Database Design 562

12.4 Public **** Module Design 564

12.5 Main Form Design 569

12.6 User Logon Module Design 572

12.6.1 Overview of User Logon Module 572

12.6.2 User Logon Technology Analysis 572

12.6.3 User Login Realization Process 573

12.7 User Management Module Design 574

12.7.1 Overview of the User Management Module 574

12.7.2 Analysis of the User Management Techniques 574

12.7.3 User Management Implementation Process 575

12.7.4 Unit Testing 577

12.8 Departmental Management Module Design 578

12.8.1 Overview of the Departmental Management Module 578

12.8.2 Departmental Management Technical Analysis 578

12.8.3 Departmental Management Realization Process 579

12.9 Personnel Management Module Design 582

12.9.1 Overview of Personnel Information Management Module 582

12.9.2 Technical Analysis of Personnel Information Management 582

12.9.3 Implementation Process of Personnel Information Management 582

12.10 Attendance Management Module Design 588

12.10.1 Overview of the Attendance Management Module 588

12.10.1 Overview of the Attendance Management Module 588<

12.10.2 Attendance Management Technology Analysis 589

12.10.3 Attendance Management Implementation Process 590

12.11 Attendance Summary Query Module Design 595

12.11.1 Attendance Summary Query Module Overview 595

12.11.2 Attendance Summary Query Technology Analysis 595

12.11.2 Attendance Summary Query Technology Analysis 595

12.11.3 Attendance Summary Query Implementation Process 596

12.12 Development Techniques and Difficulties 599

12.12.1 Calling Dynamic Link Libraries to Design the Interface 599

12.12.2 Interface Display of the Main Window 600

12.13 Summary of this Chapter 600