Sample Computer Book Proposal

Developing Visual Basic 4.0 Programs for the Internet with ActiveX Controls
by Wayne S. Freeze


ANNOTATED TABLE OF CONTENTS:

PART 1: FUNDAMENTAL CONCEPTS 

Chapter 1: Introduction 

This chapter introduces the reader to the book by: identifying the skills the reader should already know, describing the material that the book will cover, listing the programs that will be written and discussing the type of hardware and software that should be available on the reader's system. It will also present general notation and conventions used throughout the book.

  1. Overview 
  2. Audience 
  3. Goals 
  4. Programs 
  5. Software and hardware requirements 
  6. Notation 
  7. Summary 

Chapter 2: TCP/IP Concepts 

This chapter introduces the reader to the Internet, TCP/IP, and client/server processing, then goes on to discuss some of the key technical concepts that are necessary to use the Internet ActiveX controls from Visual Basic.

  1. Overview 
  2. The Internet 
  3. TCP/IP 
  4. Clients and servers 
  5. Domain names and IP addresses 
  6. Port numbers 
  7. Summary 

Chapter 3: TCP/IP Applications 

This chapter introduces the reader to the various applications available as part of the Internet ActiveX Controls and how they work the Internet. Some other Internet applications will be briefly discussed as well.

  1. Overview 
  2. FTP 
  3. NNTP 
  4. SMTP 
  5. POP 
  6. HTTP 
  7. Other protocols: telnet, gopher, talk, finger 
  8. Summary 

Chapter 4: TCP/IP and Windows 95 

This chapter introduces the reader to the how TCP/IP is implemented on Windows 95. It will also review Visual Basic concepts. Then it will discuss the OCX controls currently available in Visual Basic and present a short overview of the ActiveX controls.

  1. Overview 
  2. SLIP and PPP 
  3. Networking with Windows 95 
  4. WinSock 
  5. Visual Basic 
  6. OCX Controls 
  7. ActiveX Controls 
  8. Summary 

Chapter 5: Installing the ActiveX Controls and Sample Programs 

This chapter explains to the reader how to load the Active controls and sample programs from the CD-ROM onto their computer.

  1. Overview 
  2. Installation of the ActiveX controls in Windows 95 
  3. Installation of the ActiveX controls in Visual Basic 
  4. Installation of the sample programs 
  5. Summary 

PART 2: TRANSFERRING FILES WITH FTP

Chapter 6: FTP Protocols and Functions 

This chapter discusses in detail how FTP works from a functional level and the protocols that are used to communicate between the client and the server. This will serve as background material for understanding the FTP Client Control, the FTPDirItem Object and the FTP sample program discussed later in this part of the book.

  1. Overview 
  2. Connecting to the server 
  3. Listing a directory 
  4. Changing a directory 
  5. Setting options 
  6. Sending a file 
  7. Receiving a file 
  8. Transferring multiple files 
  9. Other facilities 
  10. Summary 

Chapter 7: The FTP Client Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the FTP Client Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. AppendToFile 
    2. Busy 
    3. DocInput 
    4. DocOutput 
    5. EnableTimer 
    6. Errors 
    7. IsAuthenticated 
    8. ListItemNotify 
    9. LocalFile 
    10. NotificationMode 
    11. Password 
    12. ProtocolState 
    13. RemoteDir 
    14. RemoteFile 
    15. RemoteHost 
    16. RemotePort 
    17. ReplyCode 
    18. ReplyString 
    19. State 
    20. TimeOut 
    21. TransferType 
    22. URL 
    23. Userid 
  3. Methods 
    1. Abort 
    2. Account 
    3. Authenticate 
    4. Cancel 
    5. ChangeDir 
    6. Connect 
    7. CreateDir 
    8. DeleteDir 
    9. DeleteFile 
    10. Disconnect 
    11. GetDoc 
    12. GetFile 
    13. Help 
    14. List 
    15. ListSize 
    16. Mode 
    17. NameList 
    18. NOOP 
    19. ParentDir 
    20. PrintDir 
    21. PutFile 
    22. ReInitialize 
    23. SendDoc 
    24. Site 
    25. State 
    26. System 
  4. Events 
    1. Abort 
    2. Account 
    3. Authenticate 
    4. Busy 
    5. Cancel 
    6. ChangeDir 
    7. CreateDir 
    8. DelDir 
    9. DelFile 
    10. DocInput 
    11. DocOutput 
    12. Execute 
    13. Help 
    14. ListItem 
    15. Mode 
    16. NOOP 
    17. ParentDir 
    18. PrintDir 
    19. ProtocolStateChanged 
    20. ReInitialize 
    21. Site 
    22. StateChanged 
    23. System 
    24. TimeOut 
  5. Summary 

