|
-
Jun 5th, 2002, 12:46 AM
#1
Thread Starter
Addicted Member
See This
I'm using Oracle 9i and VB 6.0. What I want is that at the time of app start I want to make connection to oracle taking the username,password and hoststring from my User.Any body knows how to get the all the valid users and host strings of Oracle in VB.I want to show them to the user in a combo.Thanks in advance
-
Jun 5th, 2002, 02:09 AM
#2
Thread Starter
Addicted Member
Is there any body out here. why no one is not even looking into this.
-
Jun 5th, 2002, 02:30 AM
#3
Erm.
Have a look at Environ$(<number>) where <number> is a valid number from 0 upwards.
If you use Debug.Print and loop through you can see all the environment settings on the computer, of which one might be the user name. Otherwise you'll need a log on screen.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 5th, 2002, 02:41 AM
#4
Thread Starter
Addicted Member
Ofcourse I require a Logon screen and in the Logon screen I have two combo one for User and other for Host String.And I need to fill those combos with valid users and host strings.
-
Jun 5th, 2002, 02:48 AM
#5
Have a look at ADOX as this has extended functions to ADO - might be a way of getting the user information.
I personally wouldn't use a drop down list, let the user type their logon correctly, or pull it from the machine.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|