I was finally able to resolve this issue, though I do not fully understand
why. When I originally coded as you suggested:
AmiClmSvc_Proxy.Timeout = 60 * 60 * 1000 '60 minutes
I got the errors that I described where I was not getting intellisense and
syntax error: "Declaration expected". I was coding this statement at the
Module level directly under the dim statement where I defined the
AmiClmSvc_Proxy in the first place. I was finally able to resolve the issue
when I coded the above statement within a SUB within the module. Suddenly the
intellisense started working and the timeout was changed. I don't understand
why the statement would work in one place and not the other, but it does.
Perhaps you can explain why? In any event, it is working and I thank you for
your help.
--
Bob Connolly
"Steve Gerrard" wrote:
Bob Connolly wrote:
In the previous post you say:
Maybe that should be
Dim AmiClmSvc_Proxy As New AmiClmSvc_WebService
When I try this I get a syntax error on AmiClmSvc_WebService that
tells me "Type Expected"
What else do you suggest?
I don't really know. If you aren't getting intellisense on your proxy object, I
don't see how you can do anything with it. Does it have any properties or
methods, when you dim it the original way, As New AmiClmSvc_WebService.AmiClmSvc
?