Click here to Skip to main content
15,913,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: error in vb.net Pin
CKnig17-Dec-07 2:19
CKnig17-Dec-07 2:19 
GeneralRe: error in vb.net Pin
Paul Conrad23-Dec-07 14:05
professionalPaul Conrad23-Dec-07 14:05 
GeneralAdd value and text in combobox Pin
yesu prakash15-Dec-07 21:28
yesu prakash15-Dec-07 21:28 
GeneralRe: Add value and text in combobox Pin
Bassam Saoud16-Dec-07 1:58
Bassam Saoud16-Dec-07 1:58 
GeneralAssinging values to Array Pin
sjs4u15-Dec-07 21:01
sjs4u15-Dec-07 21:01 
GeneralRe: Assinging values to Array Pin
Bassam Saoud16-Dec-07 2:05
Bassam Saoud16-Dec-07 2:05 
GeneralLate Binding Issue Pin
Georg Kohler15-Dec-07 18:25
Georg Kohler15-Dec-07 18:25 
GeneralRe: Late Binding Issue Pin
CKnig16-Dec-07 18:36
CKnig16-Dec-07 18:36 
This is the normal - and desired - result if you try to invoke a method "test" on an boxed object ( indeed you are calling object.test() ).
If you have some classes that each implements the same methods you should use Interfaces like this:
Somewhere outside a class define:
<br />
Public Interface ITest<br />
 Sub test()<br />
End Interface<br />


and then in your classes (ControllerA and ControllerB):
<br />
Public Class ControllerA<br />
   Implements ITest<br />
Public Sub test()<br />
  MsgBox("running Controller A")<br />
End Sub<br />
End Class<br />


(ControllerB similar)

And finally in your Module:
<br />
Public Module DECLARE_VARAIBLES<br />
 Public SelectedController As ITest ' selected controller<br />
End Module<br />


-> you will get IntelliSense help and the code will work Wink | ;)
GeneralRe: Late Binding Issue Pin
Georg Kohler16-Dec-07 19:47
Georg Kohler16-Dec-07 19:47 
Generalmonitor clients on a network Pin
NEO198615-Dec-07 8:49
NEO198615-Dec-07 8:49 
GeneralListView Pin
yesu prakash15-Dec-07 3:54
yesu prakash15-Dec-07 3:54 
GeneralRe: ListView Pin
pmarfleet15-Dec-07 6:54
pmarfleet15-Dec-07 6:54 
GeneralRe: ListView Pin
yesu prakash15-Dec-07 16:24
yesu prakash15-Dec-07 16:24 
GeneralRe: ListView Pin
yesu prakash15-Dec-07 16:28
yesu prakash15-Dec-07 16:28 
GeneralRe: ListView Pin
Paul Conrad15-Dec-07 9:10
professionalPaul Conrad15-Dec-07 9:10 
GeneralRe: ListView Pin
yesu prakash15-Dec-07 16:28
yesu prakash15-Dec-07 16:28 
GeneralRe: ListView Pin
Paul Conrad16-Dec-07 1:58
professionalPaul Conrad16-Dec-07 1:58 
GeneralRe: ListView Pin
yesu prakash16-Dec-07 2:25
yesu prakash16-Dec-07 2:25 
GeneralRe: ListView Pin
Paul Conrad23-Dec-07 14:06
professionalPaul Conrad23-Dec-07 14:06 
Questionpong video game Pin
Cedrickdeorange15-Dec-07 2:48
Cedrickdeorange15-Dec-07 2:48 
AnswerRe: pong video game Pin
Matthew Butler15-Dec-07 3:16
Matthew Butler15-Dec-07 3:16 
QuestionPowerpoint sound problem (vb.net) Pin
sbkk14-Dec-07 22:16
sbkk14-Dec-07 22:16 
GeneralPowerpoint sound problem Pin
sbkk14-Dec-07 22:14
sbkk14-Dec-07 22:14 
GeneralRe: Powerpoint sound problem Pin
Dave Kreskowiak15-Dec-07 5:18
mveDave Kreskowiak15-Dec-07 5:18 
GeneralGet table names from database. Pin
Cory Kimble14-Dec-07 10:19
Cory Kimble14-Dec-07 10:19 

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.