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