Getting a list of available libraries, The logon process – Kofax DM API User Manual
Page 28
8
C
HAPTER
1
The Logon Process
Getting a List of
Available Libraries
The following example displays a list of libraries managed by the DM
Server that the user can log on to.
.
.
.
Private Declare Function GetUserName Lib _
"advapi32.dll" Alias "GetUserNameA" _
(ByVal lpbuffer As String, nSize As Long) _
As Long
Public OK As Boolean
Private Sub Form_Load()
Dim sBuffer As String
Dim lSize As Long
Dim libname As String
Dim i As Long
Dim lim As Long
Dim opOK As Boolean
Dim Libs As New PCDGetLoginLibs
'Initialize public variables.
OK = False
dst = ""
user = ""
library = ""
group = ""
'Get the user we are currently logged on as.
sBuffer = Space$(255)
lSize = Len(sBuffer)
Call GetUserName(sBuffer, lSize)
If lSize > 0 Then
txtUserName.Text = Left$(sBuffer, lSize)
Else
txtUserName.Text = vbNullString
End If
'Get the list of available libraries
'and fill in combo box.
lim = Libs.GetSize() - 1
opOK = Libs.ErrNumber = 0
LibCombo.Text = ""
For i = 0 To lim
- AP Automation (12 pages)
- AP Automation (18 pages)
- TotalAgility AP Automation (43 pages)
- SupplierExpress (80 pages)
- SupplierExpress (94 pages)
- SupplierExpress (6 pages)
- Capture (14 pages)
- Capture (44 pages)
- Capture (12 pages)
- Capture (10 pages)
- TotalAgility (28 pages)
- Getting Started with Ascent Xtrata Pro (623 pages)
- Export Connector 1.0.0 (12 pages)
- Export Connector 1.0.0 (6 pages)
- Export Connector 1.0.0 (10 pages)
- Export Connector 8.0.0 (14 pages)
- Export Connector 8.0.0 (8 pages)
- Export Connector 8.0.0 (16 pages)
- Export Connector 8.1.0 (12 pages)
- Export Connector 8.1.0 (16 pages)
- Export Connector 8.2.1 (26 pages)
- Export Connector 8.2.1 (6 pages)
- Capture Export Connector (30 pages)
- Capture Export Connector (18 pages)
- Release Script (24 pages)
- Ascen 7.0 Release Script (32 pages)
- Ascen 7.0 Release Script (48 pages)
- Ascen 7.0 Release Script (36 pages)
- Ascent Captur (30 pages)
- Export Connector for Fax 1.1.0 (10 pages)
- Export Connector for Fax 1.1.0 (8 pages)
- Export Connector 8.2.0 (10 pages)
- Export Connector for TotalAgility 1.1.0 (10 pages)
- Export Connector 8.3.0 for Microsoft SharePoint (18 pages)
- Capture Export Connector for Documentum 6.7 (18 pages)
- Export Connector 7.6.0 (8 pages)
- Export Connector 8.2.0 for IBM FileNet Content Manager (30 pages)
- Ascen 7.0 Release Script for FileNet Panagon Content Services 5.2-5.4 (30 pages)
- Export Connector 8.1.0 for FileNet Content Manager (8 pages)
- Ascen 7.1 Release Script for FileNet Content Manager 4.0 (48 pages)
- Ascen 7.5 Release Script for FileNet Content Manager 4.5 (42 pages)
- Capture 8.0 Release Script for FileNet Content Manager 5.0 (30 pages)
- Ascen 7.0 Release Script for Hummingbird DM 5.0-5.1 (46 pages)
- Ascen 7.5 Release Script for Hummingbird DM 6.0 (45 pages)