Auto-Discovery

Control the state of remote PCs. [link]
Holger_01
Posts: 1
Joined: Thu May 20, 2010 8:28 am

Auto-Discovery

Post by Holger_01 » Thu May 20, 2010 8:39 am

Hi,
i run this Tool on Windows 7 in the portable mode.
But i cant run Auto-Discovery. Then error in german is:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei WakeOnLanEX.Forms.AutoDiscovery.GetArpEntries()
bei WakeOnLanEX.Forms.AutoDiscovery.AutoDiscovery_Load(Object sender, EventArgs e)
bei System.Windows.Forms.Form.OnLoad(EventArgs e)
bei System.Windows.Forms.Form.OnCreateControl()
bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bei System.Windows.Forms.Control.CreateControl()
bei System.Windows.Forms.Control.WmShowWindow(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
bei System.Windows.Forms.Form.WmShowWindow(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Thanks

Holger

User avatar
BootBlock
Unclean, unclean!
Posts: 425
Joined: Wed May 28, 2008 11:17 pm
Location: United Kingdom
Contact:

Re: Auto-Discovery

Post by BootBlock » Fri May 21, 2010 12:50 pm

Holger_01 wrote:Hi,
i run this Tool on Windows 7 in the portable mode.
But i cant run Auto-Discovery. Then error in german is:
Hi Holger_01,
thanks for letting me know about this error.

If you open a commandline (WindowsKey+R, type cmd then hit Return/Enter) and type the following:

Code: Select all

arp -a
Does the list appear in English, or German?

If German, could you paste it into your post?

I've just tested it in a virtual machine with Windows XP and it seems to be in English, so I just want to get a confirmation before I attempt to explore any other areas the problem could be in.

Edit: As far as I can tell, it seems I need to have a language pack installed to be able to test in German. Unfortunately, I can't seem to get a hold of it.

zorg
Posts: 1
Joined: Thu Dec 16, 2010 10:09 am

Re: Auto-Discovery

Post by zorg » Thu Dec 16, 2010 10:18 am

Hi Bootblock,

apparently it's GetArpEntries() that is only checking english values in column headers of the ARP list.
I'm also getting the mentioned error since I'm running the tool on a German Win7.

Can you please localize the method above to

Code: Select all

if (str3.StartsWith("Interface: "))              >>    if (str3.StartsWith("Schnittstelle: "))
else if (!str3.Contains("Internet Address"))  >>    else if (!str3.Contains("Internetadresse"))
if (str.Substring(num2) == "static")            >>    if (str.Substring(num2) == "statisch")
if (str.Substring(num2) == "dynamic")         >>    if (str.Substring(num2) == "dynamisch")
That would really be great! :D

Thank you very much in advance!
-Zorg

User avatar
BootBlock
Unclean, unclean!
Posts: 425
Joined: Wed May 28, 2008 11:17 pm
Location: United Kingdom
Contact:

Re: Auto-Discovery

Post by BootBlock » Sat Dec 18, 2010 11:03 am

Hey zorg,
thanks for replying to this! I never originally got a reply so I wasn't able to do anything about it.

I'll make WoLEX use an external file for checking ARP strings so it can easily be added to.

You wouldn't happen to know what the globalisation code for your region is, do you? For example, "en-gb" for the UK, "en-us" for the US, etc.

Thanks for the localised version!

zorg2
Posts: 1
Joined: Tue Jan 18, 2011 2:48 pm

Re: Auto-Discovery

Post by zorg2 » Tue Jan 18, 2011 2:49 pm

That would be de_DE

chota
Posts: 1
Joined: Fri Feb 04, 2011 2:02 am

Re: Auto-Discovery

Post by chota » Fri Feb 04, 2011 4:34 am

Hi,
I run this Tool on Windows 7 Japanese version.
But I can`t run Auto-Discovery.
Error in Japanese is:
System.NullReferenceException: オブジェクト参照がオブジェクト インスタンスに設定されていません。
場所 WakeOnLanEX.Forms.AutoDiscovery.GetArpEntries()
場所 WakeOnLanEX.Forms.AutoDiscovery.AutoDiscovery_Load(Object sender, EventArgs e)
場所 System.Windows.Forms.Form.OnLoad(EventArgs e)
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl()
場所 System.Windows.Forms.Control.WmShowWindow(Message& m)
場所 System.Windows.Forms.Control.WndProc(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This situation is same as the German OS probrem.

Can you please localize the method above to

if (str3.StartsWith("Interface: ")) >> if (str3.StartsWith("インターフェイス: "))
else if (!str3.Contains("Internet Address")) >> else if (!str3.Contains("インターネット アドレス"))
if (str.Substring(num2) == "static") >> if (str.Substring(num2) == "静的")
if (str.Substring(num2) == "dynamic") >> if (str.Substring(num2) == "動的")

I am not sure you can read or add japanese characters,
However, this tool is very usefiul, and I really want to use it in Japan.

scfx
Posts: 1
Joined: Thu Nov 03, 2011 10:06 pm

Re: Auto-Discovery

Post by scfx » Fri Nov 04, 2011 2:26 am

Hi, same problem
XP Russian version!
  • System.NullReferenceException: Object reference not set to an instance of an object.
    at WakeOnLanEX.Forms.AutoDiscovery.GetArpEntries()
    at WakeOnLanEX.Forms.AutoDiscovery.AutoDiscovery_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests