Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  HOME    TRACKER    Visual Basic

Connecting To A Computer Using A MAC Address

Hey all,

Anybody know how i can connect to a system using their mac address as opposed to the IP? Im trying to create a wake on LAN program you see.

Many Thanks

View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Connecting Via IP Address????
I'm not even sure if this can be done..hence the reason I thought I'd come here.

Here is the scenario:

I have a VB application on computer A.

I have the Access Database on computer B.

The only way I can get to the database is through computer B's IP Address. (Ex.

So what I am wondering is, is there a way in Visual Basic I can connect to the database via its IP Address? Like I said I'm not even sure if this can be done.

Connecting To Another Computer
with visual basic, can i connect to some ones elses computer

Connecting With Another Computer?

How can I directly connect to another computer and exchange file with another person?

Connecting To Database Under An Url Address
i have connection to tha database
for example
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
rs.Open "select * from register", con, adOpenKeyset, adLockOptimistic
End Sub

Private Sub Form_Load()
con.Open "Provider=microsoft.jet.oledb.4.0;data source=c:x.mdb"
End Sub
this works i would like to connect remote database
database is now under an url
for example
now which parameters change and how? ??????????????? ??????????????

Looking For Help In Connecting Two Com Ports Of Same Computer
hello ppl
i m a new to the world of mscomm. i don know even abc of connecting two com pots using mscomm in VB. can any one help me in doing tht. i wanna to learn basics of programming. i m seeking for some basic req. for connecting two com ports and how to send data through it.
plsssssssssssssss help me its urgent

thanx ppl

Connecting To More Than 1 Computer With Winsock
Is it possible to connect to more than just 1 computer with a single winsock?

Connecting To Computer Behind Router
all right, i'm trying to make a chat prog. I want to add instant messaging to it so i figure i have to make a p2p connection. A question i'm having that completely boggles me is how do i connect to a specific computer through a router. I was kinda hoping the server could gather this information and pass it to the user. But is it possible to connect to a certain computer behind a router?

Examples, tutorials, anything would be great!!!!!

Question About Connecting To Another Computer Without TCP
Is there another way to connect to someone else's computer without using the TCP Client that would allow you to send images and/or files over the connection?

Like, for example, how does AIM work?

Winsock Connecting To Another Computer By Name??
I got this code:

VB Code:
Form1.W1.Close     Form1.W1.Connect "LIBERO", "188"      DoEvents

When i try to connect with that code i got error: Authoritative answer: Host not found

But if i try to connect to my own computer with my computers name ( in this case "SAURON" instead of "LIBERO" ), then everything works fine. Also fine if i use the remotecomputers IP instead of the remotecomputers name.

Connecting A Computer To A PABX
Hi all

We have a PABX phone system at our office and the boss wants to get rid of
the windows 3.11 software that is monitoring the telephones.

Is there anyway to capture data from a COM port, it is all sent in ASCII and
can be viewed using HyperTerminal.

I have tried using XComm32.ocx with little effect as it never seems to
receive data?

any help will be greatly appreciated



IP Address Of A Computer
Hello !

Can someone help me to load the IP address of the computer to a text box or to a label using VB 6.

Thanks for the time in advance

Get IP Address And Computer Name
hi! how can i get the Ip address and name of the computer where the application is running? thanks in advance!

Getting The IP Address Of A Computer?
Hello. I need to know the IP address of a computer which is in my domain. I know the name of that machine.

The remote machine could be turned off, so I guess can't go the way WMI, because I'd need to connect to it.

I need the IP because I have a routine to ping a machine, and this routine needs the IP address to perform the ping.

Any way to get the IP? I guess it should be via DNS or something like that.

Thank you

Getting The Address Of The Computer

I want to get the address of the computer which is connecting to the server.

Is there any api which does the same.


Getting Computer Using IP Address
How can i get the Computer Name, if i have IP Address of the Computer

How To Get IP Address Of My Computer?
Do you have any solution for this ?

Best Regards

Get The IP Address Of My Computer

How can I get the IP address of my computer using a VB function?

Thanks, Lior

Ip Address And Computer Name
can you tell me how i get the computers network ip address and also the computer name via VB

