开发者

VB script and COM

开发者 https://www.devze.com 2023-03-08 05:29 出处:网络
I want to call certain functions of a COM component from ASP. I would like to know How can I create a COM obj开发者_开发问答ect?.

I want to call certain functions of a COM component from ASP. I would like to know

How can I create a COM obj开发者_开发问答ect?. 
How can I use VARIANTS to pass to the COM object? 
Can I pass reference parameters from ASP to COM object? 
What are the limitations of passing reference objects to COM?

Where would I get more information about this?


How can I create a COM object?.

Use the CreateObject function

Set Obj = CreateObject("COMProgID")

How can I use VARIANTS to pass to the COM object?

VBScript has only one data type called a Variant.

Can I pass reference parameters from ASP to COM object?

Yes.

What are the limitations of passing reference objects to COM?

I got lost with this one...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号