System.IndexOutOfRangeException: Index was outside the bounds of the array.
at getAllINetConnectionNames()
at ICSGUI.Form1.Form1_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.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)
how fix this ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This looks like a programming error on my part. I'll debug it as soon as I can; probably this weekend.
I don't know if there's anything you can do to fix this yourself, but it seems to be related to the number of virtual/physical network connections on your computer. How many network connections do you have?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've tried, but I cannot reproduce this, sorry. Whenever I load the program, the array is as big as the number of connections that go into it.
I need more information in order to help you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-10-13
I also got that error about .Net with version 4 but not with 4.5. However I couldn't get the program to actually do anything! On my Dell D630 laptop I tried both the internal Intel wifi adapter and an external USB one but nothing happened. Wifi Hotspot Creator didn't work either but Connectify did work using the external USB adapter but not with the internal Intel adapter which is says is not supported.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-10-15
The problem with this is that a lot of wi-fi network adapters won't perform this function and a lot of software developers seem to have overlooked that fact. My Dell laptop and Thinkpad T61 have Intel wi-fi cards that won't work. Lots of other laptops like HP and Toshiba use Intel cards too. I've only found one program so far that has a list of supported wi-fi adapters but it didn't work with any of mine! Even when the software says it's working doesn't mean it is putting out a signal so you can't tell for sure unless you check with a wi-fi analyzer!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Alright, thanks to all contributions thus far I hope I can now clarify a couple of things that might disappoint many potential users.
I actually never intended this program to be used for creating wifi hotspots. My main reason for coding it was that I needed to share a mobile broadband connection (usb 4g-modem) on a desktop PC to a wired LAN at a time when 4G routers where not yet available on the consumer market.
I recon it might work to bridge a wifi connection to a wired LAN adapter, but the other way around depends entirely on the hardware drivers or other layers of software.
Although I want to help everyone solve their ICS problems too, I've got a lot going on IRL since October and won't be able to work on this project for the time being.
I also have to leave .Net 4.0 unsupported, unless I stumble upon an easy way to do it.
Last edit: Skyf 2013-11-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at getAllINetConnectionNames()
at ICSGUI.Form1.Form1_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.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)
how fix this ?
This looks like a programming error on my part. I'll debug it as soon as I can; probably this weekend.
I don't know if there's anything you can do to fix this yourself, but it seems to be related to the number of virtual/physical network connections on your computer. How many network connections do you have?
I've tried, but I cannot reproduce this, sorry. Whenever I load the program, the array is as big as the number of connections that go into it.
I need more information in order to help you.
I also got that error about .Net with version 4 but not with 4.5. However I couldn't get the program to actually do anything! On my Dell D630 laptop I tried both the internal Intel wifi adapter and an external USB one but nothing happened. Wifi Hotspot Creator didn't work either but Connectify did work using the external USB adapter but not with the internal Intel adapter which is says is not supported.
The problem with this is that a lot of wi-fi network adapters won't perform this function and a lot of software developers seem to have overlooked that fact. My Dell laptop and Thinkpad T61 have Intel wi-fi cards that won't work. Lots of other laptops like HP and Toshiba use Intel cards too. I've only found one program so far that has a list of supported wi-fi adapters but it didn't work with any of mine! Even when the software says it's working doesn't mean it is putting out a signal so you can't tell for sure unless you check with a wi-fi analyzer!
Alright, thanks to all contributions thus far I hope I can now clarify a couple of things that might disappoint many potential users.
I actually never intended this program to be used for creating wifi hotspots. My main reason for coding it was that I needed to share a mobile broadband connection (usb 4g-modem) on a desktop PC to a wired LAN at a time when 4G routers where not yet available on the consumer market.
I recon it might work to bridge a wifi connection to a wired LAN adapter, but the other way around depends entirely on the hardware drivers or other layers of software.
Although I want to help everyone solve their ICS problems too, I've got a lot going on IRL since October and won't be able to work on this project for the time being.
I also have to leave .Net 4.0 unsupported, unless I stumble upon an easy way to do it.
Last edit: Skyf 2013-11-08