Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RETURN Scatter Object
Message
 
To
01/07/2005 11:51:24
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027284
Message ID:
01028737
Views:
10
Thanks for the Link, yes I want to get the System Work over the Internet too, but that will happen in another step.

At this time i'm getting the error : OLE-IDispatch 1426 OLE-Errorcode 0x80070005: Access Denied

I wonder, what exactly is passed to the Server Object. And why the Property Access is denied.

This is the Code running... passing an object as reference
loServer = CREATEOBJECTEX("{...}","192.168...")
loLabel  = CREATEOBJECT("LABEL")
*loServer.addproperty("otest",@loLabel) &&this will produce the Error "Ole-IDispatch 176 from Visual FoxPro for Windows" '1..N' is no Array
loServer.addproperty("otest")
loServer.setval("this.otest",@loLabel) &&this function sets the value to a variable
?loserver.eval("type('this.otest')") &&Returns 'O'
?loserver.eval("type('this.otest.name')") &&Returns 'U'
*?loserver.otest.name &&getting the Name if I use a known Property
?loserver.eval("this.otest.name")
?loserver.eval("this.oTest.name") &&Here the OLE-Error Access Denied Occurs
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform