I have the following code:
When I try to run it I get the following errorCode:Public MyNodes As Nodes Private Sub Form_Load() Set MyNodes = New Nodes MyNodes.Add , , "First", "Title" + " Body" End Sub
Alternately, if use the following code, I get a "Run-time error '91' message (i.e., Object variable or With block variable not set):"Compile error: Invalid use of new keyword."
What am I doing wrong? Or am I trying to do something that cannot be done even remotely in the way I am trying to do it?Code:Public MyNodes As Nodes Private Sub Form_Load() MyNodes.Add , , "First", "Title" + " Body" End Sub
I appreciate any help or guidance anyone can offer.
Regards,
New2VB


Reply With Quote
