473,473 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

'disable' for the webbrowser control

Hi there,

I'm hosting a webbrowser control on a windows app- basically I'm using it in
the middle of larger application to display some html-based content. HOWEVER,
I'd like to be able to prohibit the control from receiving user input- i.e. I
don't want the user to actually be able to click any of the buttons on the
displayed page. I figured there would be some simple property, like enabled,
that I could set but I have not been able to find anything. Any suggestions?

Thanks!
Mike
Nov 21 '05 #1
1 3091

Hello Mike ,

I have once implemented a technique in a project to dissable accelerator
keys in a webbrowser control , the method that i used can easily be modified
to anny action on the webbrowser control

i have published this code on freevbcode.com ,,,,,, here is a direct link
http://www.freevbcode.com/ShowCode.Asp?ID=5635

happy coding :-)

Michel Posseth [MCP]
"Mike Eaton" <Mi*******@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
Hi there,

I'm hosting a webbrowser control on a windows app- basically I'm using it
in
the middle of larger application to display some html-based content.
HOWEVER,
I'd like to be able to prohibit the control from receiving user input-
i.e. I
don't want the user to actually be able to click any of the buttons on the
displayed page. I figured there would be some simple property, like
enabled,
that I could set but I have not been able to find anything. Any
suggestions?

Thanks!
Mike

Nov 21 '05 #2

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

Similar topics

0
by: Jim Hubbard | last post by:
How would I implement the IDispatch interface to handle the following in VB.Net <BEGIN> Controlling Download and Execution The WebBrowser Control gives you control over what it downloads,...
2
by: | last post by:
Hi all, I would like to know if there are anyways to disable javascript, activeX and all scripting on AxWebBrowser. I have a program that include the AxWebBrowser and load internet pages, but...
2
by: standish22 | last post by:
want to open a word document stored in my database. What I do is save the document locally, and then open a new winform that has the WebBrowser Control on it and navigate to that new file. ...
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
8
by: Prosperz | last post by:
Hi, I would like to make thumbnails of web page by capture content of a WebBrowser. By example, capture http://www.google.com. I used WebBrowser control with Framework 2.0. I try this : ...
1
by: cweeks | last post by:
Prior to .NET 2.0 the WebBrowser control had a method Navigate2 that took in its second parameter a switch to disable reading the page from the local IE cache. I want to be able to do this in a VS...
11
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
0
by: kal | last post by:
Hi there I am hunting for way to turn off/disable active scripting especially javascript in my webbrowser control. I don't see any property to turn off script. I found entry in registry...
0
by: cheenusri | last post by:
Hello friends, i am running slide show(pps file) in vb.net form using webbrowser control in it.while running the form, if right click on the slide, it show some popup menu, here i wan to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
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,...
0
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...
0
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...
0
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 ...
0
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...

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.