Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 March 28th, 2008, 08:49 AM
Registered User
 
Join Date: Feb 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error while loading image to picturebox

hi
i'm trying to load an image from a file to a picture but keep getting the error
Illegal characters in path.
the lines of code is

pbFront.Image = Image.FromFile(pathF)
pbRear.Image = Image.FromFile(pathR)

when the program runs the
pathF is C:\ArchiveF\Images\20080028\B0031F.bmp
and pathR is C:\ArchiveF\Images\20080028\B0031R.bmp
can somebody tell me what goin on here and the files do exists

Owen, Programmer





Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Image to Image Control using JavaScript ctranjith General .NET 1 May 28th, 2013 05:43 AM
Name of image in PictureBox purefan Beginning VB 6 5 November 27th, 2006 02:20 PM
image loading abaso.jadhav01 ASP.NET 2.0 Basics 0 October 28th, 2006 01:24 AM
converting image in picturebox to byte[] connect2sandep General .NET 0 July 26th, 2005 04:31 PM
VB6 - PictureBox and Image controls Ole Jensen Beginning VB 6 3 July 14th, 2005 04:49 PM





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