Chapter 8: FTPDirItem Object 

This chapter discusses all of the programming Properties provided by the FTPDirItem Object. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. Attributes 
    2. Date 
    3. Details 
    4. Filename 
    5. Size 
  3. Summary 

Chapter 9: icError Object 

This chapter discusses all of the programming Properties provided by the icError Object. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. Code 
    2. Description 
    3. Type 
  3. Summary 

Chapter 10: FTP Runner 

This chapter walks the reader through the design and implementation of a simple FTP client program using the ActiveX FTP Client Control.

  1. Overview 
  2. The main form 
  3. Connecting to the server 
  4. Listing a directory 
  5. Changing directory 
  6. Setting options 
  7. Sending a file 
  8. Receiving a file 
  9. Transferring multiple files 
  10. Tracking progress 
  11. Summary 

PART 3: READING NEWS WITH NNTP


Go to main page.

Chapter 11: NNTP Protocols and Functions 

This chapter discusses in detail how NNTP works from a functional level and the protocols that are used to communicate between the client and the server. This will serve as background material for understanding the NNTP Client Control and the NNTP sample program discussed later in this part of the book.

  1. Overview 
  2. Getting a list of news groups 
  3. Getting a list of articles from a news group 
  4. Getting an article from a list of articles 
  5. Posting an article from to a news group 
  6. Other facilities 
  7. Summary 

Chapter 12: The NNTP Client Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the NNP Client Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. ArticleNumbersSupported 
    2. Busy 
    3. DocInput 
    4. DocOutput 
    5. EnableTImer 
    6. Errors 
    7. LastUpdate 
    8. NotificationMode 
    9. OverviewSupported 
    10. PostingAllowed 
    11. ProtocolState 
    12. RemoteHost 
    13. RemotePort 
    14. ReplyCode 
    15. ReplyString 
    16. State 
    17. TimeOut 
    18. URL 
  3. Methods 
    1. Cancel 
    2. Connect 
    3. GetAdministrationFile 
    4. GetArticleByArticleNumber 
    5. GetArticleByMessageID 
    6. GetArticleHeaders 
    7. GetArticleNumbers 
    8. GetBodyByArticleNumber 
    9. GetBodyByMessageID 
    10. GetDoc 
    11. GetHeaderByArticleNumber 
    12. GetHeaderByMessageID 
    13. GetOverView 
    14. GetOverViewFormat 
    15. GetStatByArticleNumber 
    16. ListGroupDescriptions 
    17. ListGroups 
    18. ListNewGroups 
    19. Quit 
    20. SelectGroup 
    21. SendDoc 
    22. SetLastArticle 
    23. SetNextArticle 
  4. Events 
    1. AuthenticateRequest 
    2. AuthenticateResponse 
    3. Banner 
    4. Busy 
    5. Cancel 
    6. DocInput 
    7. DocOutput 
    8. LastArticle 
    9. NextArticle 
    10. PostArticle 
    11. SelectGroup 
    12. StatArticle 
    13. StateChanged 
    14. TimeOut 
  5. Summary 

Chapter 13: DocInput, DocOutput, and DocHeader Objects 

This chapter discusses all of the programming aspects (Properties and Methods) provided by the DocInput, DocOutput, and DocHeader Objects. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. BytesTotal 
    2. BytesTransferred 
    3. DocLink 
    4. Filename 
    5. Headers 
    6. Name 
    7. PushStreamMode 
    8. State 
    9. Suspended 
    10. Value 
  3. Methods 
    1. GetData 
    2. PushStreamMode 
    3. SetData 
    4. Suspend 
  4. Summary 

Chapter 14: News Runner 

This chapter walks the reader through the design and implementation of a simple News client program using the ActiveX NNTP Client Control.

  1. Overview 
  2. The Main Form 
  3. Getting a list of news groups 
  4. Getting a list of articles from a news group 
  5. Getting an article from a list of articles 
  6. Posting an article to a news group 
  7. Summary 

PART 4: SENDING AND RECEIVING MAIL WITH SMTP AND POP

Chapter 15: SMTP Protocols and Functions 

