home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
3_2004-2005.ISO
/
Data
/
Zips
/
VB_Recent_1869643302005.psc
/
cEnvironment.cls
< prev
next >
Wrap
Text File
|
2005-03-30
|
1KB
|
40 lines
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "cEnvironment"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Public Enum eEnvironment
EnvironIDE = 1
EnvironCompiled = 2
End Enum
#If False Then
Private EnvironIDE, EnvironCompiled
#End If
Public Property Get QueryEnvironment() As eEnvironment
Attribute QueryEnvironment.VB_UserMemId = 0
QueryEnvironment = EnvironCompiled
Debug.Assert Not SetToIDE(QueryEnvironment)
End Property
Private Function SetToIDE(ByRef pEnvironment As eEnvironment) As Boolean
pEnvironment = EnvironIDE
End Function
':) Ulli's VB Code Formatter V2.18.4 (2005-Mrz-30 04:46) Decl: 9 Code: 16 Total: 25 Lines
':) CommentOnly: 0 (0%) Commented: 0 (0%) Empty: 7 (28%) Max Logic Depth: 1