home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form AcctForm
- Caption = "Test NetWare Accounting Services"
- ClientHeight = 2265
- ClientLeft = 2010
- ClientTop = 1500
- ClientWidth = 7305
- Height = 2670
- Left = 1950
- LinkMode = 1 'Source
- LinkTopic = "Form2"
- ScaleHeight = 2265
- ScaleWidth = 7305
- Top = 1155
- Width = 7425
- Begin ListBox ServerList
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Courier"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 1590
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 7095
- End
- Begin CommandButton OKButton
- Caption = "&OK"
- Default = -1 'True
- Height = 375
- Left = 3240
- TabIndex = 0
- Top = 1800
- Width = 855
- End
- Sub Form_Load ()
- For connID% = 1 To 8
- 'for each connection in workstation's file server name table
- 'get the table entry, then see if it's null
-
- serverName$ = String$(48, 0)
- If (IsConnectionIDInUse(connID%) = 1) Then
- GetFileServerName connID%, serverName$
- serverName$ = Left$(serverName$, InStr(serverName$, Chr$(0)) - 1)
- If (Len(serverName$) > 20) Then
- serverName$ = Left$(serverName$, 20)
- End If
- If (AccountingInstalled(connID%) = 1) Then
- ServerList.AddItem Str$(connID%) + " " + serverName$ + String$(22 - Len(serverName$), " ") + " Accounting Installed"
- Else
- ServerList.AddItem Str$(connID%) + " " + serverName$ + String$(22 - Len(serverName$), " ") + " Accounting Not Installed"
- End If
- End If
- Next connID%
- End Sub
- Sub OKButton_Click ()
- Unload AcctForm
- End Sub
-