Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX Document - need to know URL of the document. 1

Status
Not open for further replies.

jolanda

IS-IT--Management
Feb 15, 2001
1
NZ
I have made an ActiveX Document so I can display my program in Internet Explorer.

I need to know the full URL of the currently open document file.

I found an article in the MSDN knowledge base describing how to do this in C++:
"In most cases, an ActiveX document server needs the moniker that represents the current document source. You can use the IMoniker::GetDisplayName() method to determine the correct URL or file path of the document. "

Has anyone got an idea how to achive the same in VB?
If example code can be included that would be helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top