Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements


PerfectPhase PerfectPhase "This is not war, this is pest control!" - Dalek to Cyberman
  • I can't connect to my "​original&qu​ot; IP address

    Spitfire15 wrote:
    Tyler Brown wrote: Can you give a little more information? Are yo behind a router? What network address are you talking about, and what do you mean when you say 'original IP'?


    First router is a BT Voyager 205 ADSL Router, which used to connect to the original IP address, without another router.

    So you mean 'original' = public IP address allocated to you by your ISP?

    Spitfire15 wrote:

    Second Router is the Actiontec Wireless Router. This is what the "another router" is. This just connects using a network address rather than my original IP.

    By 'network' you mean a private address arange as in RFC 1597 as noted above?  This is just a internal range to you home network as it is never directly connected to the internet.

    Spitfire15 wrote:

    When you take out the Actiontec router, and have the BT enabled, it still connects to a network IP.

    The Actiontec router is most likly using NAT to share your 'original' ip address between multiple machines behind the router (doesn't matter that you may only have one connected).  When you connect to a site on the internet your PC sends data to the router, which then goes and gets it for you under its IP and returns the response to you.  As it was making the request for you, this is why sites like Whatsmyip still report your 'original' IP rather than your 'network' IP. 

    This is only an issue if you ever want to connect directly to you pc (behind the router)  in that case you have to start using port forwarding.  basically as you only have one really address and, say, ten internal ones, you have to tell that firewall that a certian port (say 80 for web) relates to a certain machine.  But that a whole other story.


  • Shell extension

    have a look at



  • What's needed to get started in Avalon / XAML?

    Install order went like this

    Vs2005 beta2
    Avalon/Indigo Beta RC runtime
    WinFx Beta RC SDK

    then it all works, apart from most of the samples on the web do not compile due to framework changes.

    Also if you intall indigo, it seems to break you ability to import web references if thats import to you.

    This is also a very good link, will tell you what works with what.



  • What's needed to get started in Avalon / XAML?

    keeron wrote:
    This may sound like a stupid question, but here it goes:

    What tools (baselines) do I need to be able to compile and run code written in Avalon and XAML?

    I know that Visual Studio 2005 Beta 1 and Avalon SDK work. The Visual Studio Beta 2 does not work (found this the hard way). The other sad thing is Visual Studio 2005 Beta 1 has expired (again, found this the hard way after reinstalling - earlier had the beta 2).

    You can see how desperate I am to get started on Avalon and XAML Smiley

    I have the .NET framework 2.0 installed (since I use Monad/MSH). Is this enough (along with the WinFX/Avalon SDK)? If so, what's the best editor to use then?

    - Keeron

    Vs2005 Beta 2 and the Avalon Beta 1 RC work fine together.


  • Map a network printer in c#

    Anyone know how to map a network printer using c#?

    I have a webservice that needs to be able to print to a network printer and is running under the ASPNET account.

    I have found that you can map a network printer on a machine wide basis with the command

    rundll32 printui.dll,PrintUIEntry /ga /c\\machine /n\\machine\printer

    So I guess I could just add a PInvoke wrapper onto the printui.dll?



  • P2P and technology lose in our nation’s highest court

    This does not just affect P2P, all the apps like AnyDVD, DVDShrink, NeroRecode and the like will be in the firing line as well! 

    What about Linux, their reluctance to implement core DRM technologies in the platform clear show its intent is to create a platform to enable rampant piracy Smiley

  • Study Shows Windows Beats Linux on Security

    AndyC wrote:
    Define Admin access? Unlike *nix, Windows doesn't have the concept of a superuser. You can obliterate almost all of the rights and privileges assigned by default to Administrators. You can tweak NT permissions in the registry to prevent an Administrator from changing them and use Group Policies to enforce further restrictions.

    One way of which is just to rename the administrator account to something obscure and create a new administrator account with guest level access.  Let the hackers waste time breaking the dummy account.  Or watch with glee as the software testers try to work out what has happened in revenge for all the obscure bugs reports Smiley


  • C# Using Block - Another Question

    littleguru wrote:

    It's not correct, because you get a compiler error if the object does not implement IDisposable.

    Opps, yep, should have been as in Sven's and your post post.

    EDIT:-  Or not....  Smiley


  • C# Using Block - Another Question

    The whole point of the using block is that this..

    using (connection = new SqlConnection(...))
    // do some stuff

    it is short hand for...

    SqlConnection connection = null;
    connection = new SqlConnection(...);
    // do some stuff
    if (connection != null)

    so you can be guaranteed that your object will be cleaned up if it implements IDisposable.


  • Loading Images via SQL2000

    W3bbo wrote:
    dynamic image generation per request entails a massive performance overhead.

    It is far, far, better to perform all processing on an image upon being uploaded, although this does come at a slight disadvantage as far as disk-space is concerned.

    When doing something like this, I cache the generated files to the DB/disk on first request rather than when uploading.  I also tend to limit the image size to several common sizes, just makes the whole lot easier to manage, and you can cull older images from the cache and have them recreated as needed.