PC Review


Reply
Thread Tools Rate Thread

Display current user

 
 
E.Zenker
Guest
Posts: n/a
 
      16th Apr 2005
Hi

I got an examplecode:

Sub CommandButton1_Click
Set MyNameSpace = Application.GetNameSpace("MAPI")
MsgBox MyNameSpace.CurrentUser
End Sub

To display the current logged in user
i start it from a User Form
OL 2002 Win XP german

My messagebox returns: Unknown

WHY??

how to solve this

Thanks for ideas

E.Zenker




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display current user E.Zenker Microsoft Outlook Program Addins 0 16th Apr 2005 07:11 PM
Display current user E.Zenker Microsoft Outlook VBA Programming 0 16th Apr 2005 07:11 PM
current date & time & current user =?Utf-8?B?Sm93ZW4=?= Microsoft Access 1 5th Feb 2005 07:25 PM
Dont Display Last User Name or Current Workstation User name =?Utf-8?B?Qm9iIERvcm4=?= Microsoft Windows 2000 Terminal Server Clients 2 2nd Dec 2004 01:45 PM
Find current Security Group of current user Deano Microsoft Access Form Coding 2 25th Nov 2004 09:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:25 PM.