home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR9
/
AN210X.ZIP
/
BINDERY.FRM
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1993-03-19
|
8KB
|
217 lines
Form1
Bindery Object Lister
Form1,
Label11
Label15
Label15
Label9
Label9
Label8
Access Control
Label5
Has Props
Label6
Dyn/ Stat
Label2
Object Name
Label3
Object Type
Label4
Object ID
Label14
Label14
Label7
Label1
Add Props
BinderyObjList
Courier
Label10
File Server:
ServerNameBox
RescanButton
Rescan
AboutButton
About ...
CloseButton
Close
List1_Click
Form_Click
@ Form_Load
ccode
ScanBinderyObject
searchOName
OT_WILD
oNameG
oTypej
oHasProp/
oFlag
oSecuritye
Command1_Click
oNameAsY
OT_USER|
strippedName/
OT_USER_GROUP
OT_PRINT_QUEUEk
OT_FILE_SERVER
OT_JOB_SERVER
OT_GATEWAY
OT_PRINT_SERVER
OT_ARCHIVE_QUEUE
OT_ARCHIVE_SERVER<
OT_JOB_QUEUE
OT_ADMINISTRATION
OT_REMOTE_BRIDGE_SERVER
hasProperties
List1
ScanBinderyz
List2_Click
fileServerName
logTime
connIDB
GetFileServerName
newFSName
ServerNameBox
BinderyObjList(
ServerNameBox_Click
ListCountv
BinderyObjectList
prefServer
GetConnectionID
SetPreferredConnectionID
ServerNameBox_DblClick
Command3_Click<
RescanButton_Click
Scanning
UnloadT
Form2
CloseButton_Click
Command2_Click
AboutButton_ClickQ
Label1_Click
MousePointer
Form1m
DrawLinest
CheckDLLVersionss
success
GetDLLVersion
majorVer
minorVerG
revLevel
betaLevel
False
CrLfl
BinderyObjList_Click
Screen
oHasProps
OT_NAS_SNA_GATEWAY
OT_TIME_SYNCHRONIZATION_SERVER;
OT_ARCHIVE_SERVER_DYNAMIC_SAPM
OT_ADVERTISING_PRINT_SERVER2
OT_BTRIEVE_VAPd
OT_PRINT_QUEUE_USER
codez
garbage
requests
objectType
bindery
objects
DLLName
expMajorVer
expMinorVer
expRevLevel
expBetaLevel%
expMajVer
expMinVer
expRev
expBeta
expRef
above
Form_Load
change mouse cursor to hourglass
make sure we're using right versions of NetWare DLLs
NWCore.DLL
NWWrkstn.DLL
NWServer.DLL
NWBind.DLL
for each connection in workstation's file server name tablea
get the table entry, then see if it's null
you have to explicitly look for a null in the first character,
because Visual Basic doesn't know about null-terminated strings
(a null prints as a space)
scan the bindery of the default server
ScanBindery
change mouse cursor to hourglass
clear out the old list of bindery objectsa
initialize object ID to -1 for first call to ScanBinderyObject
take all characters of object name up to terminating null
then take first 20 chars
pad with spacest
User
User Group
Print Queue
File Server
Job Server
Gateway
Print Server
Archive Queue
Archive Server
Job Queue
Administration
NAS SNA Gateway
Rem Bridge Serv
Time Synch Serv
Arch Srv DynSAP
Adver Print Srv
Btrieve VAP
Print Q User
format the bindery object ID as 8 hex digits, with leading zeros
does the bindery object have properties?
is the bindery object static or dynamic?
Stat
Dyn
who can scan for the bindery object,
and who can add properties?y
Any "
anyone can scan for the object
Log "
any logged user can scan
Obj "
only the object can scan for itselfn
Sup "
only the supervisor can scan
OS "
only the operating system can scan
Any "
anyone can add properties to the objectr
Log "
any logged user can add properties
Obj "
only the object can add props to itselfr
Sup "
only the supervisor can add propsi
OS "
only the OS can add properties
finally, add one more entry to the listy
of bindery objects
change mouse cursor back to how it was
ServerNameBox_DblClick
a better program would check the ccode here, to seeo
if the connID is valid (maybe the user has disconnectede
from the specified file server after running this program)
tell which file server to send
requests to
then go scan its bindery
RescanButton_Click
same effect as if the user had
double-clicked on a file server name
CloseButton_Click
AboutButton_Click
CheckDLLVersions
ignore beta level
Incorrect version of "
Your version is: "
This program requires
or above"
Critical Error