home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / vim32ocx / readme.txt next >
Encoding:
Text File  |  1998-12-29  |  1.5 KB  |  56 lines

  1. VIM32 OCX Control
  2. Copyright 1998 by Andrejus Chaliapinas
  3.  
  4. This product was written while keeping in mind success of VIM32 VB Wrapper DLL
  5. and as further step to make VB Developer life easier while dealing with Lotus
  6. cc:Mail through Lotus VIM32 Toolkit.
  7.  
  8. Version 1.0.0.1 beta
  9. --------------------
  10. In this version five funstions were implemented:
  11.  
  12. Session management functions:
  13.  
  14. SessionClose
  15. SessionInitialize
  16. SessionOpen(Path As String, Name As String, Password As String)
  17. SessionTerminate
  18.  
  19. Miscelanious functions:
  20.  
  21. GetStatus(Fullstat As Long)
  22. GetExtStatus(Fullstat As Long)
  23.  
  24. Each of these functions return Long as result.
  25.  
  26. ---
  27. To try them you need to register VIM32.OCX control on your system, 
  28. place it on any VB5 form and try this code in Form_Load procedure:
  29.  
  30. Private Sub Form_Load()
  31.     Dim st As Long
  32.     Const VIM_OK = 0
  33.     st = VIM321.GetStatus(VIM321.SessionInitialize)
  34.     st = VIM321.GetStatus(VIM321.SessionOpen("path", "name", "password"))
  35.     If st = VIM_OK Then
  36.         st = VIM321.GetStatus(VIM321.SessionClose)
  37.     End If
  38.     st = VIM321.GetStatus(VIM321.SessionTerminate)
  39. End Sub
  40. ---
  41.  
  42. Implemented functions and their analogs in VIM32.DLL or VIM32 Wrapper:
  43.  
  44. SessionClose        --> VIMCloseSession in VIM32.DLL
  45. SessionInitialize     --> VIMInitialize in VIM32.DLL
  46. SessionOpen        --> VIMOpenSession in VIM32.DLL
  47. SessionTerminate    --> VIMTerminate in VIM32.DLL
  48.  
  49. GetStatus        --> vb_VIM_STATUS in VIMWRP32.DLL
  50. GetExtStatus        --> vb_VIM_EXT_STATUS in VIMWRP32.DLL
  51.  
  52. All other functionality will be implemented soon.
  53.  
  54.  
  55.  
  56.