Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Usera and Passwords


Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2001, 05:09 AM
wbehr
Guest
 
Posts: n/a
Question Usera and Passwords


Hi!

I have developed a VB program that, among other things, allows one to select a document or database. Depending on the type of document or database selected it calls Word, Excel or Access and opens the chosen document. All the documents are password protected, with different levels of access depending on the identity of the user.

My problem is that one needs to sign in for each document when it is called.

The idea is to have a password routine that allows one to sign on when starting the VB program and that user and password is evaluated when the application is called, without having to sign in on the application again.

Note:
1. I am calling Word, Excel or Access to use the program’s functions and to limit the user to the access set-up when creating the document.
2. VB6 and MS Office 200 are being used.

Thanks if you can help.
Reply With Quote
  #2  
Old 10-11-2001, 08:53 AM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default Re: Usera and Passwords

Since you don't want the user to have to log into each doc, it seems like
you will have to create a user/password database. Once the user is
logged in to your app, you will have to supply the correct password for
each document opened. That last part may be what you are really asking.
I am not sure how or if that can be done, but it seems logical that there
is a way.
__________________
Posting Guidelines
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->