Click here to Skip to main content
15,916,412 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
I have no idea why you're doing this since this code should be in your Main class. Any code that manipluates the controls of a form should be in the form's class, not in a seperate class.

But, you can just create a standalone class with a method that takes a controls collection as a parameter. Or, create a class that inherits from Main. Neither of these is a good idea - use at your own risk.
Public Class MyOtherMainForm
    Inherits Main
        ...
End Class



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




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 
GeneralRe: regard insert time Pin
Member 44429169-Apr-08 6:18
Member 44429169-Apr-08 6:18 
GeneralRe: regard insert time Pin
Dave Kreskowiak9-Apr-08 6:33
mveDave Kreskowiak9-Apr-08 6:33 

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.