Waseem Sadiq
January 10th, 2000, 01:24 PM
Hi, it's me again.
I've created a bot class wich contains three other classes called Skill1, Skill4 and Skill5. I declare a variable like Dim myBot as cBot
set anarki = new cBot
. When I try to acces a property of myBot like myBot.skill1.botname = "somename"
then VB gives me the error "Object variable or With block variable not set". Can anybody please help me, I can't possibly figure ou what is wrong. If you want to have a look at the sourcecode (wich was too long to post here) you can try this download link http://botfactory.tripod.com/botfactoy.zip it's size is 558 KB. Thanks a lot
I've created a bot class wich contains three other classes called Skill1, Skill4 and Skill5. I declare a variable like Dim myBot as cBot
set anarki = new cBot
. When I try to acces a property of myBot like myBot.skill1.botname = "somename"
then VB gives me the error "Object variable or With block variable not set". Can anybody please help me, I can't possibly figure ou what is wrong. If you want to have a look at the sourcecode (wich was too long to post here) you can try this download link http://botfactory.tripod.com/botfactoy.zip it's size is 558 KB. Thanks a lot