Solved

Need help with Authentication in Outlook Forms

Posted on 2004-04-22
3
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you don't know how to downgrade, my instructions below should be helpful.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

752 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