p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix
This is the forum to discuss the Wrox book Beginning Dynamic Websites: with ASP.NET Web Matrix by Dave Sussman, James Greenwood, Alex Homer, Colt Kwong, John M. West; ISBN: 9780764543746

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 13th, 2007, 07:09 PM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I can't even get snake to run

I have entered the first bit of code as follows -

Sub Button1_Click(sender As Object, e As EventArgs)

  Label3.Visible = False
  Label1.Text = Int(Rnd() * 6) + 1
  Label2.Text = Int(Rnd() * 6) + 1
  If Label1.Text = "1" And Label2.Text = "1" Then
    Label4.Text = 0
    Label3.Visible = True
  Else
    Label4.Text = CInt(Label4.Text) + _
                  CInt(Label1.Text) + CInt(Label2.Text)
  End If

End Sub


This is my first time. I am receiving an error in Line 16.

What am I doing wrong? mcrawford@mike101.com

thanks,

Michael

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how create game snake? mamandis Beginning VB 6 13 January 4th, 2008 10:47 AM
How can I run or not run Google AD in my ASP.NET w mycwcgr ASP.NET 2.0 Professional 0 November 5th, 2007 07:18 AM
SNAKE AND LADDER GAME saptarshi Pro VB Databases 1 January 24th, 2007 11:31 AM
SNAKE AND LADDER GAME saptarshi Beginning VB 6 0 January 24th, 2007 10:57 AM
Snake Eyes game chqdzn BOOK: Beginning ASP.NET Dynamic Websites w/ Web Matrix 1 May 24th, 2005 11:57 PM



All times are GMT -4. The time now is 03:01 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc