|
-
May 10th, 2007, 08:40 AM
#1
Thread Starter
Hyperactive Member
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.
-
May 10th, 2007, 08:46 AM
#2
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
-
May 10th, 2007, 08:49 AM
#3
Thread Starter
Hyperactive Member
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?
-
May 10th, 2007, 09:32 AM
#4
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.
-
May 10th, 2007, 09:57 AM
#5
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|