I have taken data from a text file and placed it in a listbox but I can't compare the data in the listbox to a variable.
counter = 0
Open "C:\MyFiles\Visual Basic 6.0\Excel Storage\Username Storage.txt" For Input As #1
Do While Not EOF(1)
Input #1, AlreadyTaken
List1.AddItem...
I want to run a program that will keep track of names entered into a file. I can get it to enter data into the file each time that the program runs but it just writes over the data from the previous entry. This is the code that I am using.
Open "C:\MyFiles\Visual Basic 6.0\Excel...
I am trying to data in an excel file to store it. I am able to save a file but I cannot set the actual files name.
Dim oExcel As Object
Dim oBook As Object
Dim oSheet As Object
Dim path As String
'Start a new workbook in Excel
Set oExcel =...
I have declared several variables as public and I want the user to make sure that the data they stored in the variables is correct on another form.
But I am not sure how to get the variable into the textbox?
Any help?
I am new to VB and I have no idea what you must do to test textbox information for specific characters. I am assuming there is a way to convert the information and place it into a variable but I am not sure if there is a better way to analyze the data. Thanks for any help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.