axWebRowser-like component

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adam Nowotny

    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: daft@chrome.pl
    Now Playing: Howard Shore - [The Lord Of The Rings - The Fellowship Of The Ring #08] Flight To The Ford
  • Cor

    #2
    Re: axWebRowser-like component

    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


    Comment

    • Adam Nowotny

      #3
      Re: axWebRowser-like component

      Cor wrote:
      [color=blue]
      > 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[/color]

      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:
      Domena logosoft.pl jest wystawiona na sprzedaż w serwisie premium.pl. Domena oczekuje na oferty zainteresowanych, zachęcamy do zakupów.

      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: daft@chrome.pl

      Comment

      • Cor

        #4
        Re: axWebRowser-like component

        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.



        If you have problems installing it



        I hope this helps a little bit?

        Cor







        Comment

        • Adam Nowotny

          #5
          Re: axWebRowser-like component

          Cor wrote:
          [color=blue]
          > Hi Adam,
          >
          > Ja nie rozumie po niemiecku
          >
          > :-) (it is not true I do).[/color]

          LOL
          Es heisst "rozumiem" :p
          [color=blue]
          > 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[/color]

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

          --
          Adam Nowotny
          JID: daft@chrome.pl
          Now Playing: Apocalyptica - [Inquisition Symphony #09] Domination

          Comment

          • Cor

            #6
            Re: axWebRowser-like component

            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


            Comment

            • Adam Nowotny

              #7
              Re: axWebRowser-like component

              Cor wrote:[color=blue]
              > 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[/color]

              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: daft@chrome.pl
              Now Playing: 15. ENYA - Boadicea

              Comment

              • Cor

                #8
                Re: axWebRowser-like component

                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


                Comment

                Working...