Solved

Need help with Authentication in Outlook Forms

Posted on 2004-04-22
3
185 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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: …

760 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

23 Experts available now in Live!

Get 1:1 Help Now