Click here to Skip to main content
15,886,137 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: MessageBox stuck in loop Pin
Johan Hakkesteegt9-Apr-08 20:09
Johan Hakkesteegt9-Apr-08 20:09 
GeneralRe: MessageBox stuck in loop Pin
Joe DiNatale10-Apr-08 4:58
Joe DiNatale10-Apr-08 4:58 
GeneralTrying to transfer data with filters. Pin
Dirtyd9-Apr-08 15:53
Dirtyd9-Apr-08 15:53 
GeneralRe: Trying to transfer data with filters. Pin
Dave Kreskowiak10-Apr-08 3:28
mveDave Kreskowiak10-Apr-08 3:28 
GeneralRe: Trying to transfer data with filters. Pin
Dirtyd21-Apr-08 2:34
Dirtyd21-Apr-08 2:34 
GeneralRe: Trying to transfer data with filters. Pin
Dave Kreskowiak21-Apr-08 3:45
mveDave Kreskowiak21-Apr-08 3:45 
GeneralRe: Trying to transfer data with filters. Pin
Dirtyd23-Apr-08 13:06
Dirtyd23-Apr-08 13:06 
GeneralExtending a class in Main.aspx.vb (inheritance) - newbie question. Pin
MadMaxToronto9-Apr-08 15:50
MadMaxToronto9-Apr-08 15:50 
Hi Everybody,

I'm new to .NET and having a hard time figuring out how to extend a class in Main.aspx.vb (code behind main page).

Here is what I have:

(Main.aspx.vb)
Partial Class Main<br />
    Inherits System.Web.UI.Page<br />
<br />
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
        Label1.Text = "it works"<br />
    End Sub<br />
End Class


I've added a class called MainExtended.vb in the App_Code folder. I basically want to inherit "Partial Class Main" so I can write code in MainExtended class that can access the controls in Partial Class Main.

Can somebody guide me in the right directions? I've done lots of reading on inheritance... but I can't seem to get it to work - could not find an example that shows me how to get it working.

Thanks in advance.
GeneralRe: Extending a class in Main.aspx.vb (inheritance) - newbie question. Pin
Mycroft Holmes9-Apr-08 16:55
professionalMycroft Holmes9-Apr-08 16:55 
GeneralRe: Extending a class in Main.aspx.vb (inheritance) - newbie question. Pin
Dave Kreskowiak10-Apr-08 3:22
mveDave Kreskowiak10-Apr-08 3:22 
QuestionHaving a form in a VB.NET DLL file? Pin
LloydA1119-Apr-08 12:38
LloydA1119-Apr-08 12:38 
AnswerRe: Having a form in a VB.NET DLL file? Pin
Mitch F.9-Apr-08 14:31
Mitch F.9-Apr-08 14:31 
GeneralRe: Having a form in a VB.NET DLL file? Pin
LloydA1119-Apr-08 14:37
LloydA1119-Apr-08 14:37 
Generalget the value of a textbox with only its name as string Pin
robby19779-Apr-08 11:08
robby19779-Apr-08 11:08 
GeneralRe: get the value of a textbox with only its name as string Pin
Christian Graus9-Apr-08 11:18
protectorChristian Graus9-Apr-08 11:18 
GeneralRe: get the value of a textbox with only its name as string Pin
Luc Pattyn9-Apr-08 11:59
sitebuilderLuc Pattyn9-Apr-08 11:59 
GeneralRe: get the value of a textbox with only its name as string Pin
robby19779-Apr-08 19:13
robby19779-Apr-08 19:13 
GeneralLooking for a Serial Ports library for VB 2003. Pin
loganj19999-Apr-08 10:46
loganj19999-Apr-08 10:46 
GeneralRe: Looking for a Serial Ports library for VB 2003. Pin
LloydA1119-Apr-08 12:32
LloydA1119-Apr-08 12:32 
GeneralRe: Looking for a Serial Ports library for VB 2003. Pin
Dave Kreskowiak9-Apr-08 13:24
mveDave Kreskowiak9-Apr-08 13:24 
Generalconvert a text file to hexa file Pin
maboelectro9-Apr-08 9:39
maboelectro9-Apr-08 9:39 
GeneralRe: convert a text file to hexa file Pin
Dave Kreskowiak9-Apr-08 10:30
mveDave Kreskowiak9-Apr-08 10:30 
GeneralRe: convert a text file to hexa file Pin
Christian Graus9-Apr-08 11:18
protectorChristian Graus9-Apr-08 11:18 
Questionregard insert time [modified] Pin
Member 44429169-Apr-08 5:46
Member 44429169-Apr-08 5:46 
GeneralRe: regard insert time Pin
Steven J Jowett9-Apr-08 6:11
Steven J Jowett9-Apr-08 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.