Hi ,
I have to develop a program which continusouly contacts the server and checks the link status and reports the update.
Pl. tell me as to how to proceed in this regard.
raghu
Hi,
I am trying to use Id property of Process.I am saving the Id's to the DataBase.I am doubting that if the Process id is reused by the System then my code which gets the id from the DB wont work..
Can I rely on this property ..Will the reuse be for some other process?
Help me
Hi,
I created a Windows Service.But I am not able to Debug it.
Pl. let me know as to how to debug a Windows Service.
The MSDN doesnot have much material on this.
regards,
raghu
Hi,
I am debugging an application which spawns 2 threads in C#.
Both the threads try & get sql connection to a DB and insert some records in to DB.
The Problem is when I run the application the second thread is throwing an exception which states that the SqlConnection is already Open.But the...
Hi,
I have a form in a Dll. I have added that Dll Project to my application as a refernce.When I create an object of that form and call showdialog on that form the Form.Load event is not getting fired.Hence whatever code is there in that is not executing....ANy help ...in C#
Rgds
Hi,
I have added a new form to a project in c#. I have put few controls on that form. Now I want to see how the form looks like at runtime.
How can I do this...for a dialog there is TestDialog using which I can test the designed dialog,hou about the designed Form.
Rgds
In the Key Down event of DataGrid, code for the selection of the whole row is present
this.Select(new row)
. But only the cell is getting highlighted and the row is getting unselected. How to enable the selection of the whole row?
How do you create a horizontal data grid splitter just like in Excel? We are using Visual C# language for development. I saw the explanation mentioned in the forum. That explains using VB. The split option mentioned in VB is not available in C#.
Hi,
When I try to use a class defined in a dll i am getting the following exception.Any help appreciated...
Exception System.TypeLoadException: Could not load type MyNameSpace.MyType.MyContext from assembly MyType, Version=0.0.0.0, Culture=neutral, PublicKeyToken = db1d5baf3e94d1d8.
MyContext...
Hi,
Can I declare a class as a static Class...
Also Can I declare a member of a class as a static class variable..
I want to do something like this..
class test
{
};
class test1
{
public:
static test myTest;
};
Any IDEAS appreciated....
Hi,
I wanted to know how can i get the results and the state object in Asynchronous thread programming in C#.
I have a delegate which has a Callback method.But I want to post the result & state of the Asynchronous thread to the parent thread.
Pl. provide me with some sample code also.
Regds,
raghu
Hi
I have to search for newline character in a string and remove that newline character and copy the string which is on the right side of the newline character to another string.Can any one tell me which are correct functions to use.
Raghu
Hi,
I have to parse a few strings in C#. The strings are AlphaNumeric.i.e. they contain characters and numerals.
I want to pick only the numerals in the string.
is there any way to do it???
ex: string MyStr = "ragh1210";
I want to extract 1210 from the above.How can this be done...
Hi ,
I am facing the following problem.Help of any sort is heartily appreciated.Here goes the Problem...
I am executing a piece of code which is supposed to spawn few child threads and wait for the child threads to join the parent.After a single child returns with some error code the parent...
Hi,
I have a Clist which contains one more list.I need to delete the member in the inner List using the positions stored.I do the following,but i am getting a crash.Pl. help me to find a soln.below goes the code.
pos1 = List1.GetHeadPosition();
HeadPos = pos1;
node = List1.GetNext(pos1);
pos2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.