VB6: Add a button to Webbrowser Intranet webpage

Hi,

My Webbrowser displays an Intranet web page. I need to insert a button into the top of the page so that the User can click it and go to a specific link.

Does anyone have any idea as to how that can happen?

Thanks.
tvtechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Naitik GamitSoftware DeveloperCommented:
look at this link,that is similar with your problem:

https://support.microsoft.com/en-us/kb/811603
0
tvtechAuthor Commented:
Thanks, but I need to insert an HTML button into the Intranet webpage.
0
GauthierCommented:
why is it labeled VB6?
Just edit the generated html to add a button...
We lack proper information on the existing intranet page to be more helpfull
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

tvtechAuthor Commented:
OK, I'll try again ... I am writing an application in VB6.

The app houses a Webbrowser control.

The Webbrowser control displays a page from an Intranet.

I need to insert a HTML button into a specific location on that HTML page, with a link to another page.

Does anyone know how to add a HTML button on the fly?

Thanks.
0
GauthierCommented:
If the button must appear on the HTML page, you need to manipulate the DOM this can only be done trough the Internet Explorer Object trough OLE, the VB6 webbrowser control cannot do this alone.
I guess you could also try to hack it by supplying a javascript url to the navigate method, never tried that...
Also, I'm not sure it is safe to assume those hacks would continue to work with all future versions of IE.
Sorry, but I cannot help much on that subject, VB6 should be put to rest.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tvtechAuthor Commented:
Thanks Gauthier. Hadn't thought of that method.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.