Results 1 to 5 of 5

Thread: Help with PictureBox in VB.NET 2005

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    369

    Help with PictureBox in VB.NET 2005

    I USE VB.NET 2005


    If anyone successfully display that image in a PictureBox control in VB.NET, I would be more than grateful.
    http://www3.sympatico.ca/d_belley/000271R.tif

    If you open that TIF file using an image software it works (Office Imaging Document) for example.

    The file is not corrupted. It is perfectly good but I just can't display it on my form.

    Thanks for helping.

  2. #2
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: Help with PictureBox in VB.NET 2005

    I don't think the picturebox control supports tif files.
    The Windows Forms PictureBox control is used to display graphics in bitmap, GIF, JPEG, metafile, or icon format.
    http://msdn2.microsoft.com/en-us/library/37xzwa15.aspx
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    369

    Re: Help with PictureBox in VB.NET 2005

    That is weird because I have black&White TIF files that I can display with no problem. It just can't display the colored TIFs.

    What are people doing when they want to display a TIF file?

    Is it possible to insert a "Office document imaging" control in a WebForm to display the image?

  4. #4
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: Help with PictureBox in VB.NET 2005

    I think there might be something different about that image. Here's an example of another tif image I found on the web (and is in colour).

    http://www.corda.com/devzone/image_t...f/features.tif

    It displays in the Picbox without any problem at all. I can't event get my browser to display the image in the link you posted.
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

  5. #5
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Help with PictureBox in VB.NET 2005

    Hi,

    I found in MSDN that they're two different Tif Files.
    Written like this .tif and like this, .tiff

    Could that have any difference when showing an image into a picturebox.

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width