Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RETURN Scatter Object
Message
 
À
01/07/2005 11:51:24
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01027284
Message ID:
01028737
Vues:
11
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform