VB.NET 2003 or 2005 application program.i was trying to create an application program to compress some files using 7zip. when application program runs, need to browse and select the files need to be compressed and mention the name of the zip file and compress the file in that folder.i google for some help. i'm getting examples only in C#.Anyone know whether i can do this in VB.NET?
How exactly do you copy the content of a .rar/.zip file (from your resources) to an archive in the computer? (.jar - Java Archive)I mean without deleting existing data on the .jar file already. I use this code currently.The TestArchive is a .zip file, and when I press the button, it extracts the content of TestArchive to the .jar arhive, but deletes everything that was already inside the .jar archive.[code]...
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.
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.
I have seen that in universal usb installer the program asks for a file then has 7zip extract the contents of the iso, is there a way to do this in vb.net?
VB.NET 2003 or 2005 application program. i was trying to create an application program to compress some files using 7zip. when application program runs, need to browse and select the files need to be compressed and mention the name of the zip file and compress the file in that folder. i'm getting examples only in C#.
i'm trying to create a program that enables a user log into the program using a username and password, first he/she must first create an account with some vital information incase the password is forgotten so it can be retrieved
I try to create an forgot password application. in the application, in order to get user password, user must do some input. there is 4 input : Username, Name, Security Question, and Security Answer.
Try If TextBox8.Text <> "" Then kueri = "select Username, Pass, Nama, SecQue, SecAns from Account where Username = '" + TextBox8.Text + "'"
i would like to create a password generator however i have a 2 text box aplication the top one is where the person types their e-mail address then select generate. the program must then use that address to generate a unique password only for that person if another email address is inserted in the top text box a total different password should be generated.
Is it possible for vb to extract files from tar(and put them back)? I found this but it says that Dim tar As New ChilkatTar <<<< ChilkatTar does not exist I am trying to edit one xml file(which is not compressed) but if i do that with notepad, the tar becomes corrupt
I knew that what I have doesn't create the username and password in the same .txt file. when i create a new user they both get thier own file with no text in them. When I tried to get the streamreader to access the previously created accounts, the only password acceptable is 'password'. I think it only accepts 'password' because 'Password.Read()' and it only created a .txt file Password when I typed it in. (I can't be for sure though). The top code is my Create User and the bottom code is my OK(accept created user).
Private
Sub CreateUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateUser.Click If Not My.Computer.FileSystem.DirectoryExists("C:Documents and SettingsAll UsersStart MenuProgramsLogin Text To Speech") Then
I would like to create a login screen with username/password. The login screen should validate username/password before the user is redirected to the next screen.
I am trying to make a form for an app that will update the current users password to something new of his choice but I cant seem to make it update the database and just says the wrong password statement.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim connection As New SqlClient.SqlConnection Dim command As New SqlClient.SqlCommand Dim adaptor As New SqlClient.SqlDataAdapter Dim dataset As New DataSet [Code] .....
I have a VB.NET form that contains textboxes for the user to enter his details. I have a delete button in the same form that I want only the administrator or any authorized person to be able to use. Basically, I want to make the delete button password protected so that the normal user can't delete any of his details. only the admin who has the admin password can delete it. Is it possible to create a password protected button?
Rule 1: Replace all of the vowels (A, E, I, O or U) in the original password with a number as follows: (20 points) Replace the first vowel with the number of 1. Replace the second vowel with the number of 2. Replace all other vowels with the number of 9.
Rule 2: Replace all of the numbers in the original password with the letter Z. (15 points)
Rule 3: Reverse all of the characters in the original password. (10 points)
Rule 4: The enter password should be non case-sensitive. All the letters in new password should be in upper-case. (5 points)
This is what is should look like:
My code:
CODE:
Right now I'm not worried about the efficiency of the code (i.e. simplifying code into fewer lines). The problem I am having is the locating and replacing of the vowels. When running the program the code will replace all of the numbers with "Z", reverse the string, and make all letters uppercase. When it comes to locating the vowels, the program squares the number it goes through the string by the number of letters that it contains. I don't know why it does this.
when the string contains more then 1 vowel the first time it goes through it replaces all vowels with 1, then goes through again and replaces all vowels with 2, and goes through again repalcing all vowels with 9. These are all then combined into one string.
The research I have done has only turned up how to replace vowels with one thing (i.e. all vowels become "*")
I just need to set the archive bit on a file. I see the archive attribute in the FileInfo object which I would think allows me to read the state of the bit, but I'm not sure how I would actually set it.
What I need to know is how to archive UserControl inheritance with VB. I found some samples how to do this with C# and all of them work fine with C#. But when I try to translate this in VB I get an error (namespace not found) in my UserControl-XAML.
E.g. This link, Variant 1: [URL]
It seems to be easy in C# and impossible with VB. This is my approach: 1) the class "TestBaseCtrl.vb" Code: Imports System.Windows.Data Imports System.Windows.Documents Imports System.Windows.Input Imports System.Windows.Media [Code] .....
Error message: "The local.TestBastCtrl-type was not found. All assembly references have to exist and all assemblies, that are referenced, have to be built."
It seems to me that the compiler does not find the class in my namespace but I can assure that the namespace is as correct as it is in the C#-project. I need a UserControl to inherit from, there are several functions that should be integrated in all of my forms and I do not want to implement them in every form I want to create. If I get this working, I hope that this kind of UserControls will still be working within the CAL (Composite Application Libary)-Framework, but this will be another story for another day...