473,529 Members | 2,502 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to host browser control on a .NET control

Dear all,
I would like to host a web browser on a particular user control (or window
form) in my application. Is it technically possible? Any link please? Is it
legal ?
Thanks a lot,
Boni
Nov 23 '05 #1
4 962
"Boni" <oilia@nospam> schrieb:
I would like to host a web browser on a particular user control (or window
form) in my application. Is it technically possible? Any link please? Is
it legal ?


..NET 1.0/1.1:

WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;311303>

..NET 2.0 comes with a built-in webbrowser control.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 23 '05 #2
WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;311303>


Is that compatible to .NET 2.0? Can I be sure that it will work on all
upcomming versions?
Nov 23 '05 #3
"Boni" <oilia@nospam> schrieb:
Is that compatible to .NET 2.0? Can I be sure that it will work on all
upcomming versions?


No, this is not code-compatible to .NET 2.0's webbrowser control. However,
you can continue to use the webbrowser control by p/invoke in .NET 2.0.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 23 '05 #4
"Boni" <oilia@nospam> wrote in
news:uR**************@TK2MSFTNGP15.phx.gbl:
Dear all,
I would like to host a web browser on a particular user control (or
window form) in my application. Is it technically possible? Any link
please? Is it legal ?
Thanks a lot,
Boni


There is a good example from microsoft for doing this in the knowledgebase
article 311284 - "How to handle document events in VB.Net"
I have just managed to get this code working successfully!
Nov 26 '05 #5

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

Similar topics

3
3011
by: ytrewq | last post by:
Should dynamic ("expando") properties be restricted to native and user-defined objects? Or should host objects - such as references to the browser or a plug-in or to the document and its elements - also allow them? Adding (and removing) object properties dynamically is an acceptable and common practice in JavaScript, and greatly adds to the...
2
1566
by: Pengyu Hong | last post by:
How to host Word in my program? I also need to selectively show the toolbars of Word. Thanks a lot, Pengyu
2
2181
by: Jeff | last post by:
I have an ASP.NET web page accessing a SQL database. I've used VS to build the app and stored it in the eNPTest02 directory of my localhost on my development machine. The database is on the web. I've found a way that works on the web, and I'm trying to get it to also work in debug mode in the IDE. The "on the web" page and my SQL database...
4
5634
by: jeffreywgraham | last post by:
A word of warning, I am new to .NET and fairly new to SQL Server. The problem I have must be a common one, but I am uable to make it work. I have a .NET project and have the user management and roles working fine via Visual Studio and the default "ASPNewSQlMembershipProvider." There is database file called "ASPNETDB ..MDF", and users are...
1
981
by: Adam | last post by:
Hello Everyone, I have a control library full of controls that I am attempting to host in IE using: <object ..... classid="#"> ..... </object> This works wonderfully on my local machine (WinXP - IE7), after I set up the
0
1095
by: jrett | last post by:
In .NET 1.1, I have an application which is essentially a web browser, using the AxWebBrowser control. I need to extend the functionality of the control such that a the html/Dhtml which is being rendered in the browser can call a C# method of the host application. I understand that a mechanism for this exists, something described as:...
6
3661
by: test2000 | last post by:
Hello I'm trying to write a javascript that checks if a server/host is available. To be more precice. I would like to check if the browser can read an XML file from a server. If not the script should read the same XML file from a backup server. Does anyone have any idea how to achive that?? Any help is appreciated.
19
2557
by: hansBKK | last post by:
Upfront disclaimer - I am a relative newbie, just starting out learning about PHP, mostly by researching, installing and playing with different scripts. I am looking for a host that will provide the right environment for this - running a wide variety of PHP applications. I realise that security is also important, but for now flexibility is...
2
12714
by: LayneMitch via WebmasterKB.com | last post by:
Hello. I posted this earlier with the full code of the JavaScript file I'm trying to open. I'm posting this again, because the file is not the problem. I seem to be having a 'windows' problem w/ Window Script Host. While this is more of a computer support based problem, I was hoping that someone had any knowledge on how to resolve this...
0
7671
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7258
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5809
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5199
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4835
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3335
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1719
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
567
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.