Article View: comp.lang.basic.visual
Article #208VB6 Bug?
From: sjoerd
Date: Wed, 23 Jul 2003 10:35
Date: Wed, 23 Jul 2003 10:35
24 lines
1779 bytes
1779 bytes
Hi, I have a problem in a MDI-project. I declared a variable MyVarAA in frmMain.frm (Public MyVarAA) in the General Declaration section) I need this variable in Form1, so in the Form_Load of this form I wrote: MyVarBB = frmMain.MyVarAA When trying to run the program I get the following error: Run-time error 426 (only one MDI-form allowed). The debug-information tells me: frmMain.MyVarAA = <object variable or with block variable not set> Acoording to the book I use (Using Visual Basic 6) is this the way to do it. Error in the Book? Bug in VB? Something else? Thanks, Sjoerd
Technical Details
Message-ID:
<bfloct$kk1$1@news1.tilbu1.nb.home.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.telebyte.nl!newshub1.home.nl!home.nl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f51ba,88f30e77b5d7071c,start X-Google-Attributes: gidf51ba,public X-Google-Thread: f645d,88f30e77b5d7071c,start X-Google-Attributes: gidf645d,public X-Google-Thread: 110e3b,88f30e77b5d7071c,start X-Google-Attributes: gid110e3b,public X-Google-ArrivalTime: 2003-07-23 03:35:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.telebyte.nl!newshub1.home.nl!home.nl!not-for-mail From: "sjoerd" <iwi@iwi.myweb.nl> Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic Subject: VB6 Bug? Date: Wed, 23 Jul 2003 12:35:00 +0200 Organization: @Home Benelux Lines: 26 Message-ID: <bfloct$kk1$1@news1.tilbu1.nb.home.nl> NNTP-Posting-Host: cc91542-a.hnglo1.ov.home.nl X-Trace: news1.tilbu1.nb.home.nl 1058956509 21121 212.120.101.44 (23 Jul 2003 10:35:09 GMT) X-Complaints-To: abuse@home.nl NNTP-Posting-Date: Wed, 23 Jul 2003 10:35:09 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165