-
Possible in C#?
I was wondering if it is possible to do a program that would use a user's default internet browser and be implemented within the program. Basically IE being runned in a program. Just think it as the program is the border and IE inside the program, and the person can normally search, download, and ect. Is this possible? If it is, can anyone help me on how to actually to do the code? I hope I worded it right. Thanks in advanced!
-
Re: Possible in C#?
The .NET WebBrowser control uses the IE engine. If you want to use any browser that the user might choose and embed that within your app then it would take all sorts of funky hacking to achieve if the author didn't specifically intend for it to be possible. So much so that it would be as good as impossible for the vast majority of us. Plus it's likely to be illegal. There is the option of creating your own MDI parent form and then using the SetParent API to make it the parent for any other form that may be displayed, including browser windows. It would still be a bit of work to track multiple windows though.
-
Re: Possible in C#?
Well.. having a web browser inside of the form may be tricky if it isn't internet explorer but there is something you can do. When you click a button, link, or whatever in your form it can open their default web browser. As in, when some people click the button, it will be internet explorer if it is their default browser, but for other it may be opera or firefox, depending on their default browser. Sorry if I didn't help =/
-
Re: Possible in C#?
-
Re: Possible in C#?
You gotta admit its possible with using SetParent wossy. For example, using SetWindowLong and changing the window style to DLG_FRAME to remove the title bar, then removing it from the Taskbar, then embedding it into the window...
Would be interesting to see if someone pulled it off :p
chem