Paul and everyone else:
I have still been having problems with the connection. But alas i have found a solution on another board. I felt that it would be beneficial to post the description here to help others. It seems that the Network Adapters need to be set for connecting to 'work' at the beginning, but when the connection is found then set to internet!!
Anyway here is the post, so i hope it helps someone at least.
With WiFi Off, open the Wireless Manager and tap Settings/WiFi Settings. You may be taken to the Wireless LAN screen, which will have all fields blank as WiFi is off, or you may be taken straight to the Network Adapters screen.
If not on the Network Adapters screen, tap Menu/Network Cards, then tap the Network Adapters tab.
Make sure "My Network Connects to" is set to "Work". Nb: It is vital that this particular setting is set to "Work" not "The Internet". One of the later settings specifies the Internet connection.
Tap the "SDIO Wireless Adapter" (or the relevant Wireless adapter, depending on device model), and select "Use Server Assigned IP Address". Make sure all entries in "Name Servers" are blank.
Keep tapping OK back to the main Wireless Screen.
Now turn on WiFi. What happens from here depends on which type of Encryption your router is using (you are using encryption I hope!)
The process for WPA encrypted Routers should be simple from here; WEP is more complex.
Whichever you use, you should get a "Bubble" with Radio Buttons asking which WiFi network to connect to. Select your Router and tap "Connect". If there are no other routers in range, you may not get this bubble; You will then get a bubble asking about the type of connection (The Internet or Work): Select "The Internet" then tap "Connect".
You should then get a request for the encryption Key. For WPA encrypted systems, type in your key (remember it's case sensitive), and tap "Connect"
At this point, your WiFi should connect, but it can take a few minutes.
For WEP encrypted sytems, even entering the full 26 character key at this point is unlikely to work (WM5 seems to expect all connections to be WPA).
If it doesn't connect, go into the WiFI Settings again- see if your Router is showing in the Connection and signal strength fields.
Tap the Power Mode tab, and put the power up to "Best Performance". Make sure all the fields in Enroll are blank.
Tap Menu/Network Cards. Make sure the "Networks to Access" box is set to All Available.
If your Routers SSID is listed, tap its entry (if not, tap "New Connection" and manually enter your SSID in the top field).
Ensure the "Connects To" box is set to "The Internet", then tap the Network Key tab.
To set up WEP Connections: Set Authentication to "Open" and Data Encryption the "WEP".
Uncheck "The Key is Automatically provided" and enter the exact 26 character Hex string into the Network Key box, and Key Index to 1 (for 128bit this should be the only Key Index available).
I'm not sure of the settings in the 802.1x tab for WEP, but I'd advise accepting the defaults.
OK out of these screens and wait with crossed fingers!
To manually set WPA Connections: Set Authentication to "WPA-PSK" and Data Encryption to "TKIP".
The setting for "The Key is Automatically Provided" should be greyed out; if not, make sure it is unselected. Now type the WPA Passphrase in the Network Key field.
You don't need to change anything in the 802.1x tab, so tap "OK" back to the Today screen, and hopefully the connection will establish.
I must stress that these are settings which worked for me, and there is no guarantee that they will work in all situations.