473,609 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

axWebRowser-like component

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 ?

--
Adam Nowotny
JID: da**@chrome.pl
Now Playing: Howard Shore - [The Lord Of The Rings - The Fellowship Of The Ring #08] Flight To The Ford
Nov 20 '05 #1
7 1188
Cor
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.b e/extendeddatagri d>

I hope this what you did mean?

Cor
Nov 20 '05 #2
Cor wrote:
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.b e/extendeddatagri d>

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

--
Adam Nowotny
JID: da**@chrome.pl
Nov 20 '05 #3
Cor
Hi Adam,

Ja nie rozumie po niemiecku

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

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/vbr...q/#installvdir

I hope this helps a little bit?

Cor



Nov 20 '05 #4
Cor wrote:
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/vbr...q/#installvdir

I hope this helps a little bit?

Cor


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

--
Adam Nowotny
JID: da**@chrome.pl
Now Playing: Apocalyptica - [Inquisition Symphony #09] Domination
Nov 20 '05 #5
Cor
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
Nov 20 '05 #6
Cor wrote:
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 ?

--
Adam Nowotny
JID: da**@chrome.pl
Now Playing: 15. ENYA - Boadicea
Nov 20 '05 #7
Cor
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.dotne t.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.dotne t.framework.win dowforms.contro ls.

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
Nov 20 '05 #8

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

Similar topics

0
1168
by: Janus | last post by:
Hello. I need a little help to get this thing finished. Im trying to catch js errors and the event works as expected. However I have created an event from doc.parentWindow but when it fires im unable to suppress it using a returnValue = true. Im navigating to an URI using axWebBrowser1.Navigate(txtURI.Text, ref nullObject, ref nullObjStr, ref nullObjStr, ref nullObjStr); My code: mshtml.CEventObj CEobj;
0
973
by: Richard Steele (Basemap) | last post by:
I have a win app that uses an embedded AxWebrowser control. At each page load i require a different css file to be loaded and referenced. If I navigate to 1 page then back to the original I get the following exception, can any one help Not enough storage is available to complete this operation. then Type: System.NullReferenceException Message: Object reference not set to an instance of an object.
25
2946
by: MeNotHome | last post by:
I am automating the navigation of a website. When I reach the end, it changes to xml. So my axwebbrowser1 has a bunch of xml data in it. So here is what I am trying to do Dim xmlText As String Dim doc As New XmlDocument() Dim myElem As XmlElement
5
1953
by: Mike Tadd | last post by:
I am developing a Application for a Project at Uni, and I have made a web browser on a form. It works when I have the form as its own window, but when I put it in a MDI it dorsnt work. Does anyone know a way around this?? thanks -- ------------ Mike Tadd
17
2657
by: ljlevend2 | last post by:
I'm implementing the WebBrowser control in my app and I would like to be able to show the Add to Favorites and Organize Favorites dialogs that are used in Internet Explorer. Is this possible? Thanks, Lance
2
1073
by: Supra | last post by:
when using axwebrowser, then type www.penthouse.com and i got error when url came on. the error is: Your current security setting probhit running ActiveX controls on this page. As a result, the page may not display correctly. do u know how to prevent error problem? netscape and firefox are working well. regards, supra
4
3404
by: Dick Sutton | last post by:
I am so close, yet oh so far! Here's the problem: I want to load a string variable that contains HTML into an instance of SHDocVw.InternetExplorer. Here's what I have so far: Function ShowMonTaxes(ByVal bTax As Boolean) As Integer Dim oIE As New SHDocVw.InternetExplorer ' set Internet Explorer properties... oIE.Left = 225 oIE.Top = 75
0
1147
by: thirunavukarasukm | last post by:
Hai. I created one windows application.I am add reference control to add Microsoft WebBrowser Control..In my application I am using HTTPWebRequest and HttpWebResponse class .To request some post message to corresponding URL.Then I will get response string. In response string i am go to create one .HTML extension file.Then I am using AxWebBrowser Class Create Object .Then I am using this object ...
0
8145
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8095
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8588
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8556
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8410
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6068
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2541
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
1407
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.