Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    37

    Another Text File question

    In reference to creating a text file. If you create a new folder and duplicate that code on another page will the program recognize that the folder has already beeen created and ignore the command. If so does it work that way with registry keys too? And is it universal on 98/200/XP?

  2. #2
    Join Date
    Jun 2006
    Posts
    37
    I've apparently stumped some folks with this one but I would appreciate any stab in the dark that someone might have.

  3. #3
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Try rewording your need, explaining it in more detail. You may get a better response.

    Intrigued

  4. #4
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    Quote Originally Posted by stevequest View Post
    In reference to creating a text file. If you create a new folder and duplicate that code on another page will the program recognize that the folder has already beeen created and ignore the command. If so does it work that way with registry keys too? And is it universal on 98/200/XP?
    The second page should over write what the first page created unless you tell it not to. As to the registry… the same should apply.
    I will be corrected Steve if I’m wrong so keep an eyeball on your thread

  5. #5
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    A better approach might be to check for its existence and if it doesn't exist, create it... and if it does exist, continue. Same goes for creating files, folders or registry entries. You want to limit the number of errors you might get by predicting what will happen and acting on it appropriately.

Similar Threads

  1. Example: Loading Paragraph Text Using a Timer
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 7
    Last Post: 11-25-2004, 05:10 PM
  2. Writing Text to a File
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-22-2003, 02:02 PM
  3. Text File Actions
    By csd214 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 12-06-2001, 12:50 AM
  4. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts