Solved

How to retreive netbios information with an ip address

Posted on 2002-05-08
4
165 Views
Last Modified: 2010-04-04
Hi All, I want to know how to retreive all netbios information that Nbtstat -A IpAddress can retreive
thx :)
0
Comment
Question by:mabell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:smurff
ID: 6998417
listening
0
 
LVL 7

Accepted Solution

by:
Motaz earned 500 total points
ID: 6998468
I tried a solution, but it is not the best:

- Drop Memo and Edit box
- Add ShellApi to unit clause
- Drop a button and write on it's Click:

var
  F: TextFile;
begin
  AssignFile(F, 'c:\Exec.bat');
  Rewrite(F);
  Writeln(F, 'Nbtstat -A ' + Edit1.Text + ' >c:\Result.txt');
  CloseFile(F);
  ShellExecute(handle, '', 'c:\Exec.bat', nil, nil, sw_Hide);
  Sleep(5000);
  Memo1.Lines.LoadFromFile('c:\Result.txt');
end;

- Run the application and write the IP address in edit1

Motaz
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6998477
Listening..
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005379
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from Motaz

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 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