Wrox Programmer Forums
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2007, 07:16 AM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Picture display

Hi
I place one picturebox
I am using commondialog control in vb.net.
That control show open dialog, i select the image file. but how to display the selected imagefile in picturebox?

Thanks in advance
Venkatesan

 
Old January 31st, 2007, 07:44 AM
Authorized User
 
Join Date: Feb 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to karthiklsimha
Default

Hi,

Try this
pctBox.Image = image.FromFile("Image1.jpg")


Regards,
Karthik Simha
 
Old January 31st, 2007, 08:27 AM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi Karthik

Thanks for ur help

Venkatesan






Similar Threads
Thread Thread Starter Forum Replies Last Post
Display picture from database using JSP codes ban_gal Java Databases 6 May 30th, 2008 08:21 PM
How to display a picture stored in SqlServer yiyufeiyang BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 March 27th, 2006 10:14 PM
Picture upload and display code alitoday Classic ASP Basics 9 May 20th, 2005 03:36 AM
picture rajuru PHP Databases 1 October 18th, 2004 08:56 PM
OLE picture - accessing the picture property bdcrisp Excel VBA 0 December 7th, 2003 09:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.