Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
scripts
hosting
jscript
remote
scripting.wsh
scriptlets
vbscript
virus.discussion
  
 
date: Thu, 24 Jul 2008 08:20:01 -0700,    group: microsoft.public.scripting.hosting        back       


Exposing DOM objects to script engine from Active Script Host   
I try to expose DOM objects to the VBScript engine from an IActiveScriptSite 
derived class.
I provide the root object through the AddNamedItem method.
This object has a property (propget) of type LPDISPATCH wich return an 
IDispatch interface pointer to a child object.
I can not use this child object in my VBScript, I get an 'Object required' 
error.
Who can help ?
date: Thu, 24 Jul 2008 08:20:01 -0700   author:   Michel Degroux am

RE: Exposing DOM objects to script engine from Active Script Host   
Hi Michel78,

From your description, you're encountering some problem when try making 
some IActiveScriptSite object work with DOM objects, correct?

Are you using the script in some ASP web page enviroment? For the  
IActiveScriptSite derived class and the script code you use to deal with 
the DOM object, would you provide some code snippt so that we can have a 
look for reference?

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
>From: =?Utf-8?B?TWljaGVsIERlZ3JvdXg=?= <Michel78@newsgroups.nospam>
>Subject: Exposing DOM objects to script engine from Active Script Host
>Date: Thu, 24 Jul 2008 08:20:01 -0700
>>
>I try to expose DOM objects to the VBScript engine from an 
IActiveScriptSite 
>derived class.
>I provide the root object through the AddNamedItem method.
>This object has a property (propget) of type LPDISPATCH wich return an 
>IDispatch interface pointer to a child object.
>I can not use this child object in my VBScript, I get an 'Object required' 
>error.
>Who can help ?
>
>
date: Fri, 25 Jul 2008 03:39:33 GMT   author:   (Steven Cheng [MSFT])

RE: Exposing DOM objects to script engine from Active Script Host   
Hi Michel,

How are you doing?
Have you got any progress on this issue?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------
>Content-Transfer-Encoding: 7bit
>From: stcheng@online.microsoft.com (Steven Cheng [MSFT])
>Organization: Microsoft
>Date: Fri, 25 Jul 2008 03:39:33 GMT
>Subject: RE: Exposing DOM objects to script engine from Active Script Host

>
>Hi Michel78,
>
>From your description, you're encountering some problem when try making 
>some IActiveScriptSite object work with DOM objects, correct?
>
>Are you using the script in some ASP web page enviroment? For the  
>IActiveScriptSite derived class and the script code you use to deal with 
>the DOM object, would you provide some code snippt so that we can have a 
>look for reference?
>
>Sincerely,
>
>Steven Cheng
>Microsoft MSDN Online Support Lead
>
>
>Delighting our customers is our #1 priority. We welcome your comments and 
>suggestions about how we can improve the support we provide to you. Please 
>feel free to let my manager know what you think of the level of service 
>provided. You can send feedback directly to my manager at: 
>msdnmg@microsoft.com.
>
>==================================================
>Get notification to my posts through email? Please refer to 
>http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti
f
>ications.
>
>==================================================
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>--------------------
>>From: =?Utf-8?B?TWljaGVsIERlZ3JvdXg=?= <Michel78@newsgroups.nospam>
>>Subject: Exposing DOM objects to script engine from Active Script Host
>>Date: Thu, 24 Jul 2008 08:20:01 -0700
>>>
>>I try to expose DOM objects to the VBScript engine from an 
>IActiveScriptSite 
>>derived class.
>>I provide the root object through the AddNamedItem method.
>>This object has a property (propget) of type LPDISPATCH wich return an 
>>IDispatch interface pointer to a child object.
>>I can not use this child object in my VBScript, I get an 'Object 
required' 
>>error.
>>Who can help ?
>>
>>
>
>
date: Tue, 29 Jul 2008 09:26:27 GMT   author:   (Steven Cheng [MSFT])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us