WinAPI::FileExists()
I thought I would start doing some mini posts on the WinAPI class in AX. This is a great class, because it has a lot of Static methods that access, like the name suggestions the Windows API.
One of the methods I have used a lot is the WinAPI::FileExists(). This method is returns a boolean value stating if the past in file name and path exists. Some sample code would look like:
if(WinAPI::fileExists("c:\\temp\\test.txt"))
{
// preform some code
}
Find a job at: www.DynamicsAXJobs.com
One of the methods I have used a lot is the WinAPI::FileExists(). This method is returns a boolean value stating if the past in file name and path exists. Some sample code would look like:
if(WinAPI::fileExists("c:\\temp\\test.txt"))
{
// preform some code
}
Find a job at: www.DynamicsAXJobs.com
1 Comments:
Thanks for the tips !
Post a Comment
<< Home