This topic is now archived and is closed to further replies.

Last Attacker


Recommended Posts

Hey everyone, I recently had to do a project in VB.NET (kind of a task, actually) which contained object inheritance. I''ve no problem with that except they asked that we had to show when a class is constructed and destroyed by displaying for instance : "CPoint constructor : ...." I tried displaying this on a form''s textbox but I don''t know how to let a class interact with a form''s class. I then decided to use a console. I tried a shared function but the compiler said something of not being able to use a shared function without explicit definition and stuff like that. Can someone tell me how to let a class like CPoint access class frmCylinder''s txtDisplay to show "CPoint constructor : ..." or something. Thanks! // Last Attacker \\---=( LA )=---// LA Extreme \\

ICQ Number : 120585863


Share this post

Link to post
Share on other sites