Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DSN UserId and Password Prompt


Hi all,
I was hoping I could get some help for the following problem. I a
a very novice programmer, so it may be an easy solution that I a
overlooking. Basically, I want my VBA code to open an oracle databas
via DSN (or not, whichever is easier) and prompt the user to ente
their id and password like you were logging into the database vi
WinSQL or something. If that makes any sense. Any thoughts?

Thanks,

Bria

--
bslate
-----------------------------------------------------------------------
bslater's Profile: http://www.excelforum.com/member.php...nfo&userid=176
View this thread: http://www.excelforum.com/showthread.php?threadid=26249

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default DSN UserId and Password Prompt

Create a dialog that prompts the user for his/hers userid and password.

Call this dialog on the workbook_open event

on the click event for the ok button on the dialog attach code to validate
the user id and password and then open the oracle database.

"bslater" wrote in message
...

Hi all,
I was hoping I could get some help for the following problem. I am
a very novice programmer, so it may be an easy solution that I am
overlooking. Basically, I want my VBA code to open an oracle database
via DSN (or not, whichever is easier) and prompt the user to enter
their id and password like you were logging into the database via
WinSQL or something. If that makes any sense. Any thoughts?

Thanks,

Brian


--
bslater
------------------------------------------------------------------------
bslater's Profile:
http://www.excelforum.com/member.php...fo&userid=1760
View this thread: http://www.excelforum.com/showthread...hreadid=262490



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
msquery prompt for password jocke Excel Discussion (Misc queries) 3 March 17th 06 09:07 PM
Password Prompt Noel Excel Discussion (Misc queries) 0 May 18th 05 07:42 PM
Password Prompt LuhElle Excel Discussion (Misc queries) 1 March 8th 05 11:11 PM
Web Query - UserID/Password Protected Textbox tholt2 Excel Programming 0 June 29th 04 04:28 AM
FileSystemObject CopyFile with UserID/Password Tod[_3_] Excel Programming 0 January 7th 04 06:03 PM


All times are GMT +1. The time now is 01:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"