hi this is my code

 Dim mytype As Type
        mytype =
Type.GetType("System.ComponentModel.Component")
 MsgBox(mytype)

i am getting nothing in the msgbox
pls help on this. its very urgent for me now

regards
gan
--- Paul Gaske <[EMAIL PROTECTED]> wrote:
> That's a good start, but what about:
>
> >dim mytype as type=
> >type.gettype("System.Componentmodel.Component")
>
> Should be:
>
> Dim mytype as type =
> type.gettype("System.ComponentModel.Component")
>
> Note the capital 'M' for 'Model'.
>
> Cheers,
> Paul.
>
> -----Original Message-----
> From: Nicolas Benech
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 19 June 2002 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Urgent pls -finding the assembly name
> from namespace
>
>
> Chris meant that you have some typo in your code
> sample:
>
> > > dim x as system.refelction.assembly
> > > x=system.refelction.assembly.getassembly(mytype)
>
> System.Reflection.Assembly would work better... :)
>
>
> For what it's worth...
>
> Nicolas
>
>
> This message is for information purposes only and
> its content should not
> be construed as an offer, or solicitation of an
> offer, to buy or sell
> any banking or financial instruments or services and
> no representation
> or warranty is given in respect of its accuracy,
> completeness or
> fairness.  The material is subject to change without
> notice.  You should
> take your own independent tax, legal and other
> professional advice in
> respect of the content of this message. This message
> may contain
> confidential or legally privileged material and may
> not be copied,
> redistributed or published (in whole or in part)
> without our prior
> written consent.  This email may have been
> intercepted, partially
> destroyed, arrive late, incomplete or contain
> viruses and no liability
> is accepted by any member of the Credit Agricole
> Indosuez group as a
> result.  If you are not the intended recipient of
> this message, please
> immediately notify the sender and delete this
> message from your
> computer.
>
> You can read messages from the DOTNET archive,
> unsubscribe from DOTNET,
> or subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
>
> You can read messages from the DOTNET archive,
> unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at
http://discuss.develop.com.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to