Display Windows Machine IP Address

jayers99

New member
I am having problems displaying the Machine IPAddress with CrystalControl2. When I browse the WMI information in CrystalControl2 the value for IPAddress is “NA”.

root\CIMv2
Win32_NetworkAdapterConfiguration
inst007
IPAddress = NA

I’ve tried setting DHCP and Static IP settings and still not luck.

A sample WMI vbscript off MSDN succeeds at the task. I can see value data type is array when I use the WMI Object Browser included in Microsoft’s WMITools. I currently only have one address assigned.

I’ve also ran WMIDiag.vbs with no problems reported.

Is there another method for displaying IP stack info?
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 
Top