Dependencies: none
General Information
License / Order
Download
Installation
KSWab-Control is not FreeWare. The control is not crippled in any way. You can test it for 6 weeks. You must obtain a developer license after this trial period.
A developer licens allows you to use KSWabControl on a single developer machine. On this computer the file "kswab.lic" is to be installed. This license file must not be distributed.
After obtaining a license, you may distribute the KSWab-Control together with your application without paying any further royalties.
Secure payment with credit card, bank transfer or check
through ShareIt! element 5 AG, Cologne.
The cost for a single developer license is EUR 89,- net amount
Find out more about Kroll Software-Development under www.kroll-software.de/produkte/
Never distribute the *.lic - file. It is only needed on your developer machine and not at runtime.
| Constant | Value | Remarks |
|---|---|---|
| Seek_From_Beginning | 0 | Seek from Beginning |
| Seek_From_Current | 1 | Seek from current position |
| Seek_From_End | 2 | Seek from end |
| Constant | Value | Remarks |
|---|---|---|
| wab_Gender_Unknown | 0 | unknown gender |
| wab_Gender_Female | 1 | female |
| wab_Gender_Male | 2 | male |
| Constant | Value | Remarks |
|---|---|---|
| wab_Default_Address_Unknown | 0 | Unknown Standard Address |
| wab_Default_Address_Private | 1 | Private is standard address |
| wab_Default_Address_Business | 2 | Business is standard address |
| Constant | Value | WAB-Data Type | Wab-Constant |
|---|---|---|---|
| wabf_Name_FirstName | 1 | PT_STRING8 | PR_GIVEN_NAME |
| wabf_Name_SecondName | 2 | PT_STRING8 | PR_MIDDLE_NAME |
| wabf_Name_LastName | 3 | PT_STRING8 | PR_SURNAME |
| wabf_Name_Title | 4 | PT_STRING8 | PR_DISPLAY_NAME_PREFIX |
| wabf_Name_DisplayName | 5 | PT_STRING8 | PR_DISPLAY_NAME |
| wabf_Name_NickName | 6 | PT_STRING8 | PR_NICKNAME |
| wabf_Name_EMail | 7 | PT_STRING8 | PR_EMAIL_ADDRESS |
| wabf_Private_Street | 8 | PT_STRING8 | PR_HOME_ADDRESS_STREET |
| wabf_Private_City | 9 | PT_STRING8 | PR_HOME_ADDRESS_CITY |
| wabf_Private_State | 10 | PT_STRING8 | PR_HOME_ADDRESS_STATE_OR_PROVINCE |
| wabf_Private_PostalCode | 11 | PT_STRING8 | PR_HOME_ADDRESS_POSTAL_CODE |
| wabf_Private_Country | 12 | PT_STRING8 | PR_HOME_ADDRESS_COUNTRY |
| wabf_Private_Phone | 13 | PT_STRING8 | PR_HOME_TELEPHONE_NUMBER |
| wabf_Private_Fax | 14 | PT_STRING8 | PR_HOME_FAX_NUMBER |
| wabf_Private_Mobile | 15 | PT_STRING8 | PR_CELLULAR_TELEPHONE_NUMBER |
| wabf_Private_Homepage | 16 | PT_STRING8 | PR_PERSONAL_HOMEPAGE |
| wabf_Business_Company | 17 | PT_STRING8 | PR_COMPANY_NAME |
| wabf_Business_Street | 18 | PT_STRING8 | PR_STREET_ADDRESS |
| wabf_Business_City | 19 | PT_STRING8 | PR_LOCALITY |
| wabf_Business_State | 20 | PT_STRING8 | PR_STATE_OR_PROVINCE |
| wabf_Business_PostalCode | 21 | PT_STRING8 | PR_POSTAL_CODE |
| wabf_Business_Country | 22 | PT_STRING8 | PR_COUNTRY |
| wabf_Business_Title | 23 | PT_STRING8 | PR_TITLE |
| wabf_Business_Department | 24 | PT_STRING8 | PR_DEPARTMENT_NAME |
| wabf_Business_Office | 25 | PT_STRING8 | PR_OFFICE_LOCATION |
| wabf_Business_Phone | 26 | PT_STRING8 | PR_BUSINESS_TELEPHONE_NUMBER |
| wabf_Business_Fax | 27 | PT_STRING8 | PR_BUSINESS_FAX_NUMBER |
| wabf_Business_Pager | 28 | PT_STRING8 | PR_PAGER_TELEPHONE_NUMBER |
| wabf_Business_IP_Phone | 29 | PT_STRING8 | unknown 0x800a001e |
| wabf_Business_Homepage | 30 | PT_STRING8 | PR_BUSINESS_HOMEPAGE |
| wabf_Personal_Gender | 31 | PT_I2 | PR_GENDER |
| wabf_Personal_Birhday | 32 | PT_SYSTIME | PR_BIRTHDAY |
| wabf_Object_Type | 33 | PT_LONG | PR_OBJECT_TYPE |
| wabf_Record_Changed | 34 | PT_STRING8 | unknown 0x30080040 |
| wabf_Default_Address_Index | 35 | PT_STRING8 | unknown 0x80110003 |
| wabf_Address_Type | 36 | PT_STRING8 | PR_ADDRTYPE |
| wabf_Contact_Email_Adresses | 37 | PT_MV_STRING8 | PR_CONTACT_EMAIL_ADDRESSES |
| wabf_Contact_Address_Types | 38 | PT_MV_STRING8 | PR_CONTACT_ADDRTYPES |
| wabf_Contact_Default_Address_Index | 39 | PT_LONG | PR_CONTACT_DEFAULT_ADDRESS_INDEX |
| wabf_Send_Internet_Encoding | 40 | PT_LONG | PR_SEND_INTERNET_ENCODING |
| wabf_Other_Comment | 41 | PT_STRING8 | PR_COMMENT |
| Property | Type | In/Out | Default | Remarks |
|---|---|---|---|---|
| RecordCount | long | read only | 0 | Record Count |
| EOF | Boolean | read only | True | End Of File |
Examples:
| OK = KSWab1.SeekRow(0, Seek_From_Beginning) | Initialising after OpenWab() |
| OK = KSWab1.SeekRow(1, Seek_From_Currrent) | loop through records, until EOF=True |
| OK = KSWab1.SeekRow(n, Seek_From_Beginning) | n-th Record |
Examples:
| S = KSWab1.GetField(wabf_Name_DisplayName) | Get value for DisplayName (data-type Variant/String) |
| V = KSWab1.GetField(wabf_Contact_Email_Adresses)
S = "" |
Gets a list of email-addresses (data-type Variant/Array)
Then iterating through the list. |
Instead of a Field-Constant a PropType and a PropID is given. See MSDN for constant ID's. You will normally not need this function.
Examples:
S = KSWab1.GetFieldEx(&H1E, &H3A51)is equivalent to
S = KSWab1.GetField(wabf_Business_Homepage)
Example:
If KSWab1.SeekRow(Row, Seek_From_Beginning) Then
KSWab1.ShowStandardDialog Me.hWnd
Else
MsgBox "Invalid Row.", vbExclamation
End If
Example:
KSWab1.NewEntryDialog Me.hWnd
The control was inserted into the project by "Project / Components".
The control was drag/dropped on the form from the toolbox.
Typical Steps:
--- End ---