Change MAC ID and restart adapter in VB6

Create a VB6 function "UpdateMAC", which inputs a string of MAC address, example:


it will update the NetworkAddress value of the currently connected network adapter and restart the adapter such that the new MAC will be used. The attached code shows how to get the currently connected adapter, also has code to restart the adapter, but it does not work.

When the network adapter is being restated, no window should show like "Enabling...". No extra component or DLL may be added to the project. It is possible to properly restart the adapter using API "SetupDiSetClassInstallParams"

This page may help more:

[url removed, login to view]

## Deliverables

Must work on Windows 2000 and Windows 7, 32/64 bit.

Skills: Microsoft, Visual Basic, Windows Desktop

See more: setupdisetclassinstallparams, vb6 0, in vb6.0, and in vb6, vb6, how to mac, attached mac, mac basic, vb6 create code, change mac address vb6, restated, code using vb6, change bit, windows adapter network, html mac, vb6 2012, windows dll create, vb6 function, project network vb6, thread example, address change, change windows, vb6 windows, http component vb6, code project vb6

About the Employer:
( 147 reviews ) Carson, United States

Project ID: #2790318

Awarded to:


See private message.

$38.25 USD in 7 days
(8 Reviews)

2 freelancers are bidding on average $29 for this job


See private message.

$20 USD in 7 days
(4 Reviews)