This chapter discusses in detail how SMTP works from a functional level and the protocols that are used to communicate between the client and the server. This will serve as background material for understanding the SMTP Client Control and the sample mail program discussed later in this part. 

  1. Overview 
  2. Logging onto the server 
  3. Sending mail 
  4. Other facilities 
  5. Summary 

Chapter 16: The SMTP Client Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the SMTP Client Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. Busy 
    2. DocInput 
    3. Errors 
    4. NotificationMode 
    5. ProtocolState 
    6. RemoteHost 
    7. RemotePort 
    8. ReplyCode 
    9. ReplyString 
    10. State 
    11. TimeOut 
  3. Methods 
    1. Cancel 
    2. Connect 
    3. SendDoc 
  4. Events 
    1. Busy 
    2. Cancel 
    3. DocInput 
    4. Error 
    5. ProtocolStateChanged 
    6. StateChanged 
    7. TimeOut 
  5. Summary 

Chapter 17: POP Protocols and Functions 

This chapter discusses in detail how POP works from a functional level and the protocols that are used to communicate between the client and the server. This will serve as background material for understanding the POP Client Control and the sample mail program discussed later in this part.

  1. Overview 
  2. Logging onto the server 
  3. Retrieving the list of available mail 
  4. Receiving mail message 
  5. Deleting a mail message 
  6. Other facilities 
  7. Summary 

Chapter 18: The POP Client Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the POP Client Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. Busy 
    2. DocOutput 
    3. EnableTimer 
    4. Errors 
    5. IsAuthenticated 
    6. MessageCount 
    7. NotificationMode 
    8. Password 
    9. ProtocolState 
    10. RemoteHost 
    11. RemotePort 
    12. ReplyCode 
    13. ReplyString 
    14. Reset 
    15. State 
    16. TimeOut 
    17. TopLines 
    18. TopSupported 
    19. URL 
    20. UserID 
  3. Methods 
    1. Authenticate 
    2. Cancel 
    3. Connect 
    4. Delete 
    5. GetDoc 
    6. Last 
    7. MessageSize 
    8. Quit 
    9. Reset 
    10. RetrieveMessage 
    11. TopMessage 
  4. Event 
    1. Authenticate 
    2. Busy 
    3. Cancel 
    4. Delete 
    5. DocOutput 
    6. Error 
    7. Last 
    8. MessageSize 
    9. ProtocolStateChanged 
    10. StateChanged 
    11. TimeOut 
  5. Summary 

Chapter 19: Mail Runner 

This chapter walks the reader through the design and implementation of a simple mail program using the ActiveX SMTP and POP Client Controls.

  1. Overview 
  2. Main form 
  3. Options form 
  4. Composing a message 
  5. Sending a message 
  6. Receiving new mail 
  7. Deleting mail from the server 
  8. Summary 

PART 5: SURFING THE WEB WITH HTTP AND HTML

Chapter 20: HTTP and HTML Protocols and Functions 

This chapter discusses in detail how HTTP and HTML work from a functional level and the protocols that are used to communicate between the client and the server. This will serve as background material for understanding the HTTP and HTML Controls and the sample web browser program discussed later in this part.

  1. Overview 
  2. URLs 
  3. Other facilities 
  4. Summary 

Chapter 21: The HTTP Client Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the HTTP Client Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. Busy 
    2. DocInput 
    3. DocOutput 
    4. Document 
    5. EnableTimer 
    6. Errors 
    7. Method 
    8. NotificationMode 
    9. ProtocolState 
    10. RemoteHost 
    11. RemotePort 
    12. ReplyCode 
    13. ReplyString 
    14. State 
    15. TimeOut 
    16. URL 
  3. Methods 
    1. Cancel 
    2. Connect 
    3. GetDoc 
    4. PerformRequest 
    5. SendDoc 
  4. Events 
    1. Busy 
    2. Cancel 
    3. DocInput 
    4. DocOutput 
    5. Error 
    6. ProtocolStateChanged 
    7. StateChanged 
    8. TimeOut 
  5. Summary 

