Entries:
Comments:
Posts:

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

Discussions

PerfectPhase PerfectPhase "This is not war, this is pest control!" - Dalek to Cyberman
  • [C#] Adding controls to a control at design time

    I just had a look in more detail at what I did.  Remember Reflector is your friend.  The class is in System.Design.dll.  The class you are really intreasted in is ParentControlDesigner

    Simple answer is inherit your control from panel directly, that will give you drag and drop support.  Other than that, have a look at this for ideas

    http://www.codeproject.com/cs/miscctrl/xpgroupbox.asp

    and

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsdesignparentcontroldesignerclasstopic.asp

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconEnhancingDesign-TimeSupport.asp

    Stephen

  • Codec Woes.

    Werid, I have the exact same issue on an old MPEG-1 video I encoded back in 2000, all the colour is washed out and the colour depth looks 8bit at times.

    I had just upgraded to the latest NVIDIA drivers and the above instructions solved it for me, Thanks!

    Stephen

  • Huge Exchange mailboxes

    Arran wrote:


    In outlook i think you can delete the recover items by going "Tools" -> "Recover Deleted Items.." and empty that.



    The deleted Items policy is enforced on the server, I think that the default is 30 day, there is no way for a client to force the deletion of these messages.

    If you really need to recover space you can set this down to zero and do an offline defrag, that should get all your space back but I don't really recommend that.

    Stephen

  • [C#] Adding controls to a control at design time

    You need to add a designer atribute, if your control just fuctions like a panel, I think you can use the System.Windows.Forms.Design.PanelDesigner otherwise youll have to write your own designer.

    Did something like this for an ASP.NET control some time back.

    Stephen

  • Networks under Windows Mobile 2003 SE

    Does anyone have a good link about how a WM2003 device connects to the network, I thinking of the dialing profiles, and how a network connects to 'Internet' or 'Work'

    How does it decide if a program is connectiong to the internet or private network, is it based on the RFC defined address ranges?

    I need to define a different proxy depending on what wireless access point I'm using, an hints on how to do that?

    A tad confussed at the moment...

    Stephen

  • 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'?


    Ok:

    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.

    Stephen

  • Shell extension

    have a look at

    http://www.theserverside.net/articles/showarticle.tss?id=ShellExtensions

    Stephen.

  • 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.

    http://channel9.msdn.com/ctpmadness/

    Stephen

  • 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.

    Stephen

  • 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?

    Thanks

    Stephen.