axWebRowser-like component

  • Thread starter Thread starter Adam Nowotny
  • Start date Start date
A

Adam Nowotny

I'm writing an application that displays some information from database.
So far i'm using the axWebBrowser to render the content - this is quite usefull to show formated text, picture, tables,
links (only within my application, no extenal links), printing.
First i thought about using the RichText component, but it seems to offer much smaller functionality (do i need to write
directly do the "rtf" property to add things like tables, pictures ?)
Using the axWebBrowser has has limitations though - using a COM object steals my dream of running the app on any other
platforms beside Windows :]
I'm also having some problems listening to events generated by it (event handlers don't always run...hmmmm....)

Are there any components i could use for this task ?
Maybe something based on PDF ?
 
Hi Adam,

As far as I understand you, you can for this only use a Net component (I
assume you are thinking about using Mono or something else on Linux and
things like that)

The first component to use for a database is of course the datagrid.

You can have a look at the grid from Jan (a regular in this newsgroup); most
people find it very nice.

<http://dotnet.leadit.be/extendeddatagrid>

I hope this what you did mean?

Cor
 
Cor said:
Hi Adam,

As far as I understand you, you can for this only use a Net component (I
assume you are thinking about using Mono or something else on Linux and
things like that)
The first component to use for a database is of course the datagrid.

You can have a look at the grid from Jan (a regular in this newsgroup); most
people find it very nice.

<http://dotnet.leadit.be/extendeddatagrid>

I hope this what you did mean?

Cor

Unfortunately not, sorry for expressing myself unclear.
The data come from a database, but the content i shall render is NOT of tabular
nature (grid) - it's more like a PDF or Word document...or HTML.
I was hoping to find some .NET component aiding the creation and visualization
of PDF documents or some "word processing"-component (read-only, the user won't
change anything there, just watch, click and eventually print it).

I've prepared a sample of what it should look like:
http://logosoft.pl/~adam/TDI.htm
So it's basicaly a text document with pictures, tables etc.
I just don't like the idea of relying on COM objects in a .NET app
 
Cor said:
Hi Adam,

Ja nie rozumie po niemiecku

:-) (it is not true I do).

LOL
Es heisst "rozumiem" :p
But when I see this I would defeninatly look at the GDI+ classes, there are
fine examples in the resource kit for this.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

If you have problems installing it

http://msdn.microsoft.com/vbasic/vbrkit/faq/#installvdir

I hope this helps a little bit?

Cor

Just installed the resource kit, will see what i can do with it.
Thanks.
 
Hi Adam,

Es heisst "rozumiem" :p

Are you sure, because the letter I did send is not in my message I got back.

e with a little thing beneath?

:-)

Cor
 
Cor said:
Hi Adam,

Es heisst "rozumiem" :p

Are you sure, because the letter I did send is not in my message I got back.

e with a little thing beneath?

:-)

Cor

Well, there is such symbol, but using it in this word (any grammatical form) is
not correct. Sorry, no bonus :]

But back to the subject.
I've played again with RichTextBox and i see i can add components inside it
using the Controls.Add method. That would solve the problem of using COM and
handling "randomly-occuring"-events of such elements.
But when i add the controls they don't "anchor" to the RichTextBox area. I want
them to scroll with the rest of the content ! These little beasts don't want to
listen...
Any ideas ?
 
Hi Adam,

I am sorry, I am not someone who does a lot with the rtf box.
I was hoping I could help you with the GTI+ but for the rtf box I do not
have an answer, mostly questions for a RTF box are hardly answered in this
newsgroup.

There are two more control newsgroups.

microsoft.dotnet.languages.vb.controls

That I call the newsgroup from Herfried and Ken, and because of the fact
that you did not get your answer here from them I expect asking there is
useles, however you can try, Herfried gives sometimes more attention in his
own garten :-). (And it is not impossible that he answers, and he is the
one who knows the much about RTextbox in the newsgroups I thought).

Another newgroup where others are active is
microsoft.dotnet.framework.windowforms.controls.

That is a newsgroup that I hardly visit, maybe you have there succes

For the polish, I have checked this up in the book Slownik poprawnej
polszcyzny
It says nie: rozumie (e,)

You are right,

Cor
 
Back
Top