开发者

VB script and COM

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