Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Files included with executables...
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00654752
Message ID:
00654850
Views:
25
Neat trick, however this code dosent work? The file() function is always returning .t. because it thinks the file is there because its in the executable, even with I use home() it returns true.
lcWaitFile = "wait1.avi"

if !file(home() + lcWaitFile))
	strtofile(filetostr(lcWaitFile), lcWaitFile)
endif
>
>The activex you're using requires file on disk because it cannot see files included in exe. You've to either distribute AVI as a separate file or copy it out at your app start.
Strtofile(Filetostr("wait.avi"), "wait.avi"))
You can check if file already exists and skip copying in this case.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform