Forum: C# Jul 18th, 2009 |
| Replies: 6 Views: 854 Thread t = new Thread(new ThreadStart(this.YourFunction));
t.Start();
Above code will start the execution of function YourFunction(). You can consider that function as the entry point of a new... |
Forum: C# Jul 11th, 2009 |
| Replies: 5 Views: 485 https://gmail.com did not throw the exception.
public static string FetchURL(string url)
{
const int bufSizeMax = 65536; // max read buffer size conserves memory
... |
Forum: C# Jul 9th, 2009 |
| Replies: 17 Views: 1,104 Which type of logon does your service use? User, Local System, Network Service, Local Service? |
Forum: C# Jul 6th, 2009 |
| Replies: 1 Views: 266 I am developing one multithreaded application. I am successfully running my functions on their own thread(created 24 threads already). I am attempting to give its own thread to one function that is... |
Forum: C# Jul 6th, 2009 |
| Replies: 6 Views: 485 Develop a php page that returns a plain text string. And then request that URL in C# windows application using webrequest class.
Sample code is here:... |
Forum: C# Jun 26th, 2009 |
| Replies: 16 Views: 549 We are not able to understand your concern. Please elaborate your problem in detail so that experts here can assist you. |
Forum: C# Jun 24th, 2009 |
| Replies: 0 Views: 694 I am trying to change the windows user password using windows application and windows service. I am using the below code. This works fine in my Windows XP machine under which I develop my... |
Forum: C# Jun 16th, 2009 |
| Replies: 2 Views: 734 You can easily fetch the html content of the any URL into the string using the string builder and webrequest .net classes. Refer this link for the sample code.
... |
Forum: C# Jun 15th, 2009 |
| Replies: 6 Views: 351 Constructors are used to initialize the objects once they are created. Constructors are always public and do not have any return types. you can overload the constructors according to the number and... |
Forum: C# Jun 14th, 2009 |
| Replies: 16 Views: 886 Store a string in a string variable and then use this code.
string todelimit="";
string[] sep= {","};
string[] stringarray = todelimit.Split(sep, StringSplitOptions.None);
string... |
Forum: C# Jun 14th, 2009 |
| Replies: 3 Views: 1,042 C# get and set are accessors and are used in Indexers and Properties. These allows to set or fetch the value stored in the private class members. Refer... |
Forum: C# Jun 11th, 2009 |
| Replies: 21 Views: 12,036 There is no OS developed in C#. However, Vista may have started using the framework for other utilities. All major OSes including windws and linux are developed in C. To confirm, try to download and... |
Forum: C# Jun 11th, 2009 |
| Replies: 2 Views: 458 Garbage collection is the most powerful feature of the automatic memory management. You do not need to take care of the mumbo jumbo of creating and then destroying the objects. GC runs indefinitely,... |
Forum: C# Jun 11th, 2009 |
| Replies: 3 Views: 433 There is nothing to do with https and SSL. in C#. All these are server side stuffs. If any domain is installed with SSL certification then that domain can be accessed by https. You need to have... |
Forum: C# Jun 11th, 2009 |
| Replies: 16 Views: 886 You can read read the whole set of data returned by the SQL query row by row if you use OleDbDataReader.
You select a row, get the string from the required column and then split that string in... |
Forum: C# Jun 11th, 2009 |
| Replies: 2 Views: 624 In DAL, you can use multiple connection strings dealing with more than one databases. Can use more than one connection, command, etc objects. I have already dealt with 1 MS ACCESS and 2 MYSQL... |