J
Jay Kim
Hi,
We're implementing a Windows application using Visual
Basic .NET.
One of the key features we need to implement is that we
should be able to get the accurate byte offset of user
selected text in the file.
We've been trying to use the RichTextBox control to load
a file, and get the offset when the user selects some
text in the file. It's been working ok with regular text
files, but we can't use the RichTextBox control to handle
an HTML file.
We're looking for a control that loads a HTML file,
displays it correctly like web-browser, and
1. can get(return) actual position or byte offset
of user selected text
OR
2. has a feature to allow us to modify HTML source,
and put some tags into the specific location, which user
selected
We want to keep the original HTML source as much as
possible if we need to put our own tags into the file to
remember the selected location.
We've tried some third-party controls that can load HTML
file in VB form, but none of them have the features that
we need, and some of them have some issues like modifying
(converting) original HTML source which we don't want.
Please let us know how to implement this.
Thanks.
We're implementing a Windows application using Visual
Basic .NET.
One of the key features we need to implement is that we
should be able to get the accurate byte offset of user
selected text in the file.
We've been trying to use the RichTextBox control to load
a file, and get the offset when the user selects some
text in the file. It's been working ok with regular text
files, but we can't use the RichTextBox control to handle
an HTML file.
We're looking for a control that loads a HTML file,
displays it correctly like web-browser, and
1. can get(return) actual position or byte offset
of user selected text
OR
2. has a feature to allow us to modify HTML source,
and put some tags into the specific location, which user
selected
We want to keep the original HTML source as much as
possible if we need to put our own tags into the file to
remember the selected location.
We've tried some third-party controls that can load HTML
file in VB form, but none of them have the features that
we need, and some of them have some issues like modifying
(converting) original HTML source which we don't want.
Please let us know how to implement this.
Thanks.