Click here to Skip to main content
16,014,568 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralADODB Connection events Pin
RichardGrimmer2-Jun-04 3:33
RichardGrimmer2-Jun-04 3:33 
GeneralRe: ADODB Connection events Pin
Dave Kreskowiak2-Jun-04 12:25
mveDave Kreskowiak2-Jun-04 12:25 
GeneralRe: ADODB Connection events Pin
RichardGrimmer2-Jun-04 21:06
RichardGrimmer2-Jun-04 21:06 
Generalread excel file Pin
yannaponce1-Jun-04 23:07
yannaponce1-Jun-04 23:07 
GeneralRe: read excel file Pin
^eleK2-Jun-04 9:30
^eleK2-Jun-04 9:30 
GeneralRe: read excel file Pin
yannaponce2-Jun-04 20:27
yannaponce2-Jun-04 20:27 
GeneralCommand Line compilation in VB.Net Pin
Dinesh Dhamija1-Jun-04 22:00
Dinesh Dhamija1-Jun-04 22:00 
GeneralRe: Command Line compilation in VB.Net Pin
Dave Kreskowiak3-Jun-04 2:34
mveDave Kreskowiak3-Jun-04 2:34 
You haven't submitted any code, so we really can't tell you what your doing wrong. But, if I understand you correctly, how you are trying to do this might look something like this:?
Public Class A
    Dim objB As New ClassB
End Class

Public Class B
    Dim objA As New ClassA
End Class

IIRC, this is not going to compile because of the circular reference you are talking about. It's just bad object designed to have two classes completely dependent on each other. You're classes should be designed so that they are self contained modules and have a one way relationship:
Public ClassA
    Dim objB As New ClassB
End Class

Public ClassB
    ' no code dependent on class A existing here...
End Class



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generalnewbie question: arraylist and dictionary Pin
fuel2run1-Jun-04 21:48
fuel2run1-Jun-04 21:48 
GeneralRe: newbie question: arraylist and dictionary Pin
Dave Kreskowiak2-Jun-04 12:21
mveDave Kreskowiak2-Jun-04 12:21 
GeneralRe: newbie question: arraylist and dictionary Pin
fuel2run2-Jun-04 20:59
fuel2run2-Jun-04 20:59 
QuestionHow can I send a message to another computer? Pin
tramdtt1-Jun-04 20:42
tramdtt1-Jun-04 20:42 
AnswerRe: How can I send a message to another computer? Pin
Colin Angus Mackay1-Jun-04 22:32
Colin Angus Mackay1-Jun-04 22:32 
GeneralRe: How can I send a message to another computer? Pin
tramdtt1-Jun-04 23:27
tramdtt1-Jun-04 23:27 
GeneralRe: How can I send a message to another computer? Pin
^eleK2-Jun-04 9:13
^eleK2-Jun-04 9:13 
GeneralRe: How can I send a message to another computer? Pin
Dave Kreskowiak2-Jun-04 12:15
mveDave Kreskowiak2-Jun-04 12:15 
GeneralRe: How can I send a message to another computer? Pin
tramdtt2-Jun-04 14:58
tramdtt2-Jun-04 14:58 
GeneralAPI / Hooking challenge Pin
ColonelSanders1-Jun-04 18:08
ColonelSanders1-Jun-04 18:08 
Generalvb.net class Pin
pnpfriend1-Jun-04 16:50
pnpfriend1-Jun-04 16:50 
GeneralRe: vb.net class Pin
Colin Angus Mackay1-Jun-04 22:37
Colin Angus Mackay1-Jun-04 22:37 
GeneralRe: vb.net class Pin
Dave Kreskowiak2-Jun-04 0:32
mveDave Kreskowiak2-Jun-04 0:32 
GeneralRe: vb.net class Pin
pnpfriend2-Jun-04 6:02
pnpfriend2-Jun-04 6:02 
GeneralRe: vb.net class Pin
Dave Kreskowiak2-Jun-04 12:14
mveDave Kreskowiak2-Jun-04 12:14 
GeneralRe: vb.net class Pin
Anonymous3-Jun-04 10:50
Anonymous3-Jun-04 10:50 
Generaluser validation in vb.net Pin
vince campellone1-Jun-04 13:52
sussvince campellone1-Jun-04 13:52 

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.