Development of Browser ToolBar - c#

I want to make a browser toolbar for Windows that should work for existing browsers like Firefox (2.x, 3.x) and Chrome as well in c#.net. I have read some articles on accomplishing this task and found some good stuff.
Does anyone have any ideas about how to do this?

Did you check besttoolbars.net?

Related

Can we use Windows UI Automation API to automate web page in Internet Explorer?

We have a web application and we want to use Windows Native UI Automation API for .Net to automate that.
I've been looking into this for hours, but couldn't find anything. I can get to the windows parts of the internet explorer, like menu, minimize button, maximize button, close button etc but not able to go inside the page opened. I am wondering if it is possible at all. If it is, then can someone please point me to the right direction?
Thanks!
I ended up using WatiN along with Windows Automation API. Thanks everyone who showed interest in this. Appreciate it.

How to disable silverlight in IE webdriver?

Here is what I got:
an upload button, which works through silverlight if it is installed, or through html5 if there is no silverlight. So, I have 2 browsers to test: Chrome and IE. I did common uploading by sending keys to input element and it works good in chrome, but when it comes to IE - it is trying to use silverlight.
My question is how to disable silverlight or maybe there are some workarounds?
I found out that it is an add-on, so if somebody knows how to disable add-ons or launch iedriver with switches, please, let me know.
I looked through many documents about webdriver and it seem to be no way to disable add-ons or add switches for now. I hope this will save somebody's else time.

WebBrowsing with different browsers in C#

I need to build a small application to compare site rendering in different browsers in different resolutions.
First I need to support IE, FF, Chrome and user will choose to preview her site in different resolutions.
WebBrowser control do not offer me this.
Can you tell me is there any control or library to solve this problem in C#, .Net?
Thanks in advance!
Stack Overflow itself provided some options.
I'd say you can put each one of the following into a TabControl, so the user can easily choose and switch view.
For Internet Explorer, stock WebBrowser control should do.
Firefox Wrapper (GeckoFX)
Chrome wrapper (Webkit.NET)

Programatically interact with the IE browser to fill in forms and navigate etc

I'd like to use C# to interact with the IE browser.
I have a feeling that shdocvw.dll will be involved, but there are so many classes in there that I don't know where to start, and maybe it's not even necessary to use it.
The goal here is to interact with a website, visiting it's pages and "warming it up," not unlike as described here by Kenneth Scott. The thing is, javascript is getting executed as you interact with a website, so it would be nice just to be able to login / submit forms exactly as you would on the website itself.
Plus it would be nice to be able to create a program that records my actions in IE, and then be able to slightly automate and slightly modify them.
Additionally, it would be nice if it could do all this in the background, without having to display the webpage at all.
I'm not looking for third party solutions, I want to do this myself (with your advice of course.)
Thanks.
You said you're not looking for a third party solution, however, we have used WatiN in work with great success for automated UI testing.
It's open source, so if you want to see how they do it, you can.
Things like selenium and watin are very mature frameworks for doing exactly what you ask. Unless the point is to learn for yourself how to do this I would use one of them.
Watin is also a great way to learn how to do this in c# as it is an open source c# project.

How to detect a rightclick in an application

my objective is to attach a context menu (vista and win7) whenever user right clicks a picture/file.
I've got the file portion down (ie, they right click on a file and my menu shows up) but I am having trouble understanding what I would need to do in terms of right clicking in firefox or ie .
I am trying to add a context menu whenever someone right clicks on an image file in IE or firefox. is that possible?
If you want to plug in to what happens inside the user's browser, you should probably write a browser extension to do that, instead of trying to hack up something awful that sort of does what you want maybe.
The best solution would be to develop a plug-in for the browser used by your user, whether it be for Internet Explorer, FireFox or Chrome etc..
Trying to create some sort of hack will only lead to a bad experience for your user so it's better to develop something that would work properly.
Here's a few links to get you going in the right direction:
Google Chrome: http://www.mattcutts.com/blog/write-chrome-extension/
Mozilla FireFox: https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Development_Overview
(I can't seem to find any for Internet Explorer)
I'm sorry i cannot give you a definitive answer but hopefully this should get the ball rolling for you at least.
is that possible?
NO
For Browsers: You need to develop an extension for each browser you want to support
For Desktop: http://www.codeproject.com/KB/cs/dateparser.aspx (ignore all the stupid istruction about how to catch the datetime )

Categories

Resources