Wrox Programmer Forums
|
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 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 July 30th, 2011, 02:58 PM
Authorized User
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson4 Ex2&3

on ex 2, my program runs but the stop button does not move. The code is correct ( i verified).... I dont know what's wrong..

ex3: how do i rotate the second HScrollBar 90 degrees?
thanks in advance for the help
 
Old July 30th, 2011, 03:05 PM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Quote:
on ex 2, my program runs but the stop button does not move. The code is correct ( i verified).... I dont know what's wrong..
Usually when a program that uses a timer isn't working, it's because the timer's Enabled property is never set to true. Check that the first timer's property is set to true at design time. (By default they start set to false.)

If that doesn't work, you should set breakpoints in the two event handlers and make sure they're being called.

Quote:
ex3: how do i rotate the second HScrollBar 90 degrees?
thanks in advance for the help
For some reason, Microsoft makes the HScrollBar and VScrollBars separate controls instead of a single ScrollBar control that you can rotate. Use an HScrollBar for the horizontal scroll bar at the bottom of the form and a VScrollBar for the vertical one along the side of the form.

Otherwise the two controls are basically the same.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old July 30th, 2011, 04:11 PM
Authorized User
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

EDITED,................................

Last edited by caa5042; July 30th, 2011 at 04:26 PM..
 
Old July 30th, 2011, 04:25 PM
Authorized User
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, Rod.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch3 Ex2 Console.WriteLine question thelafe BOOK: Beginning Visual C# 2010 2 June 11th, 2011 08:40 AM
Javascript && keeps turnig into && ayrton Pro VB.NET 2002/2003 3 June 27th, 2005 03:34 PM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
chapter 2 EX2-2 buddytruck BOOK: Beginning Visual C++ 6 0 August 10th, 2004 09:56 AM
sql & join tables & find a field in multiple table trangd Beginning PHP 2 January 29th, 2004 07:18 PM





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