Chapter 22: The HTML Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the HTML Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. BackImage 
    2. BaseURL 
    3. DeferRetrieval 
    4. DocBackColor 
    5. DocForeColor 
    6. DocInput 
    7. DocLinkColor 
    8. DocLinkColor 
    9. DocOutput 
    10. DocVisitedColor 
    11. ElemNotification 
    12. EnableTimer 
    13. FixedFont 
    14. Forms 
    15. Heading1Font 
    16. Heading2Font 
    17. Heading3Font 
    18. Heading4Font 
    19. Heading5Font 
    20. Heading6Font 
    21. LayoutDone 
    22. LinkColor 
    23. ParseDone 
    24. Redraw 
    25. RequestURL 
    26. RetainSource 
    27. RetrieveBytesDone 
    28. RetrieveBytesTotal 
    29. SourceText 
    30. TimeOut 
    31. TotalHeigth 
    32. TotalWidth 
    33. UnderlineLinks 
    34. URL 
    35. UseDocColors 
    36. ViewSource 
    37. VisitedColor 
  3. Methods 
    1. Cancel 
    2. RequestAllEmbedded 
    3. RequestDoc 
  4. Events 
    1. BeginRetrieval 
    2. DocInput 
    3. DocOutput 
    4. DoNewElement 
    5. DoRequestDoc 
    6. DoRequestEmbedded 
    7. DoRequestSubmit 
    8. EndRetrieval 
    9. LayoutComplete 
    10. ParseComplete 
    11. TimeOut 
  5. Summary 

Chapter 23: HTMLAttr and HTMLForm Objects 

This chapter discusses all of the programming aspects (Properties and Methods) provided by the HTMLAttr and HTMLForm Objects. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. Method 
    2. Name 
    3. URL 
    4. URLEncodedBody 
    5. Value 
  3. Methods 
    1. RequestSubmit 
  4. Summary 

Chapter 24: Web Runner 

This chapter walks the reader through the design and implementation of a simple Web browser using the ActiveX HTTP and HTML Client Controls.

  1. Overview 
  2. Main form 
  3. Options form 
  4. Processing a URL 
  5. Transporting a web page 
  6. Displaying a web page 
  7. Summary 

PART 6: ADVANCED FEATURES

Chapter 25: WinSock TCP Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the WinSock TCP Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. BytesReceived 
    2. LocalHostName 
    3. LocalIP 
    4. LocalPort 
    5. RemoteHost 
    6. RemoteHostIP 
    7. RemotePort 
    8. SocketHandle 
    9. State 
  3. Methods 
    1. Accept 
    2. Close 
    3. Connect 
    4. GetData 
    5. Listen 
    6. PeekData 
    7. SendData 
  4. Events 
    1. Close 
    2. Connect 
    3. ConnectionRequest 
    4. DataArrival 
    5. Error 
    6. SendProgress 
  5. Summary 

Chapter 26: WinSock UDP Control 

This chapter discusses all of the programming aspects (Properties, Events and Methods) provided by the WinSock UDC Control. Aspects necessary for fundamental usage will be emphasized, while the advanced aspects will be briefly discussed. 

  1. Overview 
  2. Properties 
    1. LocalHostName 
    2. LocalIP 
    3. LocalPort 
    4. RemoteHost 
    5. RemoteHostIP 
    6. RemotePort 
    7. SocketHandle 
  3. Methods 
    1. GetData 
    2. SendData 
  4. Events 
    1. Data Arrival 
    2. Error 
  5. Summary 

Chapter 27: Talk Runner 

This chapter walks the reader through the design and implementation of a simple WinSock client and server programs using the ActiveX WinSock Client Control. This program will permit people to send text messages to each other in real time.

  1. Overview 
  2. Talk Runner Server 
  3. Talk Runner Client 
  4. Summary 

PART 7: CONCLUSION

Chapter 28: Summary and Review 

This chapter briefly reviews the important concepts of each of the controls. 

  1. Overview 
  2. Review of basic concepts 
  3. Review of the FTP control 
  4. Review of the NNTP control 
  5. Review of the SMTP control 
  6. Review of the POP control 
  7. Review of the HTTP control 
  8. Review of the HTML control 
  9. Review of the WinSock controls 
  10. Summary 

Chapter 29: Now it's Your Turn 

This chapter will suggest ways the reader can improve on the sample programs. 

  1. Overview 
  2. Ideas for improving FTP Runner 
  3. Ideas for improving News Runner 
  4. Ideas for improving Mail Runner 
  5. Ideas for improving Web Runner 
  6. Ideas for improving Talk Runner 
  7. Ideas for other projects 
  8. Summary 

Appendix A: Standard Internet Socket Ports

Appendix B: References

Appendix C: Glossary

Appendix D: Index 


[Main Page] [AxtiveX Contents] [Previous] [Next] [Feedback] 

Copyright © 1997 Wayne S. Freeze, Adler and Robin Books                       Updated: 16 January 1997.