Solved

Need help with Authentication in Outlook Forms

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Changing a few Outlook Options can help keep you organized!
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

626 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