Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2008
    Posts
    26

    Star File Checker - Help!

    Hello, i need a code to check of a file exist yes or no, like this:

    if C:\Program Files\Test\testfile.dll exist then change text label1 to "ok"

    if not then change test label1 to "error"


    can some1 help me with this

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Code:
    if (File.DoesExist("C:\\Program Files\\Test\\testfile.dll")) then
         Label.SetText("Label1", "OK");
    else
         Label.SetText("Label1", "Error");
    end
    Use the manual..

Similar Threads

  1. Example: Searching file in fixed drives
    By autoplmst6 in forum AutoPlay Media Studio 7.5 Examples
    Replies: 11
    Last Post: 08-01-2009, 04:21 AM
  2. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  3. 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