Software Development Network Logo
  • Windows Forms
  • VS Team System
  • Audio and Video
  • .NET Development
  • Visual C#
  • IE Development
  • SQL Server
  • Visual FoxPro
  • Windows Vista
  • Smart Devicet
  • Visual Basic
  • Microsoft ISV
  • Visual C++
  • SharePoint Products
  • Visual Studio

Software Development Network >> .NET Development

.NET Development

New Question

Remote WMI data gathering without username and password
Profiling and inlining
DirectoryEntry's CommitChanges() gives "The server is unwilling to process this request" 0x80072035
How to change the application priority
FtpWebResponse downloads images unreadable
Is it possible to enumerate modifiers?
Wireless Access Point Detection
Performance: Release vs. Debug Builds
ContextSwitchDeadlock, debugging CLR errors, addresses?
XMLDataSource with cross-domain

Top Answerers

Ian Vink
Helen999888
lidiya
Alex_UTL
DudleySoft
Ashish Sh
LarkinAtTheBar
Andrew Lytchev
ivanchain
Mike_in_NC
sitemap
Only Title

Answer Questions

  • Thomas Li problem in client/server application

    Hi every one, I developed a client/server application . client connect to server correctly if both are under the same router (in the same Lan) , but the problem arised when the client and the server arenot in the same Lan they cant connect together. I checked the router configration ,it was correctly setup. please if you have expirense in this problem help me. Thanks for reading my message------------ I tried it , but still not working bola shokry wrote: I think , you dont read my message carefully I said : I configured my router and the problem still exist. any way thanks RizwanSharp. if you have any other help please tell me tha ...Show All

  • Son_seph14 XmlArray

    hi, I have a base class Vehicles. Classes TwoWheelers and ThreeWheelers are derived from vehicles. I'd like my output xml file to be like <vehicles> <twowheelers> <name>motorcycle</name> <name>scooter</name> </twowheelers> <threewheelers> <name>motortricycle</name> <name>atuo</name> </threewheelers> </vehicles> I have the serializing class which has the a single array of vehicles class SerialzingClass { // i can have only one list of vehicles [XmlArray("Vehicles")] [XmlArrayItem(typeof(TwoWheelers),ElementName = "TwoWheelers"), XmlArrayItem(typeof(ThreeWheelers), ElementName = "ThreeWheelers& ...Show All

  • JudyX Memory consuming during BinaryFormatter Deserialization

    Hi, I have a problem and I need your help please, I have made a large aplication that takes a very long time to generate the results, so I have serialized the intermediate results periodically in a binary files using BinaryFormatter in order to save it from any suddenly problems like shutdown or restart. Now I need to Deserialize all saved files to continue my work. The size of the saved file is about 6.5 GB devided into about 260 files. When I try to deserialize it one by one, the first three files were deserialized in about one or two min. , and then the speed is very slow down, and the memory is fully consumed. I think that when the reading process starts the memory begins free and it then filled out with each reading ...Show All

  • kawano1h Application Cached HTTP Connections

    I have an HTML scrape DLL that is called concurrently to gather info. The DLL uses the following code to fetch a login page : Uri UriCon = new Uri("https://someloginpage.com"); HttpWebRequest Request = (HttpWebRequest) WebRequest.Create(UriCon); Request.Timeout = 20000; Request.CookieContainer = new CookieContainer(); Request.Accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*"; Request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"; Request.Headers.Add("Accept-Language:en- au"); ...Show All

  • Daftspaniel C# Regular Expressions confusion

    Hi everyone, I'm writing a client for the Cyan Chat protocol (http://cho.cyan.com/chat) and all of the usernames are sent to the client as: X[username]|^1Text The X prefixing the username is a colour code. Currently I can print out what users say in my richTextBox, but I need a regular expression to find and locate all usernames between brackets. I have the code to colour the names, I just need a regex to find them. I spent most of yesterday searching for Regex help, and testing it, but nothing that I've tried has seemed to work. I'm hoping someone here will have some expertise with Regular expressions and can tell me how to do this. Thanks in advance, Darryl I'm not a pro with Regex although I use it. ...Show All

  • Sami Karaeen HTML

    Hello Is it possible to send Email from a HTML Page. i have a table in that HTML Page,i need to print that particular table.is it possible to do. Thanks in Advance. suppose my mailId is info@Myname.com <a href=" mailto:info@Myname.com "> MSDN</a > AngnaT wrote: suppose my mailId is info@Myname.com <a href=" mailto:info@Myname.com "> MSDN</a > This would open your default email program like MS Outlook. here u hv several ways frnd..by chnging cgi . http://www.cmu.edu/computing/documentation/web_mailto/CGIMailTo.html or if u want HTML format mail ..visit . ...Show All

  • Muhsin Zahid U&amp;#287;ur watch training videos like VB.NET , C# , ASP.NET , SQLSERVER AND LOT LOT.......

      www.shamirza.cjb.net   click to see...the videos. click hear........:) Shamirza wrote: click to see...the videos. click hear........:) cool. . ...Show All

  • .net sukbir Returning Exceptions with ExecuteScaler from RAISERROR in a SQL Proc

    I am experiencing that I am not able to return an exception from a stored procedures that I call using ExecuteScaler if my select statement is before the RAISERROR statement. I do understand that if I use ExecuteReader I have to perform a reader.NextResultSet to get an exception to fire. This is working fine. Is there any way at all to return an exception with ExecuteScaler(after the select) or is this not possible. I'm looking for the answer so I can avoid using this method entirely and move to using a reader. Is using a reader and calling NextResultSet the next best option if I want to ensure all exceptions get returned and have good performance even if it is only returning one value I'm assuming this will perform bett ...Show All

  • Superobotz Problem with decrypting DES encrypted files with C#

    I have tried to use the example program available in msdn help to VS 2003 C#, DesCryptoServiceProveder class, to decrypt DES encrypted files encrypted by a Amtrix broker. I constantly get Exceptions (Unvalid data). When I rewrote the routine to read the file bute by byte. It created a decrypted file where the middle of the file was correctly decrypted, but the beginning was not. The end of the file was incomplete, and the .Close method of the CryptoStream threw an Exception message=Unvalid Data. What am I doing wrong Hi, can you please post the complete error message you see. -- SvenC Thanks for responding! The thrown exception is no more than "Invalid ...Show All

  • kfsoft Xpath Expression with XpathNavigator.Select vs XmlDocument.SelectSingleNode

    Hi. I have an xml file with proper namespace and schema. I have an xpath expression that I have tested on the document in xmlspy (xpath 1.0 or 2.0) which returns a single node element. If I load the file into an XmlDocument and apply the expression with SelectSingleNode, I get the proper element value back. If I use XpathNavigator.Select on this file, which I understand, returns a node set, (even though the expression can only match a single node), I get the inner xml of all the nodes in the file (3 values). I am properly using the XmlNamespaceManager in each case. With the Xpath navigator, I have moved to root initially, before doing the select. Does anyone have any ideas why the XpathNavigator is returning strange resu ...Show All

  • torick Check witch eventhandler

    I have a button where i use two event handlers and i choose between them this .button.Click -= new System. EventHandler ( this .button_event1); this .button.Click += new System. EventHandler ( this .button_event2); How can i find witch event handler is connected with the control; Thank You. You can't that information is private to the button control. ...Show All

  • Jens Fuessler Compiled Regexs on 64bit are very slow

    If I make a Regex object with a very large (but simple) expression, then setting the RegexOptions.Compiled option makes the regex take a very long time to execute (the first time at least). When I construct my object: BfMatch = new Regex(String.Format("^ ({0}) +(.*)",type_befores)); The code executes fine, but if I change it to: BfMatch = new Regex(String.Format("^ ({0}) +(.*)",type_befores),RegexOptions.Compiled ); Then when I later do: BfMatch.Match("short string"); It takes a very long time to execute The string I am using to construct the Regex is below. Can anyone else reproduce this My assembly is built for .Net 1.1 (ie, in VS2003) but is being called from an application built in VS2005. Regards D ...Show All

  • Can-Ann Netframework 1.1 and 2.0

    I am just a normal everyday home user that downloaded netframe 2.0. I have 1.1 and the hot fix for 1.1 on my pc. Do I need 2.0 on my machine When I go to control panel under "administrative options" everything is 1.1. I plan on upgrading to Vista soon so I was wondering if I was going to need it then. The other question is why does "admin. options" still just have 1.1 Thank you for your help in advance Tim shockley stepsx12@yahoo.com How do you change the class With the .Net framework it will still use the older classes, if a class was not changed with the new release it will use the older version, so use you will need the 1.1 system as ...Show All

  • BitShift referencing parameter list

    Layout: I have a method that requires 10 different string parameters. Question: Does .NET store the parameter list in an object that I can use to loop through instead of referencing each one individually from inside the method There is another way to get what you want, and that's the params keyword. It is designed to pass a variable number of arguments to your method (think for instance of Console.WriteLine), but I guess it could help you. Example: public static void MyMethod (parms string [] arguments) { foreach (string argument in arguments) { Console.WriteLine (argument); } } and here is how you get to call it: MyMethod ("one", "two", "three&qu ...Show All

  • Cybersurfer How to retry last statement in try{}catch{} block?

    Hi, I have following code try{ Someobject.Execute() } catch (SomeException) { } I'd like to retry Someobject.Execute in case SomeException is thrown, how can I do that I want to return to back to Someobject.Execute() if exception handled. Put it inside a loop. Something like: for (int ix=0;;++ix) { try { Someobject.Execute(); break; } catch (SomeException) { if (ix > MAXTRIES) throw Exception("I give up"); DoSomethingToMakeExecuteWork(); } } It is handled when it executes through the catch {} block. ...Show All

303132333435363738394041424344454647

©2008 Software Development Network

powered by phorum