Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 27th, 2004, 01:01 AM
Registered User
 
Join Date: Jul 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default different class between vb and c#(two books)

chapter 5
  AccountsBusiness

vb: siteprincipal
c#: PhilePrincipal

I want to know which is better,why?And is there any other difference between vb and c#.

Thanks!

 
Old July 27th, 2004, 06:37 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The VB version is a little newer. It has some bug fixes, and some small design improvements. Read the .doc file that comes in the VB code download for details.

In this case, there really is no PhilePrincipal class. That was based on an early code draft. The C# code download (and the VB download) only has a SitePrincipal. Wherever you see PhilePrincipal in the book, change it to SitePrincipal.

Eric
 
Old July 28th, 2004, 08:34 PM
Registered User
 
Join Date: Jul 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks!

1.Can I get the C# code of new version as VB?

2.When I build the project of C#,there are some errors£¬just like:
C:\wrox\ThePhile\Modules\Accounts\ACCOUNTSBUSINESS \AccountsTool.cs(9): namespace¡°Business¡±does exist in¡°Wrox.WebModules¡±
How can i do?

 
Old July 28th, 2004, 09:06 PM
Registered User
 
Join Date: Jul 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can I get the whole class tree of it.

 
Old July 28th, 2004, 09:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. The VB version is newer, but both of the code downloads are for VS 2002. You can download the code for either version from the Wrox website. Find the book, and then you'll see the links to download the code.

2. It sounds like you have a bad reference. Did you port the code to VS 2003? Both code downloads are set up for VS 2002 and you have to convert the projects and set new references to make them work in 2003.

There is no official source code for use directly in VS 2003. I was hoping Wrox would consider updating the code again, but I don't think they will.

I'd really like to see a revised edition of the book, and that could include code for the new VS 2005, which is already out in beta. There's a number of changes to the design that I've recommended, and it'd be great if we could get all this into a revised book.

Eric
 
Old July 28th, 2004, 10:22 PM
Registered User
 
Join Date: Jul 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your detailedly answer!

Yes,I port the code to VS2003 :)
Then,how can i set new references for VS2003?

 
Old July 29th, 2004, 12:03 AM
Registered User
 
Join Date: Jul 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes,I know it now,thanks again!

 
Old September 1st, 2004, 12:05 PM
Registered User
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually how DO i set references for VS2003? I've converted it to 2003, but wasn't aware of any 'references' i need to change...

Any ideas?

J

 
Old September 1st, 2004, 08:28 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If it builds cleanly in 2003 then you already have the references. Aren't you familiar with the references under the Solution Explorer? This is where you specify with assemblies you want to use in the current project. Look at the references for your main project and you'll see that shows the other assemblies that are used.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
use app_code vb class instead of codebehind keyvanjan ASP.NET 2.0 Professional 2 July 25th, 2007 10:12 AM
Help on Wrox books for vb.net with sql pauldees SQL Server 2000 0 January 9th, 2005 10:41 PM
Differences between the books Beginning VB NET TAVOSOFT BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 May 23rd, 2004 07:52 AM
VB .Net Books ioates VB.NET 2002/2003 Basics 4 March 17th, 2004 10:57 AM
How to include c# class and vb class in the .vbprj umeshayk VS.NET 2002/2003 2 January 9th, 2004 12:08 AM





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