Is it possible to get a list of usernames (as shown in Control Panel->Users) on the PC that my app is running on? If so, is it then possible to determine the type of account (i.e. Admin, Standard AND if the account is the Built-in Guest or Built-in Administrator account)?
I want to create a login system that reads the usernames and passwords for a list of arrays:[code]I have managed to code the program so it accepts the correct username and password and sends a error message when they don't match. The problem I'm having is when the user enters a username that isn't on my Username list. The program always crashes when I enter say "admin1000".[code]
i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.
Is there anyway to return a list of all user accounts on a PC running windows vista business edition using VB2008?I am trying to integrate a type of security in my application using what it already implemented in windows.
If TextBox1.Text = "PleaseHelp" Then Button1.Enabled = Enabled End If
BUT I need like multiple correct logins I don't know how I forgot! EXAMPLE: If TextBox1.text = "PleaseHelp, HELP, Thanks" <--- gives me a error I know it isnt the correct way! I just cant figure it out and its basic code....
I am trying to get use to this....I need to know how to type in a database for my usernames and passwords??? I am using visual basic 2008, which I think is visual.net? anyway...heres my code:
Code: Public Class login Private Sub login_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Hello.Hide()
First off, I am a total VB noob. I want to create a program so that I can store usernames and passwords. I want to be able to search by username and pull up their password. What VB program do I need to write this? Can I just use the VB in excel?
Basically i am trying to create a programme, which needs to have some authorisation.
When the application starts up, it starts straight into the login screen.
I want the Username and Password textboxes to read the database and if they match then progress to the next form but if they dont match then a message box will appear.
I also want to create groups of people so if a certain group of people log in they go to a certain form and if the another group of people log in i want them to go to a different form.
Also i want the password box to be * instead of visable text.
I am been working on an a small app that has a Forms.Webbrowser control that navigates to a Adobe Flash program. I have developed the app on Vista 32bit platform and have had no problems. I have sent the app to a couple of people to test out and one is using Vista 64bit and is running into a problem. I know the webbrowser control just uses the underlying base framework of IE. The problem on the 64 bit machine is when the site is navigated to it says that it needs to have Flash installed. When the user goes to Adobe's site it says they need to use a 32bit browser.
As stated on Adobe site here:[URL] the Flash player need to be in a 32 bit browser. What options do I have to be able fix this problem? Is there another control that I can use that would be the same in a 32bit platform and 64bit platform? Besides navigating to the Flash program, the browser also goes to standard web pages.
I have the following text that I am trying to parse: "user1@emailaddy1.com" <user1@emailaddy1.com>, "Jane Doe" <jane.doe@ addyB.org>, "joe@company.net" <joe@company.net>
I am using the following code to try and split up the string: Dim groups As GroupCollection Dim matches As MatchCollection Dim regexp1 As New Regex("""(.*)"" <(.*)>") matches = regexp1 .Matches(toNode.InnerText) For Each match As Match In matches groups = match.Groups message.CompanyName = groups(1).Value message.CompanyEmail = groups(2).Value Next
But this regular expression is greedy and is grabbing the entire string up to the last quote after "joe@company.net". I'm having a hard time putting together an expression that will group this string into the two groups I'm looking for: Name (in the quotes) and E-Mail (in the angle brackets).
I want to make different levels of access for a vb.net program i'm writing.I have a database called "stratocast". I want to show a specific form for entries in this table with "IsManager" checked and another specific form for those with "IsAdmin" checked.Im using MySql server and visual basic 2010 express
EDIT:To clear up any misconceptions about my post, ill explain further: In my vb.net application i have a login form with two textboxes; One for the username and one for password. I also have three other forms, one is called "frmAdmin", another called "frmManager" and another one called "frmEmployee".
On my database i have a table called "employee" with columns called "name", "title", "IsManager", "IsAdmin", "Username" and "Password".
IsManager and IsAdmin are both Boolean columns
This means that their values can only be 0 or 1 and the result is displayed as a checkbox.When the employee logs into this applcation i want it to check whether or not the employee is a manager, an administrator, or just a regular employee with no additional rights. If the employee is a manager, i want to show "frmManager". If the employee is an Administrator i want to show "frmAdmin". And if the employee has no additional rights then i want to show "frmEmployee".
I'd like to keep the configuration for access level checking confined to the one table but if it's better to have separate tables for each level of access (ie: tables called Admin,Manager, and Employee) then ill consider that too.
I'm actually a beginner in VB express. i made about 10 easy programs, now i decided to make one a bit difficult. I'm stuck at the beginning.In first form i have 2 Textboxes and 1 Button (1username, 1password, button - sign in) and then another 2 Textboxes and 1Button (1username, 1password, button - register) I want to make something like this for beginning: When you register the infos from textboxes (username & password) are saved in some file (let's say in info.txt or info.ini). I actually want to know how to automatically save these usernames and passwords in text file when you click register button, so when you want to login, you have to use registered username&password. So if there in text file is not the username you registered or typed in textbox you can't login.
i have a vb6 program that works fine in windows xp, but when i run it in windows vista i get a run-time error '-2147417848(80010108)'. what has changed from xp to windows 7?
I used visual studio to publish my application. I am able to install my app on a windows 2003 server, but when I try to install my app on my pc which have vista a error appear "Application cannot be started. Contact the application vendor". and it gives details of the error.Here is the details below and in the attachment:
PLATFORM VERSION INFO Windows : 6.0.6002.131072 (Win32NT) Common Language Runtime : 2.0.50727.4016[code]...............
today i started up my project and got like a error something with a line was something and i could press like fix or do not fix.I pressed fix and i got a xp style on my program. every thing looks weird..oh i forgot say that i run vista... and i dont want xp style on this program. ITs just the program that is changed, i got every thing else in vista style.i worked nights for this program and don't wanna do it again!
my application required the dropping of resources when a button is pressed.It seems when this button is pressed on XP everything works swimmingly, however...
on windows 7 and vista the button simply dosent do anything, ive tried elevating to admin etc..
Is it possibly due to how it creates/drops resources?
How can I detect if my current OS which my program is running under, is Windows Vista?note that there are 2 versions of Vista:Vista and Vista SP1.The build number of Vista SP1 is the same as Windows Server 2008 and that makes the problem!I just want to make sure my OS is vista?
screwed up User Access Control, some functionality does not inherit the accounts true privileges. I built a Command Prompt application and ran it from an Admin account, but I kept getting access denied when I ran it. The only work around I can find for now to shut the dam thing off in control panel.
With Vista we are having a permission denied error when an application tries to change properties of a file in Program Data folder... before replacing with a newer version of the file.Changing of security permissions for a standard user is not an option. Is there a way we can grant the premissions for an application developed in VB .net to give permission only to change properties of this file.
I'm testing my 32-BIT application on windows XP Pro, and Windows Vista Home Premium, will there be any problem for my App to run on 64-BIT?
Also wondering, if my App has no bugs/problems with Home Premium (Vista) will anything on Ultimate (Vista) effect it? like Windows BitLocker Drive Protection? or anything like that?
I have recently developed an aplication in XP that it works on XP nice but in vista or seven don't work at all. It gives a message when I try to enter the application like " The program cannot run.."
I am using Windows XP and Visual Studio 2008. Now, i am writing an application which under testing runs fine under XP but when i try to run it under Vista, when i click on the program i keep getting an error saying:System File Intergrator has stopped working.How do i get my application to run on Vista as well as XP?