Article View: borland.public.csharpbuilder.language.csharp
Article #485Re: Newbe question
From: Marc Rohloff TeamB
Date: Sat, 22 Jan 2005 14:54
Date: Sat, 22 Jan 2005 14:54
18 lines
1701 bytes
1701 bytes
On Sat, 22 Jan 2005 09:30:24 +0100, Lars O. Soderstrom wrote:
> I get a "Cannot access ALE.frmMain.Startup.Main() because of it's security
> level" (translated from swedish) compiler error message pointing to setting
> Startup.main.Text:
>
> private void button2_Click(object sender, System.EventArgs e)
> {
> Startup.main.Text = "Some text";
> }
> "ALE.frmMain.Startup.Main()"
This would imply that it's trying to access the 'Main' procedure not
the 'main' field. Sorry I shouldn't have used the same name.
--
Marc Rohloff
--TeamB
Technical Details
Message-ID:
<mfila6lr4lwq$.dlg@marcrohloff.40tude.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41f145f9@newsgroups.borland.com> <1e1tpld5n2og5.dlg@marcrohloff.40tude.net> <41f20f21$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,96ed0e9698357d80 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: Newbe question Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <41f145f9@newsgroups.borland.com> <1e1tpld5n2og5.dlg@marcrohloff.40tude.net> <41f20f21$1@newsgroups.borland.com> Date: Sat, 22 Jan 2005 09:54:41 -0500 Message-ID: <mfila6lr4lwq$.dlg@marcrohloff.40tude.net> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR NNTP-Posting-Host: 4.131.39.71 X-Trace: newsgroups.borland.com 1106405553 4.131.39.71 (22 Jan 2005 06:52:33 -0800) Lines: 18 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail