FIND OUT APPLICATION DETAILS AND VERSION
API Declarations
I am working on a MDI Project in which there is an automatic e-mail sending program. I would also like to know about the application verion (e.g. to find out what MS Outlook version is using by the user). Could you please send me the codes. Please see below the sample code of Getr User Information. Similar to this, I need MS Outlook version! Please help me.
Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Public Function NetworkUserName() As String
Dim lpBuff As String * 25
Dim lret As Long
lret = GetUserName(lpBuff, 25)
NetworkUserName = Left(lpBuff, InStr(lpBuff, Chr(0)) - 1)
End Function
Thanks,
Suresh