Solved

Need help with Authentication in Outlook Forms

Posted on 2004-04-22
3
186 Views
Last Modified: 2010-04-08
Have a form that I have created in Outlook 2000 Forms, I have a field that is a combo box with Approved and Denied as values
I only want a specific user to have access to change this value, What code would I need to accomplish this ?? I read something earlier about enabling a combo box when a specified had the form open, but there were no specfics....

Any help would be greatly appreciated.

Just3082
0
Comment
Question by:just3082
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Mob-bom earned 500 total points
ID: 10892383
I think you may want to take some long looks through here: http://www.outlookcode.com/d/forms.htm 
execellent resource
0
 

Author Comment

by:just3082
ID: 10892539
This stuff looks great Mob-bom, and I will bookmark it so I can go back later and review it, However right now I am looking for a more direct solution to my problem as I am faced with a deadline...

Thanks ..

This is what I have right now, however I keep receiving syntax errors: at line 1 and 2

Declare Function GetUserName Lib "advapi32.dll" Alias _"GetUserNameA" (ByVal lpBuffer As String, nSize As Long) _As Long
Dim StrUserNameFull As String
Dim StrLength As Long
Dim Success As Long
Dim StrUserName as String
StrLength = 199
StrUserNameFull = String$(200, 0)
Success = GetUserName(StrUserNameFull,StrLength)
If Success <> 0 Then
   StrUserName = Left$(StrUserNameFull,StrLength)
Else
   StrUserName = ""
Endif
Label50.Caption = StrUserName
If Label50.Caption = "jdoe" Then
combobox17.text = enable
else
End if
End Sub

0
 

Author Comment

by:just3082
ID: 10928634
Any help ???
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now