If you're using a website to get the computer name, why are you trying
to use Windows.Forms libraries?

http://www.google.com/search?hl=en&q=get+computer+name+asp.net&aq=9&oq=get+computer+name+&aqi=g10

2nd link on results page:

http://www.tek-tips.com/viewthread.cfm?qid=1226006&page=1



On Aug 18, 6:39 am, vikas arora <[email protected]> wrote:
> hello everyone,
> My problem is i need to access the computer name using website.
>
> on local system the following code work fine..
>
> Dim MyName As String = System.Windows.Forms.SystemInformation.ComputerName
>
> or
>
> Dim MyName As String = System.Environment.UserName
>
> bt when i use this code on my site it's display a series of numbers &
> alphabets.
>
> thanx

Reply via email to