Solved

How to retreive netbios information with an ip address

Posted on 2002-05-08
4
164 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Delphi Firemonkey Need Sample for Online Shopping Example. 2 215
HTML text in the body of an email (delphi code) 12 251
enhance the following code 3 52
Delphi, TImage, Png 2 53
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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