Computing in the real world
SEARCH FOR: IN:
Guest  Level 00    Register Log in

Real World Computing

List to starboard

22nd September 2005 [PC Pro]

catch Exp as exception

Span1.InnerHtml = "An Error occurred. Please check the attached file"

UploadDetails.visible = false

Span2.visible=false

End Try

End Sub

So there you have it, an ASP.NET file upload web page that also demonstrates the use of the .InnerHtml command, which is extremely useful for writing messages onto a web page while keeping the design elements separate from the code areas - one of the aims of ASP.NET.

Thou shall not covet thy neighbour's Wi-F(E)I

In a recent case in London, a man was fined £500 and given a 12-month conditional discharge for using someone else's unsecured Wi-Fi access point - he was found guilty under the Communications Act of dishonestly obtaining an electronic communications service. There have also been cases of paedophiles deliberately leaving their networks open so that, if caught, they could claim that it wasn't them.

There are even suggestions that we may see cases in the future of individuals, and certainly businesses, being prosecuted for not securing their Wi-Fi networks, so before this happens perhaps manufacturers and software houses (you know who you are) could put a tiny bit of effort in providing a simple setup routine to enable WPA or similar secure wireless networks. Currently, the majority of these setups might be easier to understand if written in Sanskrit! To ease setting up Wi-Fi in the first place, perhaps Wi-Fi devices could be designed only to work for a short period in unsecured mode before requiring a reset, so that initial testing can be done unsecured. It's much easier to get things working with the security settings off and then, once you're sure it's all working, apply the security settings.

Previous page 1 | 2 | 3 | 4 | 5