How To Get The Computer Name And IP Address?
helo! i need help... im creating an application that display all the computer's name and all their IP Addresses that are connected in a workgroup e.g. "LanNet"... is there a way to do this? Thanks in advance...

How To Get IP-address Of My Computer?
How to get IP-address of my computer programmatically in VB?

Connecting To Remote Database Under An Url Address
 have connection to tha database
for example
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
rs.Open "select * from register", con, adOpenKeyset, adLockOptimistic
End Sub

Private Sub Form_Load()
con.Open "Provider=microsoft.jet.oledb.4.0;data source=c:x.mdb"
End Sub
this works i would like to connect remote database
database is now under an url
for example
now which parameters change and how? ??????????????? ??????????????

Computer Goes Halt When Connecting To SQL Server
Dear All,

I found my program goes halt when it trying to connect to a unavailable SQL server. The program takes all the computer resources, screen goes blank, user cannot do anything when it's connecting. I tried the connectiontimeout, but it seems not help much, only shorten the time to connect. anyone got solution of it?


Connecting To Another Computer In Home Network
I have two computers connected to a hub and then to the Internet. I like to know how to access them through visual basic (I mean code wise). I have no idea how to start this. They are sharing resources and everything so they can see each other and share resources.

My goal is to connect to these computers in order to synchronize some folders with its subfolders and the materials in it.

I have tried using windows synchronize command however it does not synchronize the subfolders. It would just do the files in the folders. So I am left with bunch of files at the end not knowing which is which.

If you have any idea of how to go about this I really appreciate if you share it with me.

Connecting With Winsock Through Computer Name On A Network.
How can I do the above? I've got a list of names that I want to send data to (names of the computer). I know (to a certain extent) how to use winsock. Here's the situation.

My Computer |--Winsock--> Don't know IP of this computer
(Sastraxi) (Networked_Computer)

