Search results

  1. P

    Registry Settings

    Thank you So the settings will be held? I will test this once I have access to the machine with the application installed. Kind Regards
  2. P

    Registry Settings

    Hi Group, I've inherited an Access application - part of the code allows a user to set their Branch number using a form. The new Branch number is then held in the registry using the following code: If blnBranchNumberChanged = True Then strNewBranch = txtBranchNo.Text If Not...
  3. P

    Rename and move file to an existing folder

    Hi Group, I have the following code: newname= "H:\nob\" & left$(strFile,len(strFile)-4) & ".txt" but what is returned for newname is the literal string. I want the file to go to the H:\Nob folder which exists. left$(strFile,len(strFile)-4) resolves to this 6310104. So what I want is...
  4. P

    Moving files with a certain extension...

    Hi Group, I'm using the FileSystemObject and the common dialogue control on one of my forms for a user to navigate to a designated folder. I list the files in a list box once the folder has been selected. I now need to loop through this list of files and move some of the files with a certain...
  5. P

    Before I start to code....

    Thanks OldSoftBoss ...part of the missing link... regards
  6. P

    Before I start to code....

    have I overcomplicated things..... I need to process some files (with the following extensions .xy, .cc, .aa and.pp) Two of these files are fixed-width so I've created an import specification for them. What I envisage doing, is: 1.Create folders for each type of extension. The files have the...
  7. P

    How can I read files in a folder...

    Can't get Dir to work!! I've got the following code but y always results in an empty string!! ChosenFolder is the folder the have selected. There are files in the folder. If chosenFolder <> "" Then y = Dir(chosenFolder & "*.*") Do Until y = "" Debug.Print y y = Dir Loop Thank you.
  8. P

    How can I read files in a folder...

    Thanks Namliam I was just looking into this... Thanks for your speedy response however!!
  9. P

    How can I read files in a folder...

    using VBA. I can select a folder from my existing application, using an API. I now need to read the file names in the folder selected. How can I achieve this? Kind regards
  10. P

    Table manipulation using VBA

    Hi Group, I've used a import specification to import a Fixed-width file. However because of the layout of the initial file, i.e the fields' header starts BEFORE the fields data, I need to do some manipulation to get rid of the extra space in each row. How can I loop through each record of the...
  11. P

    Processing more than one file

    Off the back of that.. How can I read the names of files in a given directory with a given extension?
  12. P

    Processing more than one file

    Hi Group, Is it possible to process more than one file from within Access. I've seen the Open <FileName> for input as #1 but no examples on how to use this for multiple files. Regards
Back
Top Bottom