Article View: be.comp.programming
Article #764Re: [VB.net]formatException
From: Jurjen de Groot
Date: Mon, 22 May 2006 07:22
Date: Mon, 22 May 2006 07:22
36 lines
2046 bytes
2046 bytes
Bernd, Je kan op 2 manieren refereren aan een type : Catch Ex As System.FormatException '// dus inclusief de volledige namespace of Imports System '// namespace importeren Public Sub ... ... jouw code ... Catch Ex As FormatException '// dan zonder namespace refereren ... Je kan ook op project nivo namespace imports definieren (selecteer je project, rechtsklik, properties, dan onder common properties - Imports. Op die manier hoe je deze niet als imports statements in je code te zetten. wellicht dat dat verklaart waarom het op school wel werkt en thuis niet. Jurjen. "bernd" <spurnd@belgacom.net> wrote in message news:44707329$0$13882$ba620e4c@news.skynet.be... > mmmm, op school werkt dat exact hetzelfde programma wel, maar thuis niet. > maar als ik system.FormatException schrijf werkt het wel. hoe kan dit? bij > andere exceptions(bijvoorbeeld dividebyzeroexception) hoef ik geen system. > ervoor te schrijven.... >
Technical Details
Message-ID:
<447166e8$0$31649$e4fe514c@news.xs4all.nl>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!transit2.news.xs4all.nl!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mailReferences:
<4470581e$0$16885$ba620e4c@news.skynet.be> <44707329$0$13882$ba620e4c@news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,e34665cdcc643620 X-Google-Thread: 107324,e34665cdcc643620 X-Google-Attributes: gidfcea4,gid107324,public X-Google-Language: DUTCH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!transit2.news.xs4all.nl!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail From: "Jurjen de Groot" <Jurjen.de.Groot@xs4all.nl> Newsgroups: be.comp.programming,nl.comp.programmeren References: <4470581e$0$16885$ba620e4c@news.skynet.be> <44707329$0$13882$ba620e4c@news.skynet.be> Subject: Re: [VB.net]formatException Date: Mon, 22 May 2006 09:22:37 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Response Lines: 38 Message-ID: <447166e8$0$31649$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: 217.195.246.102 X-Trace: 1148282600 news.xs4all.nl 31649 jdgroot/[::ffff:217.195.246.102]:1218 X-Complaints-To: abuse@xs4all.nl