How to Get IPX Workstation Address
Keywords: IPX Workstation Address
Question:
Does anyone have any Idea how to get a Net address from the N4ObjectProps function? It returns nothing for me..Answer:
I have not tried to obtain the workstation's IPX network number via the method that you were questioning. However, I have used the following method to obtain the complete IPX network information for the workstation from which the WinBatch code is running:AddExtender("WWN4X34I.DLL") TempNetAddr = n4GetNetAddr("",0) TempMACAddr = ItemExtract(2,TempNetAddr,":")The value in TempNetAddr contains the IPX network number, IPX socket number and the MAC address of the workstation's NIC which has the primary monitored NDS connection.Question (continued):
Thanks for the prompt response. This does work fine, however I need to get the NDS property value of "Network Address". I can see the property using NLIST and other Novell programs, however WB returns a NULL string with the following code.value = n4ObjectProps("", "BG4", "Network Address") Message("Network Address", value)I am using WB97D.Answer:
I seem to recall that n4ObjectProps could only return string arguments in the past, but in the newer versions, it's supposed to also handle numerical parameters.It's fairly high on the list to get fixed. I'm not sure if it will make 98C or not though.
Article ID: W13599Filename: Get IPX Workstation Address.txt