Could I just use Networked_Computer as the RemoteHost and whatever port I want on both (assuming it's free)?

How Can I Block An IP Or IP Range From Connecting To My Computer?
I would like to figure out how to block a certain IP or IP range from being able to connection to a particular port on my computer.

I play a game online that opens port 2346 whenever I host the game. The people that join the game have to connection through tcp/ip to that port, no exceptions. What I would like to do is "ban" someone from joining my games by adding his IP to a list, and have the program check the list when someone tries to connect. If the IP that is trying to connect is in the list, I don't want it to establish a connection, and if it's not in the list, let them join as usual.

I'm pretty sure this is possible since firewall programs must use this technique to block hackers and potentially harmful information from passing to certain ports. I've also noticed this feature built in to my FTP server which allows all incoming connections to a given port providing they are not listed on my "ban" list.

So if anyone can please help me in great detail it would be greatly appreciated. I'm fairly new to VB so you'll have to baby me through the process if you could. I have one particularly annoying person that constantly joins my games and I would love to ban him as soon as possible.

Thanks in advance,


Computer Halts When Connecting SQL Server
Dear All,

I found my program goes halt when it trying to connect to a unavailable SQL server. The program takes all the computer resources, screen goes blank, user cannot do anything when it's connecting. I tried the connectiontimeout, but it seems not help much, only shorten the time to connect. anyone got solution of it?


How To Get The Computer's Machine Address?
Ok, i know how to get the MACAddress by ipconfig, but i dont know how to do it programatically in vb6...

can somebody help me pls...thanks.

Get My Computer Email Address..
there a way to find out my hotmail address from sysinfo or any other way to find my email address... NOT PASSWORD!!! Only email address..

dosent have to be with sysinfo.. even with other ways...

Get Public Ip Address Of Computer
how can i get the public ip address of my computer?? NOT LOCAL..

Get Ip Address Of A Computer On A Network In VB6
I've had a look through the various posts, and nothing comes close to what I want, or if it does, it seems unnecessarily complex and/or long winded.

I have a number of machines on a LAN - several clients and one server.
What I want to do on each client is to is pass the computer name of the server to a function and get either "" if the server cannot be found on the local network, or the IP Address if it is. I need to do it like this because the IP Address of all of the machines is set dynamically - the server name never changes.

The IP address I want is to allow me to use Winsock to enable the clients to talk with the server. Surely there must be a WinAPI function that does what I want?


Time flies like an arrow, Fruit flies like a banana

Connecting Access Database By A Relative Address, Please Help
I created my final year project in VB which links to Access database, by simply pointing to the database on my hard drive, from the properity of the DAO (data1).

My problem is I have to hand my project in 8 hours, on CD therefore when the application is run off the CD it tries to look for the database on my hard drive and crashes, i've been up all night to solve the problem, but i've had no joy.

Can anybody help, please

My final year project goes out the window, if I can't sort it by 4 o'clock.



Send Sms Message Through A Computer Connecting To The Internet
hi there
i'm a beginner in vb and i do a project about touch alarm system i complete it but the professor says that i must send a sms message when any alarm happen i search for it but i didn't find anything so please anyone can help help me in this he said to use mscomm32.ocx to send a sms message so please help me

Connecting Multiple Computer And Sharing A VB Program
Hi, I need my program to be shared by several computers accessing my VB project. What I did was using a hub and netbui, I set up a network and shared a folder with my files and got the other computer to access it. The thing is, I keep having problem with Win 98 and Win 2000.. Usually Win 2000 can see the 98 computer, but 98 have a hard time seeing 2000.. In the case I want the "server" to be the 2000 computer, it might be hit or miss whether the 98 computer can access the 2000 computer.. Also, the end users might not be computer literite enough to set up a network. Does anyone know any other file sharing protocol that can be used and that might be easier to set up than what I'm doing?

Invoking Model And Connecting Remote Computer
I want to access modem attached to my system and invoke it through application which will connect to other computer connected
through telephone line. my application then will demand some data from
the remote computer the data transfer logic is working fine. infact i
can transfer data if i connect them using dialup..but i dont want user
to make all this stuff but through my application..

any help???
thanks in advance..

Extracting Mac Address For A Computer In Network
Hi. How could I extract the name and mac address for a computer which is part of my network using vb6? I did find some info about how to get the mac address of my computer, but I need to get the mac and name of a computer from network. Thank you very much!

Detect All Computer IP Address Connected To LAN
Hi all, i want to ask how to detect ip address of the computers that are connected to LAN. Thanks

How Do I Change The IP Address And Computer Name Programmatically From VB6?
How do I change the IP address and computer name programmatically from VB6?

Any answer with code sample will be appreciated.

Shut Down A Networked Computer By IP Address
Is there a way to shut down a networked computer through its IP address?

Finding A Computer Names/IP Address By User Name
I'm working on a VB6 program using Winsock to send messages between a server and a bunch of clients. (Thanks for those who gave me guidence yesterday)

The problem is I need to identify where to transmit messages from the server by using their W2K user name (because the same user could be using a different computer on a different day). From the guides I've been reading, I need to use either IP address or computer name with Winsock.

I could just have all the clients check in occationally to see if there are any new messages (that way the server wouldn't need to know where they are) but that seems like a waste.

The other thought I had was, when the client program starts up, it transmits its computer name or IP address along with the users user name to the server where its stored in a table until a message needs to be sent.

What do you think? Is there a better way? Maybe I'm missing something obvious.


Display Networked Computer Names And Ip Address

I have a program that shutsdown/restarts a computer on my LAN but i have to know the ip address. Is there any way of having the client scan the network for computer and display them in a list box and either with IP address OR select the computer name and connect that way.

Any help is greatly appreciated.


Can Somebody Help Me To Fatch Mac Address Of Computer In Visual Basic 6

I am developing software under Visual Basic 6, I need to fatch Mac Address of Computer Network adaptor.

thank you
Parag Shah

How To Get All Client IP Address Connected To Server(main Computer)?
we have 3 computers at home, we set-up all computers connected to LAN so we
can share files, my computer serves as the main computer, i just want to get all
IP address of the computers connected to main computer(that is my computer) and list them
in combo box or Listview. How to do this using winsock(VB6)?Need your help. thanks.

Edited by - edd_hills on 6/5/2007 9:43:46 PM

How To Verify The Computer Is In Connecting Printer Status Include Remote Printer...?
How to verify the computer is in connecting Printer status include remote printer...?

EMAIL ADDRESS FORMAT For Exchange Global Address Book Adresses
I want to display all the entries of MS Exchange Global Address List (GAL) in the following format

Name Email Address
John Mcenzie
Ron Stewart

This requirement looks quite simple and the problem that I am facing is not in retrieving values from GAL but is in the ADRESS FORMAT in which I'm getting the "Email Address" from AddressEntry Object.

I'm using 'Address' method of the AddressEntry object and returns me the adddress in following format.

/o=XYZ Corporation/ou=ae/cn=Recipients/cn=john Mcenzie

and the Address Type for the above address is 'EX' which I guess is the abbrev. for 'Exchange' format.

Can anyone please tell me how can I display it in a SMTP format (

Source Code
Private Sub cmdDisplay_Click()
Dim objmapiSession As MAPI.Session
Dim objmapiAddressList As AddressList
Dim objmapiAddressEntries As AddressEntries
Dim objmapiAddressEntry As AddressEntry
' Create a new MAPI Session
Set objmapiSession = New MAPI.Session

'Logon to the MS Exchange server

'Get the Global Address List
Set objmapiAddressList = objmapiSession.GetAddressList(CdoAddressListGAL)

'Get the Addresses Collection
Set objmapiAddressEntries = objmapiAddressList.AddressEntries

' Loop through each address object
For Each objmapiAddressEntry In objmapiAddressEntries
Debug.Print objmapiAddressEntry.Name + vbTab + "(" + objmapiAddressEntry.Address + ")"
'Log off

Set objmapiSession = Nothing
Set objmapiAddressList = Nothing
End Sub

Debugger Problem - Going From Relative Virtual Address To True Address = Overflow?
Right - I have my debugger aboiut 30% written now, but I have a problem when going from the relative virtual address (RVA) to the true memory address because this is sometimes greater than MAXLONG?

To see this, put a breakpoint in the function DebugMain.LastSystemError in the attached proggie...

*Resolved* Use MAPI To Retrieve SMTP Address From Outlook Address Book
I want to load a user table with the names and e-mail addresses from our Outlook address book so that remote users who are not connected to our intranet can use the addresses.

I am using MAPI to retrieve information from the outlook address book using the MS Exchange settings. When I try to retrieve the objAddressEntry.Address, I do not get the SMTP address which is what I want to retrieve. The address that is retrieved using the objaddressentry looks like this "/o=value/ou=COMPANY/cn=Recipients/cn=entry name".

We exported the address book to a .csv file and imported it into excel. This spreadsheet had two columns of data related to the e-mail address... the first is named "E-mail Address"... the second is named "E-mail Addresses". The first column only contains information for entries that have addresses outside the company. these are the actual e-mail addresses that we want to load into our table and are equal to the value of the SMTP address in the second column

The second column consists of multiple e-mail addresses (SMTP,MS,X400, and CCMAIL):

example1 - entry with address inside company:;a= ;p=DOMAIN;o=COMPANY;s=Baker;g=Marilyn;%CCMAIL:Baker, Marilyn at COMPANY

example2 - entry with address outside company:;a= ;p=DOMAIN;o=COMPANY;s=Barbosa;g=Anderson;%CCMAIL:Barbosa, Anderson at COMPANY%MSOMAIN/COMPANY/ABARBOSA

What we need to store in our user table is the SMTP value in this second field... but that is not what is retrieved in the .address property of the addressentry object.

Is there a way to retrieve this info using VB?


Edited by - Tenslvr3 on 7/28/2005 8:04:09 AM

Sending A Files From Client Computer To Host Computer, Via LAN/internet
Hi everyone:

Please help me..I need to finish my project..

Below is my explanation:

Execute program=>click a button=>program seek for certain folder (c:myfolder)=>sending all files (2kB) to host

Always looking for incoming files=>save in a folder
(host could be a desktop-webserver, installed tomcat/apache, assumed with static ip)

Please help...Thanks in advance.

Recipients Address,Sender Address Or Email Heades

I am in a process of migrating all mails from Outlook to a database to create a knowledge base.I am not able to extract the email address of the people in the sender and receipients list.
or i need the email headers to extract the information .

Is it possible to extract this information from a mail like we extract the body or subject

Can you help me

Thanx in advance

Copyright 2005-08, All rights reserved