"Brahm" <daniel.brahm@c ontronic.com.br > wrote in message
news:u236aOQgGH A.4708@TK2MSFTN GP04.phx.gbl...[color=blue]
> hey,
>
> another question guys..
>
> is there any way to get module name ?
>
> E.g: bas_serial_comm .vb
>
> Daniel
>
>[/color]
"Mythran" <kip_potter@hot mail.comREMOVET RAIL> escreveu na mensagem
news:ezK0CxRgGH A.4940@TK2MSFTN GP05.phx.gbl...
"Brahm" <daniel.brahm@c ontronic.com.br > wrote in message
news:u236aOQgGH A.4708@TK2MSFTN GP04.phx.gbl...[color=blue]
> hey,
>
> another question guys..
>
> is there any way to get module name ?
>
> E.g: bas_serial_comm .vb
>
> Daniel
>
>[/color]
"Brahm" <daniel.brahm@c ontronic.com.br > wrote in message
news:%23ufb3bxg GHA.4404@TK2MSF TNGP05.phx.gbl. ..[color=blue]
> Thanks!
>
> "Mythran" <kip_potter@hot mail.comREMOVET RAIL> escreveu na mensagem
> news:ezK0CxRgGH A.4940@TK2MSFTN GP05.phx.gbl...
>
> "Brahm" <daniel.brahm@c ontronic.com.br > wrote in message
> news:u236aOQgGH A.4708@TK2MSFTN GP04.phx.gbl...[color=green]
>> hey,
>>
>> another question guys..
>>
>> is there any way to get module name ?
>>
>> E.g: bas_serial_comm .vb
>>
>> Daniel
>>
>>[/color]
>
> System.Reflecti on.MethodBase.G etCurrentMethod ().DeclaringTyp e.Name
>
> HTH,
> Mythran
>
>[/color]
Just so ya know, bas_serial_comm .vb is the name of the file, not module.
The module may have a different name, and modules definately have no
extensions (.vb).
Comment