Store User And Password Information Into The Application
Jan 8, 2011
I'm trying to make a application with a login system. I want to store user and password information, into the application. So I can access it from my administrator account. I have tried to make a textbox for every username and password,And then save it into my.settings And then I run the finished application, it works fine to store the information. but if I copy the application after I had entered some user/pass information. All textboxes I blank on the other computer.
View 4 Replies
ADVERTISEMENT
Feb 16, 2011
I'm a newbie in visual basic. I'm doing a login system. I'm done with the GUI. but for the programming part, I want to know where to store new user's information along with the username and password. I've done research. seems like it has something to do with database. p/s: I'm looking for high security in storing data to prevent hacking.
View 1 Replies
Aug 7, 2011
I am trying to store confidential encrypted user information for my program on a single computer. I do not want the application to be copied on to another computer and be usable. So I was thinking about storing the information in the Registry but I read that that is a very unsafe location and is bad for more reasons then one. I started storing the information in the programs Settings.config file but I am not sure how to encrypt that information. The only thing I have gotten to work so far is storing the information in a XML file and encrypting that which has worked but I want the information to be more hidden and more secured.
View 9 Replies
Aug 20, 2009
I need to have the ability to have a Global variable/class that stores some basic information about the currently logged in user including that user's preferences, security rights, UserID, etc. This information will be needed by any/every part of my application. In the past I have either used a Public variable/class in a vb.net module for this purpose. I'm trying to get away from my old ways of doing things and was curious what people currently do for this functionality.
I am thinking a singleton or 2 regarding preferences and security but am not sure if that is the best way to go.
EDIT: I asked this when I was too sleepy last night. This is an n-Tier WinForms application.
View 2 Replies
Apr 27, 2012
I need to store specific information about a user in a file of some sort. Something like an old ini file?
I will need to save a file for each customer.
CustomerName
OrderDate
DeliveryDate
[Code]....
All things point to a database but for several reasons I can't use a database.
View 2 Replies
Apr 23, 2009
I have an ASP.NET application. It resides within another ASP.NET application. I put my DLL in the other apps bin folder and have a subdirectory with my aspx files. I can't edit the main app's Web.config.
So where can I store configuration settings? For example, this is an app that will get deployed to various clients. I want to store the client name used for display in the headers and such. And the location of a logo file.
View 3 Replies
Jul 5, 2011
make a application where I can store a lot of account information in a file on my computer. This is how it works so far.I have a class called "AccountInfo" with some properties such as Account Name, Password, etc... This is bound to a DataGridView via a Bindingsource. So basicaly what I'm asking, is how can I save/load all these accounts in my computer easily in a file or something?
View 2 Replies
Dec 25, 2011
how to save data (for example some text that user type [as password etc]) and save that password on same location where is application. After saving I want to have also Load option so we can load saved data.
View 7 Replies
Apr 24, 2012
Basically i am creating a console application that will create and store client information as a .txt file it is going okay but i have come across a slight hick up i want to use something on the lines of this .....
dim lastname as string
Do Until Integer.TryParse(Console.ReadLine(), LastName) = False
Console.WriteLine("Invalid input, Please try again")
Console.Write("LastName:-")
[code].....
this works fine to trap out numbers from letters but the problem i am getting is when the program calls uppon LastName it is recording 0 and wanted to know if there is a way of getting past this ..... so basically i need a way to allow letter but not numbers and symbols and then dispay a pernolised error message but at the same time use Stream writer to save was the answer is in a .txt file.
View 3 Replies
Jul 12, 2011
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 Replies
Mar 22, 2012
I am coding a program that will allow the user to input 5 payrolls for Store 1, Store 2, and Store 3. The total of the 5 payrolls are then added together and shown in the respective Store's labels. A total label is also there to add up all the totals into one number. The numbers in the label must be in currency form. My problem is the numbers don't add correctly when I hit calculate. The first two numbers add together, but then after that the number just seems to subtract a random amount.
So far I have this --
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Me.Close()
End Sub
[CODE[...
View 14 Replies
Feb 27, 2011
How can I start (Run As) application for example "C:xxx.exe" with another account-user and password in vb.net?I tried the ( Process.Start ), but it doesn't seem to work.
View 2 Replies
Sep 7, 2009
I want to store some information of the form in such a way that if the user quit/exit the application it stores the information. When user runs the application next time the information should be available to him. It also involve the restart of the computer. The application is in vb.net 3.5 framework. The one way that i can think of using flat files and encrypted data, but i can not do this. I do not to store any kind of data on client side and I can not store this information on server side. The problem is of getting client machine information and storing it on server.
View 3 Replies
Jan 30, 2011
I am creating a windows application using visual studio. I want somehow to insert an excel file into the application so the user will be able to download it from the program and save it to his computer. This means that the file will be a part of the program. There will be a button that will prompt the user to save the particular file somewhere so he can then view it.
What should I do in order to "embody" the excel file to the application? And what code should I write to link the file with the button?
View 8 Replies
Jul 15, 2009
I am looking to create a simple password box that will ask the user for a username and pass, if the user is validated against the usernames and passwords in an .ini file the login box will close and launch a program also stated in the .ini file. I would also like to be able to launch different programs for different users.
View 16 Replies
Apr 10, 2010
I have a button on my Form called EditingButton that will have a DialogBox appear asking for a password. How can I have "*" show instead of the Password it-self when the user enters the password?[URL]...
View 1 Replies
Jan 20, 2011
In vb.net I am using password protected database with following connection stringconnetionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:vaivaiDB.mdb;JetOLEDB:Database Password=secret;"Database access works fine on the development machine.
View 2 Replies
May 24, 2012
I have a text box where i am entering numbers of double datatype andon the Keytdown event of the textbox some checks take pace and in certain circumstances I want to be able to stop the user from entering other information until they enter the right information in the textbox (where it says right here) . now when I say exit sub the textbox somehow loses focus . but this is not how I want it to be I want the textbox to remain with the focus so the user can change the information . How can i go about this. And the other thing is why is my txtDestPayRate1.Focus() just befor the exit sub not working?
Private Sub txtDestPayRate1_KeyDown1(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles txtDestPayRate1.KeyDown
If e.KeyCode = Keys.Enter Then
[CODE]...
View 2 Replies
Jul 8, 2009
I went for an interview last week, and the interviewer asked me a question that i failed to answer.
He asked me, how did i store the password in the database. Then i answered that i would encrypt it then store it in database.
Then he said after encryption, developer or admin still able to view the encrypted password. But he didn't want developer or admin to be able to view the encrypted password.
I thought of cookies, but if user clear their cookies file, everything will be gone.
View 7 Replies
Jun 21, 2010
how to encrypt the password store in the database so that if the database found by pupil it cannot take password from the table .how to encrypt password .I m using microsoft acess as the databese.
View 5 Replies
Oct 17, 2010
I need to be able to accept a password from a user in a WPF app, encrypt it then store this in a database and be able to decrypt later on. However I'm not sure how to implement this.
This is completely trivial so whether it's safe or not doesn't matter. All I need is for it to get working only I'm unsure exactly how to do it. I've tried playing around with the DESCryptoServiceProvider() but haven't gotten anywhere.
To be clear, how exactly do I go about converting a simple password into something that's been encrypted and storing it in the database (and what fields would I store it in). At this point, I'm happy if there's only one key and that key is being defined in the source code.
View 4 Replies
Jul 16, 2010
I am looking to make a "user.settings" file or something similar that stores information for my application. I'm not sure how I would read a text file per line and do something depending on what it says.
View 7 Replies
Apr 18, 2012
I have the following code which extracts the contactcode from a table in a database;
[Code]...
Code: lblUniqueID.Value() = (RandomPassword.Generate(4, 6)) Now, I want to compare the contactcode values extracted from the database and the value stored in lblUniqueID.Value(). If the random password is similar to one of the contactcode then generate another RandomPassword IF NOT then place the value to another label called lbltransfer.text.
I'll insert that value to the database.. The idea is extract all the contactcodes(these are the random passwords already generated and stored) from the database. Compare with the new generated password if it exists then create another one if not then store it in a label called lbltransfer.text.
View 3 Replies
May 26, 2009
Currently I am trying to receive input from a user for up to five usernames and passwords. I can not figure out the best way to do so. I have tried textboxes but that makes forms look dirty and redundant.[code]...
View 2 Replies
May 14, 2009
I want to store some string information in my application exe. The information should not be lost in when the application is closed or restarted. It should be like editing a text file in application resources.
View 14 Replies
Jun 21, 2010
I was wondering how you can copy information (from a webpage, for example) and store it in a string?Also, how would I take only one word of the string if there are spaces between words and I will always be removing the word with the same location in the string (for example, the last word in string).
View 1 Replies
Sep 7, 2011
I have a config file that I store information in and parse using streamreader. For example..
configfile.txt TEMPLATE NAME: mytemplatename TEMPLATEDIRECTORYPATH: C:TEMPWOOF.TXT
I had been doing a split function after the ":" but, that doesn't turn out so good once you add in file paths. I have turned to trying to grab the first ":" from the left using the "InStr" function which returns the char integer. I need a way to grab all the information on that line after the first ":".
View 4 Replies
Mar 11, 2009
I am new to development and I am looking for some pointers. I have a sql 2000 database and a vb.net app. Right now the SQL username and password to connect to the database is stored in the VB application which is not convenient since we must change the password periodically. The user opens the app and enters the username and password for the vb application. Using the credentials stored in the application to connect to the sql server, the app checks the username and password stored in a user table in the database to determine if they are allowed to connect or not. For various reasons, it is not feasible to simply have the application username and password be the same as the database username and password. We must have only one database username and password and it must be changeable. Like I said, it is now stored in the compiled application which is inconvenient.
View 1 Replies
Jan 10, 2009
This is kind of hard to explain... I would like to create a listbox, that holds items, and those items store data. Ill try to explain with this picture below. The code I have now is
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
[Code]...
View 2 Replies
Mar 24, 2010
I would like to create a listbox, that holds items, and those items store data.Ill try to explain with this picture below.The code I have now is
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
ListBox1.Items.Add(TextBox2.Text)
End Sub
How do I add information to the item that gets added to the ListBox?(My Button three is the Add to List button)
View 2 Replies