Commit 0790f0dd authored by O'Reilly Media, Inc.'s avatar O'Reilly Media, Inc.
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

README.md

0 → 100644
+15 −0
Changes for README.md: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
## Example files for the title:  
	  
# VB Shell Programming, by J.P. Hamilton
	  
[![VB Shell Programming, by J.P. Hamilton](http://akamaicovers.oreilly.com/images/9781565926707/cat.gif)](https://www.safaribooksonline.com/library/view/title/1565926706//)
	  
The following applies to example files from material published by O’Reilly Media, Inc. Content from other publishers may include different rules of usage. Please refer to any additional usage rights explained in the actual example files or refer to the publisher’s website.
	  
O'Reilly books are here to help you get your job done. In general, you may use the code in O'Reilly books in your programs and documentation. You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from our books does not require permission. Answering a question by citing our books and quoting example code does not require permission. On the other hand, selling or distributing a CD-ROM of examples from O'Reilly books does require permission. Incorporating a significant amount of example code from our books into your product's documentation does require permission.
	  
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN.
	  
If you think your use of code examples falls outside fair use or the permission given here, feel free to contact us at <permissions@oreilly.com>.
	  
Please note that the examples are not production code and have not been carefully testing. They are provided "as-is" and come with no warranty of any kind.
+36 −0
Changes for VB Shell Programming/Animals/Animal.cls: 36 added lines, 0 removed lines.
Original line number Diff line number Diff line
VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "Animal"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit

Public Enum Kingdoms
    Mammal = 1
    Reptile = 2
    Insect = 3
    Bird = 4
    Fish = 5
End Enum

'Returns animal kingdom
Public Function Kingdom() As Kingdoms
End Function

'Returns name of animal in a string
Public Function Name() As String
End Function

'Returns the noise the animal makes in a string
Public Function Noise() As String
End Function

+24 KiB

File added.

No diff preview for this file type.

+38 −0
Changes for VB Shell Programming/Animals/Animals.vbp: 38 added lines, 0 removed lines.
Original line number Diff line number Diff line
Type=OleDll
Class=Animal; Animal.cls
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINNT\System32\stdole2.tlb#OLE Automation
Class=Cow; Cow.cls
Startup="(None)"
HelpFile=""
ExeName32="Animals.dll"
Command32=""
Name="Animals"
HelpContextID="0"
CompatibleMode="2"
CompatibleEXE32="Animals.dll"
VersionCompatible32="1"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="Jaypee Systems"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=1
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
ThreadingModel=1

[MS Transaction Server]
AutoRefresh=1
+2 −0
Changes for VB Shell Programming/Animals/Animals.vbw: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
Animal = 22, 22, 622, 470, C
Cow = 44, 44, 644, 492, C
Loading