开发者

Get current request path from ActiveX control in VB6

is there a way to get the current request path from an ActiveX control in VB6? I am wondering if VB6 has something similar to Request.Path in VB.NET.

The control is e开发者_高级运维mbeded in an HTML page using the OBJECT tag. I guess I could pass the current request path through PARAMs, but I just wanted to hear other options. Many thanks.


Sounds pretty simple if what you are after is the URL of the control's hosting page.

Have you tried Parent.URL or Parent.URLUnencoded yet?


The ActiveX component can call across IOleClientSite::GetMoniker to do this, however this is difficult with VB6, you would need a custom type library implementing the interface at the very least.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