Solved

Win98 and domain name

Posted on 2004-08-12
3
167 Views
Last Modified: 2010-04-05
Hi,

I need to obtain the DOMAIN NAME name a user, using win98, has logged onto. They will be logging onto an NT4 domain. I am developing using Delphi 7 on XP.

Thanks,
Dion
0
Comment
Question by:Diono
3 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11785313
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/determining_the_validating_server_on_windows_95_98_me.asp

Above link might offer some help, but I fear you're asking for the (near) impossible. Using 16-bits libraries to retrieve the domain name? There must be an easier way, I hope...
0
 
LVL 5

Accepted Solution

by:
Hypoviax earned 500 total points
ID: 11797980
Try using this component library and get the computerinfo component to retrieve the data

http://homepages.borland.com/jedi/jvcl/

You may find some of the other components useful,

Hypoviax
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question