View Single Post
  #6 (permalink)  
Old August 25th, 2014, 10:25 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi there,

You may want to compare your code with mine, as there are a bunch of errors that will break things pretty badly (as you found out).

1. You renamed the label to YourName, not the TextBox (you also renamed it to YourNamex)

2. In the Complete step you should have a Label control with an ID of Result. Currently, you only have the word Result

3. In your code you're defining a new variable called Result of type Object; that is, you have this code:

Dim Result As Object

You should delete that, as Result should point to the Label from 2.)

4. In the Finish code, you access YourName.ID which returns the control's ID. You want to use YourName.Text instead to get the name the user entered.

There may be other errors but this should get you a long way fixing the issues. Feel free to post your next version of the code in case you keep getting errors.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote