Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting filer app to work on a client pc
Message
From
29/07/1999 09:46:42
 
 
To
29/07/1999 09:26:09
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00247631
Message ID:
00247644
Views:
16
>I am trying to get this code to work using the filer object
>
>oFiler = CREATEOBJECT("filer.fileutil")
>oFiler.SearchPath = "C:\Temp" && path can be separated with commas
>oFiler.FileExpression = "*.*" && wildcards and multiple file
> && expressions, separated with icolons
>oFiler.SubFolder = .T. && search subfolders
>oFiler.SearchText1 = "" && the text to search for
>oFiler.SearchText2 = ""
>oFiler.SearchText3 = ""
>oFiler.IgnoreCase = .T. && ignore the case
>oFiler.WholeWords = .T. && find only whole words
>oFiler.Find(0) && 0: new search, 1: add to results
>oFiler.Files.Count && returns count of files found
>oFiler.Files[2].Name && returns name of file
>oFiler.Editor = "notepad" && specify an external editor
>oFiler.IsHostedByFox = 0 && use the specified editor
>
>The code works fine, but it will not work on a clients PC.
>
>I have tried copying the filer DLL to the client PC still no luck
>has anyone had any sucess doing this
>

You have two problems; the first, and biggest one, is that filer.dll is not redistributable. You are in direct violation of your license agreement by placing on a client system. You'll need to find some other solution to provide the functionality of filer on a client system, or have them purchase a copy of the VFP development environment to make filer legally available on their system.

The second problem involves correct installation of filer.dll; we'll not go there because of the first issue.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform