Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Rod Stephens
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# May 31st, 2019, 07:09 PM
Replies: 2
Views: 294
Posted By Rod Stephens
Exactly. The garbage collector will eventually...

Exactly. The garbage collector will eventually get around to cleaning up managed resources, but you don't know long that may take.

For an example, suppose an object opens and locks a file, and...
Forum: BOOK: C# 24-Hour Trainer 2nd Edition November 13th, 2018, 12:13 PM
Replies: 1
Views: 779
Posted By Rod Stephens
Here's what Wrox's video expert says:

Here's what Wrox's video expert says:
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# October 24th, 2018, 02:03 PM
Replies: 1
Views: 723
Posted By Rod Stephens
Yes, this is an example of a memory leak. ...

Yes, this is an example of a memory leak.

Unfortunately, the exact behavior depends on the kind of resource that is leaking. Some objects (I think including some graphics objects) are limited on a...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# October 22nd, 2018, 03:30 AM
Replies: 1
Views: 431
Posted By Rod Stephens
You're right. That is a typo. Sorry about that. ...

You're right. That is a typo. Sorry about that.

The plain version of CompareTo takes a single object as its parameter.
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# June 21st, 2018, 12:41 PM
Replies: 1
Views: 728
Posted By Rod Stephens
Unfortunately I don't know where those files are....

Unfortunately I don't know where those files are. Which chapter mentions the databases?
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# March 3rd, 2018, 11:16 AM
Replies: 1
Views: 870
Posted By Rod Stephens
Good question. Unfortunately I don't know. I...

Good question. Unfortunately I don't know. I haven't seen the test lately. I would look at this Microsoft post


What's new in C# (https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/)

It...
Forum: BOOK: C# 24-Hour Trainer 2nd Edition September 8th, 2017, 02:02 PM
Replies: 1
Views: 1,601
Posted By Rod Stephens
Hi Banjo, Sorry about that. The short answer...

Hi Banjo,

Sorry about that. The short answer is that the newer Universal (UWP) apps are intended to be installed as apps so they can only run inside an app container. That means you need to run...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# January 7th, 2017, 02:10 PM
Replies: 3
Views: 2,244
Posted By Rod Stephens
Sorry, I missed this part: The short...

Sorry, I missed this part:



The short answer is that the command objects (like the insert object) tell the data adapter how to insert, update, and delete data in the database.

This example...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# January 7th, 2017, 02:01 PM
Replies: 3
Views: 2,244
Posted By Rod Stephens
See my reply to your earlier thread. The Update...

See my reply to your earlier thread. The Update method uses the insert, updated, and delete command objects to update any records that are out of sync with the values in the database. It adds new...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# January 7th, 2017, 01:58 PM
Replies: 1
Views: 671
Posted By Rod Stephens
Hi Ksackel. Sorry for the slow reply. I was...

Hi Ksackel. Sorry for the slow reply. I was hoping the author of that chapter would respond (so I would have to think [;)]).

The short answer is no, when you add a new record to it the DataSet...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# November 19th, 2016, 12:29 PM
Replies: 1
Views: 943
Posted By Rod Stephens
Hi Steve, I don't think that's what...

Hi Steve,



I don't think that's what the author of this chapter intended. I think he was trying to say that you need to invoke a parent constructor if you want to determine which one is called....
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# October 23rd, 2016, 10:51 AM
Replies: 1
Views: 876
Posted By Rod Stephens
Yes, you're right. Sort of. As written the Visual...

Yes, you're right. Sort of. As written the Visual Studio refuses to run the code.

I think the problem is really a typo and the parentheses should be present rather than the answer is wrong.
...
Forum: BOOK: C# 24-Hour Trainer 2nd Edition September 25th, 2016, 12:34 AM
Replies: 1
Views: 2,340
Posted By Rod Stephens
You may be over thinking this. Just place a...

You may be over thinking this. Just place a control on the form and then double-click it.

For that matter, you can double-click the form itself to make an event handler for the form's Load event....
Forum: BOOK: C# 24-Hour Trainer 2nd Edition August 16th, 2016, 06:51 PM
Replies: 2
Views: 1,141
Posted By Rod Stephens
You should check the page again. I see videos for...

You should check the page again. I see videos for lessons 1 through 37.

