Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FreedomP

    I have a problem comparing data from a text file with a variable

    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...
  2. FreedomP

    Adding data into a text file at different times.

    Thanks a lot, that did the trick. I completely forgot about append.
  3. FreedomP

    Adding data into a text file at different times.

    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...
  4. FreedomP

    Setting the name if a saved file in Excel.

    Well nevermind, I just forgot to source my variables from their form.
  5. FreedomP

    Setting the name if a saved file in 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 =...
  6. FreedomP

    Placing Data stored in a variable into a textbox

    Thanks a lot it works now.
  7. FreedomP

    Placing Data stored in a variable into a textbox

    That is what I assumed would do the job Lazy, but when I run the program the textbox remains blank. I have a variable, First, publically declared as a string. And I have a textbox named txtFirst I tried the txtFirst.text = First but when the program runs the textbox remains blank. Maybe I have...
  8. FreedomP

    Placing Data stored in a variable into a textbox

    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?
  9. FreedomP

    How to write data to an Excel Template?

    Thanks so much johnwn and elibb. Went to both and I completely understand now.
  10. FreedomP

    How to write data to an Excel Template?

    Oh yeah, and does the file already have to exist or can you create a new file to place it in within your program. I want to send data to a file so that I can store it for future use. Is it possible to do this without having to have the user save the file. As in it stores the data without the...
  11. FreedomP

    How to write data to an Excel Template?

    Could someone explain to me how this is done? I am really at a loss for sending data to an excel file.
  12. FreedomP

    Testing Textbox Information for specific characters?

    Never mind I got it to work, thanks.
  13. FreedomP

    Testing Textbox Information for specific characters?

    Sorry I guess I didn't really explain what I needed. I knew how to convert the textbox information into a variable but I need to know how to check whether it fits a domain. For example. Enter your age: I want to check to make sure that a number is entered into the textbox so that I can...
  14. FreedomP

    Testing Textbox Information for specific characters?

    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.

Part and Inventory Search

Back
Top