Information générale
Catégorie:
Programmation Orientée Object
Titre:
Getting filer app to work on a client pc
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
Thanks in adnvance
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement