Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

application.filesearch generates run-time error '430'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Microsoft - 31 Dec 2004 00:54 GMT
Word 2003
Windows 2003 Server via Citrix

When I perform the following code on my home Windows 2003 machine all is
well. When I run it via Citrix (running on a Windows 2003 Server machine),
it stops on the very first line with a Run-time error '430'

With Application.FileSearch 'this is the line causing the error
   .FileName = "foobar.txt"
   .LookIn = "c:\temp"
   .Execute
   For I = 1 To .FoundFiles.Count
       MsgBox .FoundFiles(I)
   Next I
End With

Full text of error:
Microsoft Visual Basic
Run-time error '430':
Class does not support Automation or does not support expected interface
B Havens - 31 Dec 2004 01:00 GMT
ok, for the record, ignore where my message says From 'Microsoft' - I don't
know how my account name defaulted to that. I am not associated with
Microsoft.

> Word 2003
> Windows 2003 Server via Citrix
[quoted text clipped - 16 lines]
> Run-time error '430':
> Class does not support Automation or does not support expected interface
Andi Mayer - 01 Jan 2005 12:49 GMT
>Word 2003
>Windows 2003 Server via Citrix
[quoted text clipped - 16 lines]
>Run-time error '430':
>Class does not support Automation or does not support expected interface

I would think of a reference problem or a permision problem.

Try: (aircode!!!)

if Dir("C:\Temp\foobar.txt") <> "" then  MsgBox "found the file"

---
If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
Wim van Laarhoven - 18 Jan 2005 08:22 GMT
Is this problem fixed in any way?
I seem to have the same problem under Citrix, but then with Office XP on a Windows 2000 server.
Any help welcome.

Thanks,

Wim[at]van-laarhoven.com

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.