Solved

Navigating to a specific URL form an active X control.

Posted on 1998-07-23
5
170 Views
Last Modified: 2013-11-25
Before I lose my job could some one help
me with this porblem.

I am trying to navigate to a web page
form a Acive X control.
I think that I am esposed to use the
following function =


IWebBrowser::Navigate


HRESULT IWebBrowser::Navigate(
    BSTR URL,                     // URL to navigate to
    VARIANT FAR* Flags,           // address of option flags
    VARIANT FAR* TargetFrameName, // address of frame name for resource
    VARIANT FAR* PostData,        // address of HTTP POST data
    VARIANT FAR* Headers,         // address of HTTP headers
);

do you know how to set up the intreface to
the explorer object
I have a hazy idea!
Thanks in advance


0
Comment
Question by:martythegreat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 23

Expert Comment

by:chensu
ID: 1319683
ActiveX SDK Frequently Asked Questions
http://support.microsoft.com/support/activexsdk/faq/ieobjmodel.asp

INFO: Accessing the Object Model from Within an ActiveX Control
http://support.microsoft.com/support/kb/articles/q172/7/63.asp
0
 

Author Comment

by:martythegreat
ID: 1319684
As the URLs that were listed were not accessable,
i.e. server fault!
Sorry, thanks chensu
0
 
LVL 1

Expert Comment

by:Murali Devarakonda
ID: 1319685
martythegreat,
                   I had no problem at all accessing the URLs.
Don't behave like a jerk! I don't see why you had to REJECT chensu's answer, without even seeing it! I think it's pretty helpful, and if you needed more info, you could always have added a comment, and if it didn't satisfy YOUR ORIGINAL question, THEN it would be acceptable to reject an answer.
    BTW, you don't have to REJECT an answer to keep it open for others to answer the same question (even though it says it's 'LOCKED'). As long as you don't 'ACCEPT' the answer.
    Please understand the acceptable protocols of this group (which is a unique concept, and a very useful one) and if you are still not satisfied with Chensu's answer (AFTER seeing it!)
post a comment here.
    I'll be happy to help you (if chensu or someone else hasn't already!).

Regards,

Murali Krishna Devarakonda
0
 
LVL 8

Accepted Solution

by:
trestan earned 200 total points
ID: 1319686
It's a pity not being able to access MS.
However, there are examples with VC5. Hope you can get help from them:
Visual C++ -> Visual C++ Samples -> SDK Samples -> ActiveX Smaples -> BaseCtl Sample -> IELnk: Creating a URL Moniker.

Visual C++ -> Visual C++ Samples -> SDK Samples -> ActiveX Smaples -> ActiveX.

Also take a look about HlinkNavigate.
Good luck.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1319687
martythegreat,

Try it again.

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
twoTwo  challenge 35 118
changeXy challenge 13 96
What .NET URL re-routing tool did I use? 2 91
Problem to App source 6 119
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question