|
Sounds like you are taking very complex project... I just know that it must be way easier to develop that what you want as Windows application than ASP.NET + AJAX (this is answer to 3).
In any case, good starting point would be to see how existing editors work - I found this article && you can take a look at SharpDevelop which is open source IDE for .NET (source code on this link).
If you have more questions - shoot
|
|
|
|
|
Hello Every body,
I am trying to get get result in upto 2 decimal place like 25.87
but i m not able to do so.
If i get result lik dis 123273.83563736 then it should be stored in database like 123273.83 means it should be round off upto 2 decimal digit.
Regards,
Rahul
rahul saini
|
|
|
|
|
|
AOA:
i have gridview control which is getting data from some datasource.i want to replace one column data of gridview with my some other value in c#.
can anybody provide me the code for this.
Thanx
|
|
|
|
|
Handle the data binding event and replace the value as you want
only two letters away from being an asset
|
|
|
|
|
While going through collectios i came across a sentence which says.."An object is called collection if it is able to supply a reference to related object called IEnumerator"..can u please explain me what this sentence actually means..I have an idea of Interfaces.
|
|
|
|
|
Rahul83 wrote: I have an idea of Interfaces
Then you'd better find out what an interface is.
|
|
|
|
|
Rahul83 wrote: While going through collectios i came across a sentence which says.."An object is called collection if it is able to supply a reference to related object called IEnumerator"..can u please explain me what this sentence actually means
The sentence is incorrect in part.
The sentence would read better as: An object can be called a collection if it is able to supply a reference to a related object that implements IEnumerator .
The object calling itself a collection must also implement the IEnumerable interface. The IEnumerable interface sets up a contract that the object must have a method called GetEnumerator() which returns an object that implements IEnumerator
IEnumerator is used internally with in a foreach loop to get at all the elements in a collection.
This is still not the full story, but it does go some way to explaining what that sentence means.
|
|
|
|
|
Tahnks a lot for clearing my doubt..
|
|
|
|
|
How can i check, if an exe has a digital Signature/certicate like VerySign?
roepet01
|
|
|
|
|
...for VeriSign, you're going to have to pay for their SDK. They do not have a public API ...If you're interested, you might want to start by taking a look at VeriSign products for Developers
Welcome my son...Welcome..to the Machine
|
|
|
|
|
I've more than 24000 records and when i search them, it consume a lot of time and my application suspend for some about 5 to 8 seconds. Is there any way to boots up the access time of records in C# and SQL Server 2000.
As compare to vb6 Dot net is very lazy in record access.
Thanks.
Syed Shahid Hussain
|
|
|
|
|
Do the search on the SQL server with a stored procedure and create appropriate indexes.
|
|
|
|
|
Use asnychronous access.
only two letters away from being an asset
|
|
|
|
|
24000 records should still return quicker than 5 to 8 seconds - check the execution plan of your query in query analyzer.
|
|
|
|
|
Hello All,
I have a rather strange app that I want to keep visible in the taskbar at all times, even when the app is set to visible = false.
Thanks in advance for your time and help.
|
|
|
|
|
you can achieve it by overriding OnVisibleChanged. In overrided method, you can force to minimize whenever set visible to false
protected override void OnVisibleChanged(EventArgs e)
{
if(this.Visible == false)
{
this.Visible = true;
this.WindowState = FormWindowState.Minimized;
}
else
base.OnVisibleChanged(e);
}
|
|
|
|
|
A bit modification for my last reply ... you can achieve by VisibleChanged Event of form too!!!
private void Form2_VisibleChanged(object sender, EventArgs e)
{
if(this.Visible == false)
{
this.Visible = true;
this.WindowState = FormWindowState.Minimized;
}
}
|
|
|
|
|
Thanks MqPasta,
I've put it into my app and it did the job.
Thanks once more for your time,
Robert
|
|
|
|
|
Hello
I am able to get all the process running on my system. But i am not able to get all the process running on another system. I am getting an error i.e. couldn't connect to remote machine.
Reply me asap.
Thanks
Devesh Mishra
|
|
|
|
|
The account your code is running under doesn't have the permissions to get the process list or the account isn't recognized by the remote security authority.
|
|
|
|
|
Thanks for ur reply.
Now tell me also the solution. How i'll get the all the process running in another system.
Thanks
Devesh Mishra
|
|
|
|
|
The account your code is running under is not recognized by the remote system. Unless your code is running under an account recognized by BOTH systems, like if both machines were running in a domain environment, you can NOT get the processes of a remote computer.
This has nothing to do with your code, but a lack of understanding about how Windows networking works. If your running the code under your own user account, it means your account doesn't have the appropriate rights to the remote system.
|
|
|
|
|
Hi, I am developing TicTacToe in which i finished working functionlity where 2 people will play.
Now i want to add AI to my game what can be the best algorithm to do that. One more thing any piece of algorithm or any starting code would be very nice.
Now just a real question lets say
Player selected one box. Now its Computer turn. It has 8 possible moves how would you implement that can you give any idea in algorithm shape or Pseudocode please.
I would probably not write code to evaluate each state individually, I'd write a state evaluator that checked for winning moves, blocking moves, and then potential moves based on difficulty.
thanks
|
|
|
|
|
An obvious way is to write a system where it chooses moves randomly or semi randomly ( prefer the middle, then prefer the corners, etc, or whatever you think ) and remembers which moves lead to it winning. Obviously, some basic 'finish the row if I can win this turn' code also makes sense to have.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|