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![]()
Professional Software Development Tools
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![]()
Use the manual..Code:if (File.DoesExist("C:\\Program Files\\Test\\testfile.dll")) then Label.SetText("Label1", "OK"); else Label.SetText("Label1", "Error"); end