Wrox Programmer Forums
Beginning Visual Basic 2012
This is the forum to discuss the Wrox book Beginning Visual Basic 2012 by Bryan Newsome; ISBN: 978-1-118-31181-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning Visual Basic 2012 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 June 24th, 2013, 07:10 AM
Registered User
Join Date: Jun 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Toolbar icons on WPF

I downloaded the icons for the toolbar for chapter 7.
VS2012 Modern Image Library

Everything works well in Windows Forms, but I can't get it working in WPF.
The buttons work fine, but I can't seem to load the icons image onto the toolbar.
It keeps telling me it can't find the files.

Any suggestions.
Old June 24th, 2013, 10:27 AM
Registered User
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shaikjamaludeen Send a message via Yahoo to shaikjamaludeen
Smile Solution

Is it a must that you should download the code and then only use it? Try writing the code directly from the book.Also follow the instructions carefully.
Old June 24th, 2013, 11:01 AM
Registered User
Join Date: Jun 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Toolbox icons

Hi shaikjamaludeen,

Thanks for the reply,
I downloaded the Icons because they were not included in the Visual Studio program download. I did not use the downloaded code from the book suppliers.

I wrote it as it is in the book, I only changed the path where the icons are:

/<Button Name="tbrHelpAbout" ToolTip="About">
<Image Source="file:///C:/Visual Basic internet programs/VS2012 Modern Image Library/Actions/bmp/Help_6522_32></Image>/

The others are the same.
Is there something I'm doing wrong?
Old July 18th, 2013, 10:44 PM
Wrox Author
Join Date: Mar 2006
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts

Hi Hennie39,

Be sure that the source is on one line with out any carriage returns.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Toolbar icons not included in VB 2010 Express gelias BOOK: Beginning Microsoft Visual Basic 2010 0 August 10th, 2011 02:51 PM
Floating toolbar in WPF mani85 C# 0 August 6th, 2007 03:37 AM
icons don't show on toolbar buttons MAKO C# 0 June 16th, 2006 11:37 AM
Icons in Menu ashu_from_india Pro VB 6 2 June 3rd, 2005 10:58 PM

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