I have Win7pro and I can't play DVDs. What's the big deal?
Nathan Stiles
Posts
-
Windows 8 won't support DVD playback -
Object naming conventionI 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.
-
Create XML file with C#How about using a serializable object as the datasource for the grid then serialize the object?
-
how made a factor i c# -
how to retrieve a single value from datatableLogin(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'
-
Environment.CurrentDirectory and Multiple Page RequestsI'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.