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
  • Exchange as a POP client?

    Maurits wrote:
    Can't you get a dynamic-DNS client, and configure your mail address to @your-dns-name?


    The only down side to this is if your IP changes and there is a lag in the Dynamic DNS updating (DNS server caching etc) your mail will be delayed, and if another mail server gets your old address your mail will get delived to them instead, though the chances of this are slim.

    My Dynamic IP has been stable for almost a year now so it works better for some than others. 

    Stephen

  • Richard Grimes is dropping .NET

    Manip wrote:
    Yet you would be the first to (I need to watch my language) if you installation of "Shareware Software 1.0" was 26Mb in size.

    PS - 90% of the size of the framework could be removed with compile-time libs, the framework only needs basic (low level) operations and some wrappers. Having pre-written modules in EVERY copy of the framework instead of inserted into an application is just wastful when you consider how rarly some of this stuff gets used.


    But you only need it once, so the next .net app you download is 1mb.

    Java's runtime is up to 15Mb, and what's worse to me is I have several Java apps that have their own private copies of the runtime rather than one shared.

    Stephen.

  • Can't reopen VS project with website

    Simo wrote:
    ermm

    - Permissions
    - Faulty FrontPage server extensions?


    No, I can add the project to an existing solution, it only when I reopen the solution that I have issues.  If I create a new web project+solution from scratch I have no such problems.

    Stephen.

  • Can't reopen VS project with website

    I have a VS2003 solution that I have added an existing website project to.  All works well until I close the solution and reopen it, and I get this message

    ---------------------------
    Microsoft Development Environment
    ---------------------------
    Unable to read the project file 'VaxTagWeb.csproj'. The system cannot find the path specified.
    ---------------------------
    OK  
    ---------------------------

    I can then remove the broken reference and add it again and all is well until I close the solution!

    Anyone know what's causing it?

    Thanks

    Stephen.

  • Relative Url's and https

    Gravy wrote:
    OK, so things started off as though it would be simple, but ha. When is something ever simple?

    My web site uses forms based authentication. I have a few browseable pages in the vroot, then I have a Secure folder. This Secure folder is marked as requires SSL in IIS Admin.



    Disable the requires SSL in IISADMIN, it does not bounce you to https:// it just stops you dead in your tracks before the request even gets to the ASP.NET pipeline.  This I guess is the error you are seeing.

    The page must be viewed over a secure channel
    The page you are trying to access is secured with Secure Sockets Layer (SSL).
    --------------------------------------------------------------------------------

    Please try the following:

    Type https:// at the beginning of the address you are attempting to reach and press ENTER.
    HTTP Error 403.4 - Forbidden: SSL is required to view this resource.
    Internet Information Services (IIS)

    Stephen.

  • Relative Url's and https

    cpod wrote:
    Have a look at the following link, it might give you some ideas.

    http://www.codeproject.com/aspnet/WebPageSecurity.asp

    Chris.


    That's what I was about to suggest Smiley

    also you can build a new url from scratch something like this

    string Port = Request.ServerVariables["SERVER_PORT];

    if (Port == null || Port == "80" || Port == "443")

          Port = "";

    else

          Port = ":" + Port;

     

    string Protocol = Request.ServerVariables["SERVER_PORT_SECURE"];

    if (Protocol == null || Protocol == "0")

          Protocol = "http://";

    else

          Protocol = "https://";

     

    this.BasePath =  Protocol + Request.ServerVariables["SERVER_NAME"] + Port + Request.ApplicationPath;


    Also it appears you can use "~/folder/page.aspx" with server controls and <control instance>.ResolveUrl("~/folder/page.aspx") instead of resorting to
    HttpContext.Current.Request.ApplicationPath + "/folder/page.aspx"

    Stephen.

  • TcpClient or Socket Connect() timeout

    stefan.constantin wrote:

    I am looking into using threads now .. however while checking the socket they opereate on some variables so I have to lock { } then .. but for it to be efficient I have to use something like 20 - 40 threads at once and I have to look into the race conditions.


    The threadpool is very handy for tasks like this.  I have an app that collects status from many machines (some are off line and time out) and the thread pool makes the task really simple.

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


    Stephen.

  • Listbox to Listbox

    Use the SelectedIndexChanged event from each listbox to detect when the user makes a selection from the list box and re-bind the down stream listbox/textbox controls with the correct filtered data.

    Stephen

  • Outlook Mail Sync?

    WhiskyFudge wrote:
    It would be nice if there was an MS sync program for outlook or different machines on a network. Something like ActiveSync would be very nice


    It's called Exchange Smiley

    Stephen.

  • Instalation of own Windows Embedded Image

    Once you have built an image with XP embedded, it will generate an output directory that is your install.  Just copy that to the root of a freshly formatted harddisk and change your boot.ini to point to that partion and that should be it.

    The XP Embbeded (trail) tool expires after 120 days, I'm not sure what happens to the installed images, I don't think there is a time limit on them. 

    http://msdn.microsoft.com/embedded/howtobuy/default.aspx

    Stephen.