Permission Denied error
- From: "Ronald" <w@xxxxx>
- Date: Mon, 14 Aug 2006 16:20:22 +0200
Hi there!
My story is a little complicated. I'll be as clear as I can.
I have two apps: App 1: VB Exe on the CLient, App 2: ActiveX dll on a remote
server.
This VB Exe-application connects to the ActiveX DLL though DCOM. This all
works very well. No problems at all. One method of the ActiveX-DLL returns a
string containing the contents of a file on the server. So the client-exe
can read the content of a file on the server.
Here starts the problem: in my client-app I have a user control added. (not
by clicking components!, just adding a default user control).
When I call the remote method 'GetBinaryDate(sFilename)' from a button on a
form of my VB Exe, everything works fine. But, when calling the same method
with the same sFilename from within the embeded user control, I get an error
'70 Permission Denied'.
As I've been finding out the problem I can only think of that Windows is
handeling the request from the user control different then directly from a
form. (different user).
I tried filemon.exe (from sysinternals) to determine which user is causing
the error, but I can't figure it out.
Can anyone please point me in the right direction?
Regards,
Ronalds
.
- Follow-Ups:
- Re: Permission Denied error
- From: Steve Gerrard
- Re: Permission Denied error
- Prev by Date: Re: Saving a a table to pdf format
- Next by Date: Re: Permission Denied error
- Previous by thread: How can Capture From Window With VB 6.0 ?
- Next by thread: Re: Permission Denied error
- Index(es):
Loading