November, 2005

Skip Navigation LinksIrocon > Blog > 2005 > November, 2005

Advanced Basics - What's My IP Address?

The need to make it easier for users to find out their IP addresses has always been there but the solutions have not always been available, or if they were, they have not been very efficient.Ken Getz uses Visual Basic.NET and the .NET framework 2.0 to demonstrate a quite user friendly way of communicating IP address information between two parties. Instead of trying to give instructions over...Last Updated:Thursday, September 02, 2010By:alferoSource#

How-To: Stream almost anything using VLC

The good people at Engadget show us how to stream stuff across multi-platforms with VLC Media Player.Most interesting are their download statistics. At the time of this writing, a whooping 2.3 downloads per second!Last Updated:Thursday, September 02, 2010By:alferoSource#

10 reasons why gaming on Windows XP rocks

Ok, I'm a little -- maybe a whole lot -- late and I know this can be a hot debate but I've never been a big fan of consoles. I still play all my games on the PC [Not that I play that many games] and I just love it for these ten reasons that come from someone who thinks like me.[Excerpt from Microsoft.com]10 Caveat emptorMany console owners drop $50 on a new video game only to find that the...Last Updated:Thursday, September 02, 2010By:alferoSource#

More Immigration news from Canada

[Excerpt from CNEWS- Canada]"It takes a while for people to learn exactly what happens here and how the political game is played in Canada."..........."You have to ask yourself, is this credible?" Ablonczy asked following Volpe's announcement. "Given the timing, given the rush with which it's been put out, you have to wonder."Last Updated:Thursday, September 02, 2010By:alferoSource#

Nations Urge U.S. to Cede Internet Control - Yahoo! News

[Excerpt from Yahoo! News]President Robert Mugabe of Zimbabwe spoke for the more radical opposition to U.S. control, saying Washington and its allies cannot continue to "insist on being world policemen on the management of the Internet.""Why should our diverse world be beholden to an American company?," he told more than 10,000 government, business and other delegates as the three-day U.N....Last Updated:Thursday, September 02, 2010By:alferoSource#

Making internet calls from a cellphone?

Software for connecting your Internet phone calls to any phone – mobile or landline. No special hardware. No WiFi needed.Last Updated:Thursday, September 02, 2010By:alferoSource#

Getting Settings from web.config at design time

Elion at the Asp.net forums provides a very neat way of pulling settings from web.config at design time.To get access to configuration at design time, use the IWebApplication service. From your control's designer, do something like this:IWebApplication webApp = (IWebApplication)GetService(typeof(IWebApplication));if (webApp != null) {Configuration config = webApp.OpenWebConfiguration(true);string...Last Updated:Thursday, September 02, 2010By:alferoSource#

Repeater In Repeater

Last night while trying to figure out a way to categorize information in a webform, I found out a way to place a repeater inside another repeater, so you end up having one repeater displaying the categories and another displaying the subitems. This may not be the best way to do this but It did solve my problem;<table width="100%" cellpadding=0 cellspacing=0 > <asp:repeater id="repCategories"...Last Updated:Thursday, September 02, 2010By:alfero#

HtmlEncode and HtmlDecode

Very handy functions for making user input safe.1) Add ValidateRequest="false" to the page declaration of your asp.net page2) Encode the input before saving it by using HttpUtility.HtmlEncode3) On the page that has to display the content, use HttpUtility.HtmlDecodeLast Updated:Thursday, September 02, 2010By:alfero#

Modal Dialogs in .NET [Windows Forms]

The article Building Windows Applications in VB.NET on InformtIT.com explains extensively how to work with modal dialogs in windows forms.1) You can create a Form variable in the dialog that you use to reference back to the calling form and you set it before showing the dialog, for example: frmDialog.Caller = Me2) You can use properties in the dialog to set its variables before showing, then...Last Updated:Thursday, September 02, 2010By:alferoSource#

Modal dialogs in .NET

A comment by Szymon Kobalczyk on this thread explains how to show modal dialogs in asp.net.I did this just last week. I had a little problem though: when you put aWebForm in a modal all postback or navigation will go to another, new windowinstead of the dialog. You can overcome this by puting the dialog inside ofa FRAME. So now I have a simple html page that I open in the dialog and thenit...Last Updated:Thursday, September 02, 2010By:alferoSource#

It turns out, you can get arrested for 'Borrowing' bandwidth

The debate is kinda hot, but who'd have thought that just logging into and unsecured network could get you fined over $800 and lose your laptop and get probation. hhmmm.... interesting.One commenter said, "Just because I do not put a fence around my yard does not mean you walk all over in anyhow you want."Last Updated:Thursday, September 02, 2010By:alferoSource#

Dynamically populating a template

I just thought about this.....I havent been putting this to good useDim myControl As ASCXControl = CType (LoadControl(strPathToASCXControl), ASCXControl)Last Updated:Thursday, September 02, 2010By:alferoSource#

Custom error tags in web.config

This is just for reference purposes. An article on wwwcoder.com explains pretty well how to handle custom errors and how other IIS errors that the ASP.NET handler will not catch can be trapped.Last Updated:Thursday, September 02, 2010By:alferoSource#

Programatically setting the page title in ASP.NET

Fabrice's Weblog explains how to use an HTML control to change the page time Comments on Doug Reilly's Weblog take it a step further by using user controls to write the whole headerI'm still looking for the most effective way to render templates on my page. hmm its a little too late though because .net framework v2 already has most of these things taken care of. It does hurt to know I guess.Last Updated:Thursday, September 02, 2010By:alferoSource#

Failed to load viewstate. The control tree into which viewstate...

I ran into a snag today.. I had a form with two text boxes, a dropdownlist and a HTML file control. Each time the form posts back I get this error:[HttpException (0x80004005): Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the...Last Updated:Thursday, September 02, 2010By:alfero#

Dropdownlist and its ViewState

All controls on my form seem to persist their values when the page posts back except the dropdownlist. Even the even seems to not properly fire. Ofcourse I googled and found some interesting concerpts including one comment from Jason Olson's blog which suggests using the request object to restore the selected item. Here goes the code:ddlOptions.SelectedValue = Request.Form("ddlOptions")Real...Last Updated:Thursday, September 02, 2010By:alfero#

Mac-mini knockoff to debut this month

rear-mounted 2 x USB 1 x FireWire ports, built-in Ethernet, DVI connection, optional 802.11b/g and Bluetooth modules (for the same $499 price tag when configured with XP, no less) Optional Linux configuration Pentium M (2.26 GHz?), DVD burner additional S-Video, component, and composite connectors Obviously Mac users cry fowlLast Updated:Thursday, September 02, 2010By:alferoSource#

(Just for fun) Wonderments

Why is it that when you give someone "a penny for their thoughts," they give you their "two cents worth?" What does it mean when you see an "end speed limit" sign? Can you go as fast as you want? Why does "speed zone ahead" mean you're going to have to slow down? Why are they called "apart"ments when there's always...Last Updated:Thursday, September 02, 2010By:alferoSource#

Sony DRM hacks your PC

[Excerpt from engadget.com]Mark Russinovich of SysInternals did a detailed analysis of a “rootkit” (their word, not ours) he found on his PC, and discovered that, not only was it surreptitiously installed when he played a protected CD, but it also hogged system resources and integrated itself into Windows so deeply that uninstalling it disabled his CD drive. Mark’s conclusion? Choice words...Last Updated:Thursday, September 02, 2010By:alferoSource#