473,396 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

OT - IE Plug-In ?

*** OFF TOPIC ***

Folks,

Where do I go to find out (:where to start:) finding out information on how
to write a plug-in for Internet Explorer.

I need to place a button on IE's toolbar and when it's pressed the URL and a
couple of filled in fields are to be sent to a web[service] site.

Thanks.

Regards,
Joe
Nov 15 '05 #1
4 6088
Joe,

You will have to create a Browser Helper Object for this. Check the
article on MSDN titled "Browser Helper Objects: The Browser the Way You Want
It", located at (watch for line wrap):

http://msdn.microsoft.com/library/de...us/dnwebgen/ht
ml/bho.asp

The code is in C++, but the framework for BHOs is through COM, which you
can use C#/.NET to develop for.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Joe Camel" <Jo******@cogeco.caNOSPAM> wrote in message
news:Ya*****************@read2.cgocable.net...
*** OFF TOPIC ***

Folks,

Where do I go to find out (:where to start:) finding out information on how to write a plug-in for Internet Explorer.

I need to place a button on IE's toolbar and when it's pressed the URL and a couple of filled in fields are to be sent to a web[service] site.

Thanks.

Regards,
Joe

Nov 15 '05 #2
take a look at this

http://www.codeproject.com/csharp/dotnetbandobjects.asp

regards Morten
"Joe Camel" <Jo******@cogeco.caNOSPAM> wrote in message
news:Ya*****************@read2.cgocable.net...
*** OFF TOPIC ***

Folks,

Where do I go to find out (:where to start:) finding out information on how to write a plug-in for Internet Explorer.

I need to place a button on IE's toolbar and when it's pressed the URL and a couple of filled in fields are to be sent to a web[service] site.

Thanks.

Regards,
Joe

Nov 15 '05 #3
Morten,

I've followed the tutorial and have managed to get most of it to work.

However, I need to get the value of the URL in the Address field, within the
"button1_Click" method.

"this.Explorer.LocationURL" produces the following error:
'SHDocVw.WebBrowserClass' does not contain a definition for 'LocationURL'

Thank you for your help.

Regards,
Joe

"Morten Overgaard" <mo*@oticon.dk> wrote in message
news:e1**************@TK2MSFTNGP11.phx.gbl...
take a look at this

http://www.codeproject.com/csharp/dotnetbandobjects.asp

regards Morten
"Joe Camel" <Jo******@cogeco.caNOSPAM> wrote in message
news:Ya*****************@read2.cgocable.net...
*** OFF TOPIC ***

Folks,

Where do I go to find out (:where to start:) finding out information on how
to write a plug-in for Internet Explorer.

I need to place a button on IE's toolbar and when it's pressed the URL

and a
couple of filled in fields are to be sent to a web[service] site.

Thanks.

Regards,
Joe


Nov 15 '05 #4
You can use the IHTMLDocument2 interface to get the current location.
Code would look like this:
IHTMLDocument2 doc2 = this.Explorer.Document as IHTMLDocument2;
IHTMLLocation location = doc2.location as IHTMLLocation;
string url = location.href;
"Joe Camel" <Jo******@cogeco.caNOSPAM> wrote in message news:<JC***************@read1.cgocable.net>...
Morten,

I've followed the tutorial and have managed to get most of it to work.

However, I need to get the value of the URL in the Address field, within the
"button1_Click" method.

"this.Explorer.LocationURL" produces the following error:
'SHDocVw.WebBrowserClass' does not contain a definition for 'LocationURL'

Thank you for your help.

Regards,
Joe

"Morten Overgaard" <mo*@oticon.dk> wrote in message
news:e1**************@TK2MSFTNGP11.phx.gbl...
take a look at this

http://www.codeproject.com/csharp/dotnetbandobjects.asp

regards Morten
"Joe Camel" <Jo******@cogeco.caNOSPAM> wrote in message
news:Ya*****************@read2.cgocable.net...
*** OFF TOPIC ***

Folks,

Where do I go to find out (:where to start:) finding out information on how to write a plug-in for Internet Explorer.

I need to place a button on IE's toolbar and when it's pressed the URL and
a couple of filled in fields are to be sent to a web[service] site.

Thanks.

Regards,
Joe


Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Tian | last post by:
I am writing an audio game using Python. in this game you can apply some sound effects for the clips you have recorded. I want to make this function extensible. I want user to be able to add new...
2
by: Jesper | last post by:
Im creating a host application (a game) which allows for users to supply a custom computer AI. This will be in the form of a plugin assembly which supports a specified interface. So the host will...
1
by: gnuoytr | last post by:
being a retrograde vi kind of guy, i can run a vi-able editor when i use WSAD or Eclipse (both java programs), but i don't see any plug-in menu items here. any chance of getting plug-in support...
2
by: Kelvin | last post by:
To all, I've got another question. Does anybody know how to write plug-ins using VC++?? Actually, my friends and I will develop a Photo enhancing system, and so we'll need some technique to...
4
by: Brad Markisohn | last post by:
Is there a way to determine, programmatically, when Plug-and-Play devices are connected or removed from the PC? In VB 6 I caught events from the SysInfo control, but I don't believe that this...
2
by: Mel | last post by:
Has anyone got any leads on doing this?
0
by: Ant | last post by:
Sourceforge's Project of the Month (an IT monitoring system written using Zope and Twisted) is a good advert for Python: http://sourceforge.net/potm/potm-2007-03.php
1
by: =?Utf-8?B?YWxlb24=?= | last post by:
Plugin.ocx file continues to be removed when we run MS Updates. The databases are 2003 and forms don't work without the plugin.ocx. Tried making the .ocx file read only, but that didn't work. We...
8
by: Joe Kovac | last post by:
Hi! Is there any recommendation how to develop plugin-like Asp.Net pages? The use case: We have a framework, where you can administrate employees, customers, etc. Now, customers always want some...
19
by: jim | last post by:
(from http://www.news.com/8301-13578_3-9798715-38.html ) October 16, 2007 5:56 PM PDT RIAA tries to pull plug on Usenet. Seriously. Posted by Declan McCullagh The Recording Industry Association...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.