Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Display Jpeg and othe rtext on a windows forms app

Display Jpeg and othe rtext on a windows forms app

Scheduled Pinned Locked Moved C#
winformstutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LCI
    wrote on last edited by
    #1

    I have an app that uses filewatcher to monitor a directory. When a file gets in the directory it reads it, pulss out the jpeg and other data perfectly. Now i would like to display this data on the screen. I have created a picture control and some text controls to dsiplay this data. Anyone have some guidance or good source examples on how to do this?

    J C 2 Replies Last reply
    0
    • L LCI

      I have an app that uses filewatcher to monitor a directory. When a file gets in the directory it reads it, pulss out the jpeg and other data perfectly. Now i would like to display this data on the screen. I have created a picture control and some text controls to dsiplay this data. Anyone have some guidance or good source examples on how to do this?

      J Offline
      J Offline
      Jaime Olivares
      wrote on last edited by
      #2

      You can use a WebBrowser control to show both images and text.

      Best regards, Jaime.

      L 1 Reply Last reply
      0
      • J Jaime Olivares

        You can use a WebBrowser control to show both images and text.

        Best regards, Jaime.

        L Offline
        L Offline
        LCI
        wrote on last edited by
        #3

        Any documentation or quick examples on how i would use this control? I am sort of new to this. Thanks, cw

        J 1 Reply Last reply
        0
        • L LCI

          Any documentation or quick examples on how i would use this control? I am sort of new to this. Thanks, cw

          J Offline
          J Offline
          Jaime Olivares
          wrote on last edited by
          #4

          Have a look to these: http://www.codeproject.com/KB/edit/editor_in_windows_forms.aspx[^] http://www.codeproject.com/KB/cs/BrowserBasedUI.aspx[^]

          Best regards, Jaime.

          1 Reply Last reply
          0
          • L LCI

            I have an app that uses filewatcher to monitor a directory. When a file gets in the directory it reads it, pulss out the jpeg and other data perfectly. Now i would like to display this data on the screen. I have created a picture control and some text controls to dsiplay this data. Anyone have some guidance or good source examples on how to do this?

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            a web browser is not a good fit b/c it shows stuff in a pretty defined way. Just use labels to show text, and pictureboxes to show a picture. Bitmap.FromFile will load the image from that file for you

            Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups