Link to home
Start Free TrialLog in
Avatar of spraylabs
spraylabs

asked on

IE Plugin writing tutorial needed

Hi, I need a tutorial on how to write a plugin for IE that has access to both the content of a html page and to resources on the local machine. The information on the msdn site is too framgmented to be of any use. So if you have read a good online tutorial on this subject, let me know.
Avatar of rdivilbiss
rdivilbiss
Flag of United States of America image

You only need and ActiveX component. Can you be more specific as to what you wish to accomplish.
Avatar of spraylabs
spraylabs

ASKER

Well, I am a Java developer and I haven't got a clue on how to write an ActiveX component that can both get access to the content of a webpage in IE and get access to the local filesystem. I do not know if IE puts restrictions on ActiveX components so that they cannot get access to the filesystem and I do not know how to get access to the content of a webpage displayed in IE. That is why I'd like to read a tutorial that goes through the steps required to write such ActiveX components.
Ahh, I see.  That is useful information (first ActiveX and fluent in Java).

Accessing the client filesystem is the very thing that has caused so many security problems with ActiveX and which has (properly so) cause MS to tighten controls on that.

Even with the knowledge of "how to" you are seeking, you are going to be at the client's mercy as to wether or not they will allow the control to run.  That is why I was asking for more specifics, so I could point you in the right direction or tell you to abandon all hope.

For the tutorial on how to write the controls, you'll get a very nice into here: http://www.developer.com/net/vb/article.php/1539541

In part 5 they discuss making API call, which will be necessary and you will have to learn about the Windows file system API.

Best I can do without more specifics.
Rod



Ok, thanks.
The thing I have most trouble finding information about is how you create something that can be installed as a plugin in IE, like the Google Toolbar etc. The plugin also needs to be able to get access to the content of any webpage that is displayed in IE. I found some information on the msdn site and it seems that there are som interfaces that needs to be implemented by the plugin and those interfaces are located in some of the dll's that ship with IE. But I do not know how to acess these interfaces. That problem is ofcourse not specific to IE plugin writing, but I hoped that someone had found a tutorial that show you how to do this.
ASKER CERTIFIED SOLUTION
Avatar of rdivilbiss
rdivilbiss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial