CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Getting the Client's machine name.....

    Hi,

    I am working on an ASP project that requires the client's machine name. I know that there is a command
    Request.Servervariables(REMOTE_HOST)
    that returns the remote host name. But if I use this command the return value is the IP address of the machine rather than the remote host name. How do I get the remote host name? Can anybody help me out.

    Thank you in adcance.

    Anand


  2. #2
    Join Date
    May 1999
    Posts
    17

    Re: Getting the Client's machine name.....

    call 'GetComputerName' on the client end and send the info to your host


  3. #3
    Join Date
    Apr 1999
    Posts
    9

    Re: Getting the Client's machine name.....

    I think that GetComputerName is an API. How can I use an API in ASP. Could you please help me out here.

    Thank you in advance.

    Anand

    V. Anand,
    Flat No 201, DivyaSai Apts.,
    64 Pragathi Nagar,
    Yosufguda,
    Hyderabad - 500 045.

  4. #4
    Join Date
    Jul 1999
    Posts
    7

    Re: Getting the Client's machine name.....

    You can create Activex component in VC++ or VB get your computer name using API and use this new component in ASP script by calling Server.CreateObject ("NameOfActiveX DLL.NameOfObject")


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured