473,320 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Text selection in AXWebBrowser

JSM
Hi,

Would there any reason why I can't select text in an axWebBrowser control? I
use the Write method of the IHTMLDocument2 object to populate the control
with built on-the-fly html which looks fine but I can't select any text. I
have "onclick" and "oncontextmenu" event handlers but I have tried disabling
them but it didn't make a difference. The control is enabled and is not
locked so I can't see why it would not allow for text selection.

Any help would be appreciated.

Cheers,

John
Nov 16 '05 #1
1 1769
JSM
I've found that if I disable ALL my event handlers then I can select text
however I really need to capture the onclick event because I need to run
code when the user selects hyperlinks (which are generated based on
information in a database). This is obviously a bug. Does anyone know a
workaround?
"JSM" <js*@sirotilk.com.au> wrote in message
news:#Q**************@TK2MSFTNGP12.phx.gbl...
Hi,

Would there any reason why I can't select text in an axWebBrowser control? I use the Write method of the IHTMLDocument2 object to populate the control
with built on-the-fly html which looks fine but I can't select any text. I
have "onclick" and "oncontextmenu" event handlers but I have tried disabling them but it didn't make a difference. The control is enabled and is not
locked so I can't see why it would not allow for text selection.

Any help would be appreciated.

Cheers,

John

Nov 16 '05 #2

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

Similar topics

4
by: TF | last post by:
hi, i am using AxWebBrowser control in my C# dot.net windows application. i want to display a web page in the browser that needs some data sent to it through HTML Form 'POST' method. I saw a...
4
by: Martin Ho | last post by:
Hey Everyone, I really hope there is someone who can figure out this problem. Honestly, I spent 3 days now trying to find the solution, but nothing works. I'll try to explain the problem...
0
by: Matthias Kwiedor | last post by:
I have a aplication which hosts an axWebbrowser. This activex component needs about 10 to 15 mb of memory. Because i have a option to move the aplication to tray icon and do some timer work i...
1
by: Chris Soulsby | last post by:
I wrote a HTML browser control using AxWebBrowser, it seems to work fine. However, when I added a HTML input text box to the form I was unable to type anything into it. I also added a checkbox...
1
by: JSM | last post by:
Hi, Would there any reason why I can't select text in an axWebBrowser control? I use the Write method of the IHTMLDocument2 object to populate the control with built on-the-fly html which looks...
3
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. I now have found that in Studio 2003, that the...
5
by: Atara | last post by:
I am trying to convert the following code to VB .Net, I still have some gaps (the lines that are marked with (*)) and also I need an ending condition for the while loop. any help would be...
7
by: Doe | last post by:
Okay, I've given up on using the "new" WebBrowser in 2005 to do what I want to do -- tabbed browsing. It seems I really need RegisterAsBrowser and Application to get each instance of a browser...
6
by: Dave Booker | last post by:
It appears that I cannot correctly install the AxWebBrowser in VS2005. I can instantiate an "AxWebBrowser browser" and refer to its members, properties, and methods. I'm having trouble with the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.