1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Rep Power


    I have written a program in Microsoft Visual Web Developer 2010 Express in Visual Basic. The textboxes are not working. There are a few choices:

    Change 'textbox1' to 'TextBox'.
    Change 'textbox1' to TextBoxMode'.
    Generate method stub for 'textbox1' in 'MyProgram._Default'
    Generate property stub for 'textbox1' in 'MyProgram._Default'
    Generate field for 'textbox1' in 'MyProgram._Default'
    Generate 'Class textbox1'
    Generate new type...

    I used a "Generate method stub for each textbox called 'MyProgram._Default'".

    This generates functions for each textbox:

    Private Function TextBox1() As Object
    Throw New NotImplementedException
    End Function

    This did not work my server. It does not like 'Inherits MyProgram._Default' in first line of "Default.aspx".

    I also tried:
    WithEvents TextBox1, TextBox2, TextBox3, TextBox4, TextBox5 As Object

    Could someone explain to me how the textboxes work in Default.aspx.vb so it will work on my online web server?
    Last edited by Philosophaie; January 31st, 2013 at 12:19 PM.

IMN logo majestic logo threadwatch logo seochat tools logo