Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.0
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 4th, 2003, 06:40 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Book compatibility with Version 1.1 .NET SDK/Frame

Hi

Version 1.1 of the SDK/Framework is available and I simply want to know if the tutorials, methodology and code in the book are compatible with this version? Can I follow each chapter in the book without encountering 1.0/1.1 compatibility issues or are there special considerations?

I have the VB.NET edition.

Thanks

Tony
Reply With Quote
  #2 (permalink)  
Old August 7th, 2003, 09:38 AM
Authorized User
 
Join Date: Jun 2003
Location: Indianapolis, IN, USA.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As the code of books was tested against the Framework 1.0 at the time of
writing, so we are not sure about the compatibility issues. We have not yet
tested the code on Framework 1.1, so we cannot assure you about this issue.


Jennifer D. Taylor
Wiley Technical Support
Reply With Quote
  #3 (permalink)  
Old December 27th, 2003, 12:11 PM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Has "Beginning ASP.NET using VB.NET"/"Beginning ASP.NET 1.0 with VB.NET" been tested with .NET Framework 1.1 yet?

My query echoes the first post (posted in August 2003, 5 months ago) - Are there any compatibility issues, special considerations for this title when working with .NET Framework 1.1?

Thanks in advance. :)

Reply With Quote
  #4 (permalink)  
Old January 5th, 2004, 11:00 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
Thanks: 0
Thanked 3 Times in 3 Posts
Default

There shouldn't be any compatibility issues. I use a 1.0 book and code in the 1.1 environment. MS just added a few things with 1.1.

Reply With Quote
  #5 (permalink)  
Old January 31st, 2005, 09:56 AM
Registered User
 
Join Date: Jan 2005
Location: , Arizona, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having a problem with some of the code from chapter 9 pages 302-304. I'm running .NET 1.1 on most of my servers. I tried this on 2.0 Beta and get the same thing. The error I get is:

Compiler Error Message: BC30311: Value of type 'Integer' cannot be converted to 'ASP.multiclasses_aspx.VehicleKey'.

Source Error:

Line 106:
Line 107: Response.Write("<br/>Attempting to start DodgeCar with PlymouthKey: ")
Line 108: DodgeCar.Ignition(789)
Line 109: Response.Write(DodgeCar.IsRunning)
Line 110:


Here's the code, slightly modifed but the same thing:

<%@ Page Language="VB" %>
<script runat="server">
    Public Class VehicleKey
        Private _Shape As Integer

        Public Sub New(ByVal newShape As Integer)
            _Shape = newShape
        End Sub

        Public ReadOnly Property Shape() As Integer
            Get
                Return _Shape
            End Get
        End Property
    End Class

    Public Class Car
        Private _Color As String
        Private _Gear As Integer
        Private _Ignition As Integer
        Private _EngineRunning As Boolean
        Private Shared _Count = 0

        Public Shared ReadOnly Property Count() As Integer
            Get
                Return _Count
            End Get
        End Property

        Public Property Color() As String
            Get
                Return _Count
            End Get
            Set(ByVal value As String)
                _Color = value
            End Set
        End Property

        Public ReadOnly Property Gear() As Integer
            Get
                Return _Gear
            End Get
        End Property

        Public ReadOnly Property IsRunning() As String
            Get
                If _EngineRunning Then
                    Return "The engine is running."
                Else
                    Return "The Engine Is Not Running!"
                End If
            End Get
        End Property

        Public Overloads Sub ChangeGear(ByVal direction As Integer)
            If direction < 0 Then _Gear = Gear - 1
            If direction > 0 Then _Gear = Gear + 1
            If _Gear > 5 Then _Gear = 5
            If _Gear < -1 Then _Gear = -1
        End Sub

        Public Overloads Sub ChangeGear(ByVal direction As String)
            If direction = "down" Then ChangeGear(-1)
            If direction = "up" Then ChangeGear(+1)
        End Sub

        Public Sub Ignition(ByVal IgnitionKey As VehicleKey)
            If IgnitionKey.Shape = _Ignition Then _EngineRunning = True
        End Sub

        Public Sub EngineOff()
            _EngineRunning = False
        End Sub

        Sub New(ByVal IgnitionShape As Integer)
            _Color = "Sparkle Midnight Blue"
            _Ignition = IgnitionShape
            _Count = Count + 1
        End Sub
    End Class

    Sub Page_Load()
        Dim HondaKey As New VehicleKey(123)
        Dim DodgeKey As New VehicleKey(456)
        Dim PlymouthKey As New VehicleKey(789)

        Dim DodgeCar As New Car(457855)
        Response.Write("<div style=""font-family: arial; font-size: 110%;"">New Object DodgeCar Created.</div>")

        Response.Write("<br />Color: " & DodgeCar.Color)
        Response.Write("<br />Gear: " & DodgeCar.Gear)

        DodgeCar.Color = "Silver"
        DodgeCar.ChangeGear("up")
        Response.Write("<br /><b>Properties Updated</b>")

        Response.Write("<br/>New Color: " & DodgeCar.Color)
        Response.Write("<br/>New Gear: " & DodgeCar.Gear)

        DodgeCar.ChangeGear(+1)
        Response.Write("<br/>Shfted the gear up one.")
        Response.Write("<br/>New Gear: " & DodgeCar.Gear)

        Response.Write("<br/>Attempting to start DodgeCar with PlymouthKey: ")
        DodgeCar.Ignition(789)
        Response.Write(DodgeCar.IsRunning)

        Response.Write("Attempting To Start DodgeCar with HondaKey: ")
        DodgeCar.Ignition(123)
        Response.Write(DodgeCar.IsRunning)

        Response.Write("Attempting To Start DodgeCar with DodgeKey: ")
        DodgeCar.Ignition(456)
        Response.Write(DodgeCar.IsRunning)
        Response.Write("<br/>Attempting to stop DodgeCar: ")
        DodgeCar.EngineOff()
        Response.Write(DodgeCar.IsRunning)
    End Sub
</script>
Reply With Quote
  #6 (permalink)  
Old February 1st, 2005, 09:07 AM
Registered User
 
Join Date: Jan 2005
Location: , Arizona, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got an answer from another newsgroup. Thanks.

Jim
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Book Version Silmar BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 May 15th, 2007 03:23 AM
E-Book version, wih VB.NET code SoftMind BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 9 December 22nd, 2006 11:19 AM
Version Compatibility config issue BrianWren Pro VB 6 19 November 14th, 2006 10:31 AM
VB dll/exe version compatibility pinkuisadear VB Components 8 July 20th, 2005 12:14 PM



All times are GMT -4. The time now is 12:24 AM.


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