Creating A Password Managment Tool And For The Storage?
Nov 26, 2009
I am creating a password managment tool and for the storage I will be using a text file, I want to encrypt so I decided I will use the Rijndael cypher. I have found source code which does this to a file:
http:www.codeproje...ncryptFile.aspx. It is well explained but I am but still struggling to understand parts as I never looked at cryptography at all before.
Private Function CreateKey(ByVal strPassword As String) As Byte()
'Convert strPassword to an array and store in chrData.
Dim chrData() As Char = strPassword.ToCharArray
'Use intLength to get strPassword size.
[Code]...
This assigns all of bytekey with half of the hash from byteresult. Am I correct? If not why not just use SHA256 instead of SHA512 as you are only using half of the hash. If somebody could explain this to me this would be great. Already confused and this is just creating the key, then the IV needs to be created(not sure what an Initialization vector does) then the encrypt/decrypt function. I think I will struggle understanding this but I am going to try.
View 2 Replies
ADVERTISEMENT
Apr 18, 2011
I am writing a program in vb.net that requires a user to log in before he can use the application. The main user is created when the program is installed, similar to how windows works when it is installed.
The main user can add additional users to the program. I already know that I should store the passwords encrypted. My question is, where should I store the usernames and passwords? The registry, Isolated storage or .config file. I don't want any user to be able to modify/delete that file as the other user would obviously not be able to log in. Also, this file should be accessible for any user that logs into the computer.The computer is not guaranteed to be connected to the internet, so it must be stored locally.
View 2 Replies
Jan 12, 2011
I was reading an article about isolated storage and thought of doing the following.Encrypt files.Add them to Zip.Unzip the file,decrypt the content and copy all the files and folders into an isolated storage and then load a specific file into a web browser and launch lets say an HTML page I got stuck on the Isolated Storage thingy
here is a part of my code
'So far i unzipped the content of the Zip file
'Setup file streams to handle input and output.
fsInput = New System.IO.FileStream(strInputFile, FileMode.Open, _
[code]....
Encrypt files.Add them to Zip.Unzip the file,decrypt the content and copy all the files and folders into an isolated storage and then load a specific file into a web browser and launch lets say an HTML page)
View 1 Replies
Mar 9, 2010
What I need to do is be able to enumerate pretty much all hWnds and locate any TextBox (outside of my program) and get information about it (eg: Name if any, text in it, etc).
[Code]...
View 1 Replies
Nov 15, 2011
i am creating a temperature conversion tool with vb 2010. i am trying to use radio buttons to choose the type of temperature that i am converting to and from.
Option Strict On
Public Class project
Private Sub txbInital_TextChanged(sender As System.Object, e As System.EventArgs) Handles txbInital.TextChanged
[Code].....
View 4 Replies
Nov 23, 2009
It seems that in C#, a solution can contain multiple projects, which, I guess, would compile into separate but somehow related programs. It seems that this functionality is missing in VB, even though VB uses solution files as well.How would someone go about creating a tool or utility or "helper app" for a project? For example, a command line version of the program, which is a separate executable, but obviously would be distributed as part of the main program? Maybe I want to integrate a feature into windows where the user can right click on a certain file and choose "convert" from the context menu, where "convert" would open the helper app, which would read the file and save an updated copy of the file (converting from one file format to another and saving the result) without the user needing to wait for the main program to load, wait for the interface to be configured, then wait for the file conversion. The helper app would not need to display an interface to the user - just convert and save the file.
View 8 Replies
Jan 14, 2009
I haven't been doing a programming for awhile now. But, I was a VB programmer before. I will be creating a tool to log issues encountered by the users of our system. It will be a web based. I'm planning to create it in VB.Net. Any resources that you could share is greatly appreciated. I'm looking for a ready program that I could start with to speed up my programming.
View 1 Replies
Nov 16, 2009
Is there any tool I can use to create a report from a pipe-delimited file? This report will need to have multiple fonts on the same line and be "programmable". I need to be able to loop through a section to output detail data to the report, keeping track of how many records are output.
View 3 Replies
Nov 25, 2009
I am creating a small admin reporting tool that gathers certain information on some PCs. Unfortuantly the user that is running the tool doesnt have access and I cant give access to those particular machines. What I have done is created a user on these machines that can get this information.I would like to then have the reporting tool run certain parts of the code as this user so the information can be obtained, without any intervention from the user running the tool. Can I hardcode this user into the code so that it runs the code as the user?
View 4 Replies
Feb 23, 2009
I am creating a user tool for a game I am playing (NOT a hacking tool, it simply shows information about my own character). I have a template of what I need to do with the data I recieve, here is the code, it is coded in PHP
function decode_style($r) {
//get gender
$gender_array = array('Male', 'Female', 'Male 2','Female 2','Male 3', 'Female 3');
$style['Gender'] = $gender_array[round($r / hexdec(4000000))];
//GET AURA
[CODE]...
Ok, I understand PHP a bit (As you know one programming language you can understand just about any) and this is what I have created from this
Dim Style As Decimal
Dim Rank, RRank As Decimal
Dim Gender, RGender As Decimal
Dim Aura, RAura As Decimal
[CODE]...
As you can see, it is receiving a single piece of data from a remote SQL server, I then need to run this data through the above calculations (Seen in the PHP file) although the answers I'm getting are incorrect.
Here are some simple instructions I got in what goes on between values:
gender :
PHP
[CODE]...
aura:
PHP
[CODE]...
View 1 Replies
Apr 20, 2012
i have problem in vs2011 betai have database file and i attach it to vs2011 but when i open the connection this error appeared
View 2 Replies
Aug 19, 2009
I am right now in an project using VB.NET and needs to translate this C# code into VB.NET
oldCommand.CanExecuteChanged -= commandReference.CanExecuteChanged;
newCommand.CanExecuteChanged += commandReference.CanExecuteChanged;
For me it seems like the an event hooking up on an another event?But I have tried everything to translate this into VB.NET code?I have found out that EventHandler management in VB.NET is far from as good it is in C# as many other things.
[Code]...
View 3 Replies
Nov 18, 2009
I have created a button its function to get the date and write it in a text box , and the month in anther text box while the year will be in four text box each digit will be in 1 text box
for example:-
{
(25/12/2009) }
[code].....
View 4 Replies
Jul 22, 2009
I went ahead and made a fresh database and a fresh VB app to make this as easy as possible. I'm running what i believe to be the most up to date software, both 2008 express editions. I want to add a data source in VB to connect to my database in the Sql management studio. I click add connection data source = Micro. SQL Server compact 3.5 I navigate to the DB file Then I get an error "you do not have permission to open this file."
View 2 Replies
Jun 21, 2010
creating a password generator in VB using VS 2008.What I want to do is have a front end which has a text box (to enter password length), a button (to generate a password) and a label (to display the password).I have been successful in creating random numbers; however a password containing just numbers isn't sufficient. So I would like random characters including uppercase and lowercase letters.
View 4 Replies
Oct 19, 2011
VS 2008 Creating a Password Application with Do Loop
View 4 Replies
Nov 29, 2010
I am trying to copy file from server to the Current Pc useing the following code..[code]
View 4 Replies
Jan 5, 2010
I want to make a Tool Bar in my task bar such as windows media player tool bar.
I'm using VS2005.net Windows xp Professional Edition.
View 5 Replies
Oct 17, 2010
how to put the tool tip text in status bar label this in form load event
View 14 Replies
Oct 19, 2010
I am currently creating a tool that can manage local user accounts on Windows-PCs. I am using the functions described on
this MSDN page ; and after some struggling, I got most of them to work.
Unluckily, I haven't found a way to set the option "User must change password at next logon" while creating a new user account. I use the
NetUserAdd -Function to create the new user. I set the level to 1 and supply a
USER_INFO_1 -Structure . This structure accepts flags, and the flag UF_PASSWORD_EXPIRED seems to be exactly what I want - but when I set it, the user can log on without changing the password first...
I'm developing on Windows 7 Ultimate 64-Bit using Visual Studio 2010 Express.
Here's my code:
#Region "Constants"
Public Const UF_PASSWORD_EXPIRED As Integer = &H800000
Public Const USER_PRIV_USER As Integer = 1
[Code].....
View 7 Replies
Jan 15, 2012
I'm trying to create a password change form for my company's vendors. There are a couple of scenarios I could encounter doing this:
1 - User enters invalid current password
2 - New passwords do not match
3 - User's account is locked
4 - User cannot authenticate because password is expired
It's case 4 that I'm struggling with, because their is no way for me to take the password the user entered and verify it against active directory without getting an error.
View 5 Replies
Jun 1, 2011
I am implementing a system where the user can Reset their password if they have forgotten it.Once it is reset I want to give them the option of changing the password so that it will be something more memorable to them.The password is hashed and if i enter in the correct old password and new password the password does change.If I enter in the wrong old password and new password the password doesnt change.Is there a way to match the old password with the old password field in code behind so I can throw up an error to the user to tell them what is wrong? [code]
View 1 Replies
Feb 10, 2009
How do you get a textbox being using for password entry to display the black circle that you often see in web forms, on the iphone etc etc?
I can change the PasswordChar property to an asterisk no problem and even copying and pasting symbols inserted into Word seemed to work - just couldn't find a symbol that looked like a bullet point!
Can this actually be achieved for a standalone exe, or is it something unique to web forms? Surely copying and pasting symbols from Word isn't actually the answer?
View 6 Replies
Jul 25, 2011
I read and write the cells from excell sheet sucessfully. now please i need a advise on the following
1. Where i save the file? at the time of project publishing it include also with the project?
2. how i check file exits or not?
3. How i pass the password if excell sheet have password and enable macro?
View 1 Replies
Apr 21, 2010
I'm currently working on a CRM project in vb.net. I want the program to start with a prompt that asks for a password and if the user enters the correct password then the main form loads.Im having some problems wrapping my mind around this...
View 10 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 8, 2010
I need some input how to storage some information.The information I wish to store is a list (1-300) that contains the following:
-Raw material (string)
-An array of Value (double or long)
-An array of Date (string preferably)
My first approach to this was looking at the structure statement but I couldnt figure how to use the array within the structure statement.
View 2 Replies
Nov 30, 2006
Almost every one hour, when I run the project
View 12 Replies
Dec 30, 2010
I am using a MySQL Server on the net and a Windows Forms client program, which connects to this server.
I want to use SSL and have prepared everything, that this can be used. My primary question now is as follows:Where / how to store the files for the SSL certificate as best way? As embedded resource? as external file? As part of the My.Settings environment?
View 3 Replies
Mar 31, 2012
I have been trying to do this for about a month now (hard to get answer quick because of school), but i need to decrypt a file into memory. I know you have to "write all bytes to memory" but i have two problems with that, 1. I have never touched on that itself and don't know how to write the bytes of an executable to memory, 2. I still wouldn't know how to decrypt it in memory. Right now my code is:
ElseIf entype = "rc4" Then
If File.Exists(thepath & exerandname) Then
Kill(thepath & exerandname)
[code]....
it checks if the file exist then deletes it, then it opens the file and decrypts (_4reversecr.enc) the file(Cutter(1)) with the key (key)?
View 5 Replies