Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Nathan Stiles

@Nathan Stiles
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows 8 won't support DVD playback
    N Nathan Stiles

    I have Win7pro and I can't play DVDs. What's the big deal?

    The Lounge html com tools

  • Object naming convention
    N Nathan Stiles

    I like to

    pub byte[] Encrypt(object aValue)

    where a is for argument I usually do this for class members

    int iVariableName

    string sVariableName

    byte [] byData

    sometimes ill append an 's' to arrays

    string [] sNames

    Common .net objects I like to turn to an acronym FolderBrowserDialog - fbd SaveFileDialog - sfd StringBuilder - sb Socket - soc or cli The result of a method is usually called result no matter what type.

    C# question

  • Create XML file with C#
    N Nathan Stiles

    How about using a serializable object as the datasource for the grid then serialize the object?

    C# csharp xml help question

  • how made a factor i c#
    N Nathan Stiles

    http://www.stimulsoft.com/ReportsNet.aspx

    C# question csharp

  • how to retrieve a single value from datatable
    N Nathan Stiles

    Login(id(int),EmailId(varchar(35),connType(varchar)) execute a scalar select connType from Login where id = 5 or select connType from EmailId where id = 'noone@example.com'

    C# csharp winforms tutorial question

  • Environment.CurrentDirectory and Multiple Page Requests
    N Nathan Stiles

    I'm using ASP.NET 4.0 working in VS2010 right now only debugging not moved to a real server. I have some code to set the working directory node by node. This handles paths longer than the limit.

    string[] dirs = targetDirectory.Split(Path.DirectorySeparatorChar);
    foreach (string dir in dirs)
    {
    string adir = "." + Path.DirectorySeparatorChar + dir;
    if (!Directory.Exists(adir))
    {
    Directory.CreateDirectory(adir);
    }
    Environment.CurrentDirectory = adir;
    }

    I'm seeing that when handling multiple requests the one request will write the cwd and the other request wil try to write too and they end up conflicting. I'm not really surprised. This does totally foil my plans for world domination. Can anyone suggest something? Locking an object until I begin file operations? Is there a setting in IIS to make separate processes? I really could use some help with this one.

    ASP.NET csharp asp-net sysadmin windows-admin help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups