Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Basic 2010
This is the forum to discuss the Wrox book Beginning Visual Basic 2010 by Thearon Willis, Bryan Newsome; ISBN: 9780470502228
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2010 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 April 24th, 2012, 10:04 PM
Registered User
 
Join Date: Apr 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default ch6 CreditCarg.jpg image problem

I downloaded the code for Chapter 6 so I could include the image for the credit card but I can't get it to work as a "Source" for an Image control.

I added the card image to the project and it appears as a resource in the Solution Explorer. I've dropped and configured a Border control as defined in the instructions. I've dropped an Image control into the Border control as defined in the instructions. However, when I attempt to set the Source property on the Image control to the CreditCard.jpg image, I get an error message that reads

"Property value not valid".

Expanding the details reveals the following:

"Could not load file or assembly 'Credit Card,Culture=neutral' or one of its dependencies. The system cannot find the file specified."

What's going on?

Any help would be greatly appreciated.

Thanks.
 
Old April 25th, 2012, 11:48 PM
Wrox Author
 
Join Date: Mar 2006
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts
Default

It may be a simple syntax issue. Can you copy that part of your code here? Thanks, Bryan
The Following User Says Thank You to bnews987 For This Useful Post:
snowcritter (May 9th, 2012)
 
Old May 9th, 2012, 09:25 PM
Registered User
 
Join Date: Apr 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for your response.

Ultimately the response was to download the code for the chapter and use it in its entirety.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text(Sql Server Text Field) to Image(JPG) srinivas72 ADO.NET 2 February 13th, 2009 06:31 PM
Progressive JPG image vkshrestha ASP.NET 1.x and 2.0 Application Design 2 October 26th, 2006 04:15 PM
WordML image to JPG spencer.clark XSLT 1 June 18th, 2005 06:19 AM
Dynamic Zip file fails with jpg image benburrows PHP How-To 0 November 19th, 2004 08:38 AM





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