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 TouchToneTommy 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: *

  • Users: Cimso
  • Content: Threads
  • Order by date
  1. Cimso

    FileExists method

    How would I go about searching a whole drive for a file? Can it be done with the FileExists method?
  2. Cimso

    Kill and RmDir

    Does anyone have any idea why this isn't working? If Dir(&quot;C:\Custlink&quot;) <> &quot;&quot; Then Kill (&quot;C:\Custlink\*.*&quot;) If Dir(&quot;C:\Custlink\Batch&quot;) <> &quot;&quot; Then Kill (&quot;C:\Custlink\Batch\*.*&quot;) RmDir (&quot;C:\Custlink\Batch&quot;)...
  3. Cimso

    Deleting a directory

    I know I can use the Kill command to delete files, but how would I go about deleting a directory?
  4. Cimso

    Check to see if a file exists

    How would I write an IF EXIST type statment? I'm need to check if a file exists.
  5. Cimso

    Simple Loop

    How would I loop this until it was done? Dim ChkID As String ChkID = txtCustomer.Text If ChkID = &quot;&quot; Then Message = &quot;Please fill in the Customer ID Number&quot; MsgBox Message, vbOKOnly + vbInformation, &quot;ERROR&quot; End If
  6. Cimso

    dirlistbox to variables to a file

    Say I had a return of C:\shop\data\mdb from a dirlistbox. Would there be a way to make the drive letter and the returned directories into variables so.. C = W, shop = x, data = y, mdb = z and then write that to a file and say... W: CD X CD Y CD Z I'm quite new at all of this. Thank you to...
  7. Cimso

    Need txt on a certain line

    How would I add txt to a certin line in a txt or bat file? Say I wanted to add it to line 4... Dim lngI As Long Dim Autobat As Long Dim strFile As String Autobat = FreeFile Open &quot;C:\Autoexec.bat&quot; For Input As #Autobat strFile = Input(LOF(Autobat), #Autobat)...
  8. Cimso

    Add or Replace

    What I'm trying to do is look for a string in a file. If it's not there, add it. It it is there, replace it with a new one. I seem to be doing something wrong.... Dim Autobat As Long Dim aryByt() As Byte Dim strFile As String Autobat = FreeFile Open...
  9. Cimso

    Batch files

    I have some combo boxes and drivelist boxes and I need to save what was chosen as different variables for a batch file.

Part and Inventory Search

Back
Top