Note that the videos are grouped in 10 sections (I don't know why) and you need to pick one in a section to play it.

Let...
Forum: BOOK: Stephens' Visual Basic Programming 24-Hour Trainer August 9th, 2016, 04:42 PM
Replies: 5
Views: 2,196
Posted By Rod Stephens
Ah ha! I suspect Microsoft added the static...

Ah ha! I suspect Microsoft added the static option to the using directive because Visual Basic has code modules. You can refer to methods defined in a code module without needing to refer to any...
Forum: BOOK: Stephens' Visual Basic Programming 24-Hour Trainer August 9th, 2016, 01:45 PM
Replies: 5
Views: 2,196
Posted By Rod Stephens
Convert is a class defined in the System...

Convert is a class defined in the System namespace. It has a bunch of static methods including ToInt32.

If you don't use any using statements, you could do this:

myDirection =...
Forum: BOOK: Stephens' Visual Basic Programming 24-Hour Trainer August 9th, 2016, 01:06 PM
Replies: 5
Views: 2,196
Posted By Rod Stephens
First, no a using statement doesn't bring in...

First, no a using statement doesn't bring in sub-namespaces so "using System" does not include "System.Drawing" or any other System sub-namespace.

The purpose of namespaces is to not clutter the...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# August 9th, 2016, 10:07 AM
Replies: 4
Views: 1,521
Posted By Rod Stephens
Yes you can. Authors sometimes put classes or...

Yes you can. Authors sometimes put classes or structs in the same file just to make it easier to explain and to keep all of the code together, but many people use separate files for each piece of the...
Forum: BOOK: MCSD Certification Toolkit (Exam 70-483): Programming in C# August 8th, 2016, 01:35 PM
Replies: 1
Views: 801
Posted By Rod Stephens
Boxing and unboxing is mentioned in Chapter 3, I...

Boxing and unboxing is mentioned in Chapter 3, I think on pages 102, 103, and 106. It talks about how generics avoid boxing and unboxing, but it doesn't really spell out what they are.

So I agree...
Forum: BOOK: C# 24-Hour Trainer 2nd Edition July 23rd, 2016, 01:33 PM
Replies: 3
Views: 975
Posted By Rod Stephens
No problem. Let me know if you have other...

No problem. Let me know if you have other questions! [:)]
Forum: BOOK: C# 24-Hour Trainer 2nd Edition July 23rd, 2016, 11:34 AM
Replies: 3
Views: 975
Posted By Rod Stephens
The key is that the coordinates go from (0, 0) in...

The key is that the coordinates go from (0, 0) in the upper left corner to (1, 1) in the lower right corner.

You have the quote from the video just a little bit wrong, and I think that's causing...
Forum: BOOK: C# 24-Hour Trainer 2nd Edition July 20th, 2016, 12:01 PM
Replies: 3
Views: 1,107
Posted By Rod Stephens
Sorry but publishers don't really listen to...

Sorry but publishers don't really listen to authors much about things such as titles, cover images, how extra material is delivered, and other marketing and delivery issues.

I suspect in part they...
Forum: BOOK: C# 24-Hour Trainer 2nd Edition July 19th, 2016, 04:58 PM
Replies: 3
Views: 1,107
Posted By Rod Stephens
I'm glad you're finding the videos useful. Post a...

I'm glad you're finding the videos useful. Post a review when you have a chance!

Unfortunately I don't know of a way to download the screencasts. I think the publisher wants to have control over...
Forum: BOOK: Stephens' Visual Basic Programming 24-Hour Trainer April 25th, 2016, 05:51 PM
Replies: 8
Views: 1,143
Posted By Rod Stephens
Good questions. The code first sets...

Good questions.



The code first sets last_letter to 0, which is smaller than any value that a Roman numeral letter can have. That means when we look at the first letter on the right,...
Forum: BOOK: Stephens' Visual Basic Programming 24-Hour Trainer April 25th, 2016, 02:49 PM
Replies: 8
Views: 1,143
Posted By Rod Stephens
Sorry, I mean you could fool it if the input...

Sorry, I mean you could fool it if the input contains one of the allowed letters in addition to prohibited letters. For example, try IQ. The I makes it pass the If test and then the Q doesn't make...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 10:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.