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

  1. Derkus

    Reading Multiple Text Files

    Sweet! I have it working perfectly. I used strongm's solution with the help of MakeItSo's posts. I still had an issue with the linebreaks like with the DOS command but I simply added this line to the function: .OpenTextFile(strTargetFile, ForAppending, True).WriteLine ("") This method works...
  2. Derkus

    Reading Multiple Text Files

    Okay, I see that this solution creates a custom function but beyond that it is way over my head. Are the comments at the top comments on what the script is doing, or noting what else needs to be done? Sorry I am a bit slow with scripting methods.
  3. Derkus

    Reading Multiple Text Files

    Andy, I have this working now though I have run into a problem in that the copy comand does not insert a line break between the files so I end up with lines running together. This is obviously a DOS issue and not a VB one. I can't think of a way for DOS to break these appart without doing each...
  4. Derkus

    Reading Multiple Text Files

    Haha! I like the way you think Andy. I think I'll do that. I have a pile of code checking that the paths are all correct, then do a DOS command as a finally. Brilliant! The only peice I am missing to make it work is that I currently have the path to the files entered in a textbox. What sort of...
  5. Derkus

    Reading Multiple Text Files

    Yes Andy that would do the job exactly... except it wouldnt have a windows interface. DOS was my first plan when I heard what was needed... then someone came up with the bright idea to make a VB app. That's when all the trouble started. I am still struggling to get these methods to work for me...
  6. Derkus

    Reading Multiple Text Files

    Oops, ment to say that it throws that error at this line: Dim oFolder As Scripting.Folder
  7. Derkus

    XP Hibernation while using VB6

    If this is happening while running other programs I doubt the problem is VB related. As Bob suggested turn off hybernation entirely and see if the problem persists. If so I would say you should contact your dealer for support. I have been supporting computers a good long while and have never...
  8. Derkus

    Reading Multiple Text Files

    Thanks again guys. George, this method you posted is something I tried before posting for some help. The problem I am running into is that I get an error when running it: "Compile Error: User defined Type not Defined" It seems to me that this is the way to go but I haven't figured out how to...
  9. Derkus

    Reading Multiple Text Files

    Thank you for the response Andy. This looks very much like what I need. Your solution uses a listbox to create the file list. In my instance I would prefer not to have a listbox in the user interface. Is there a way I can use a variable or some such to serve the same function?
  10. Derkus

    Reading Multiple Text Files

    Thanks for the tips John. I think perhaps I should be a bit more clear on the issue. Here is the relevant code I currently have. It won't hurt my feelings if someone has a better way to go about this. For Each Not sure what goes here 'Get Data From File Const ForReading = 1...
  11. Derkus

    Reading Multiple Text Files

    Hello Everyone, I am new around here and have run into a slight scripting problem. I am writing a small app that will look in a folder, read all the text files in the folder, and write their contents into a new file. I have most of the code worked out but am having trouble getting it to read...

Part and Inventory Search

Back
Top