Search Results

Showing results 1 to 40 of 72
Search took 0.01 seconds.
Search: Posts Made By: DangerDev ; Forum: C# and child forums
Forum: C# Aug 13th, 2009
Replies: 2
Views: 349
Posted By DangerDev
you can do this by having a table(say login_detail) in server with column:
UserId, ClientSessionValue

When ever user login, store unique cookie(ClientSessionValue) in browser as well as in...
Forum: C# Aug 13th, 2009
Replies: 2
Views: 245
Posted By DangerDev
w3school (http://www.w3schools.com/SQl/default.asp) is good place for SQL to start with.
For Data Controls this...
Forum: C# Aug 13th, 2009
Replies: 2
Views: 245
Posted By DangerDev
Hi,
You don't need to master it, just try to know how it works, then you can go to silver light. As you face problem in silver light come back and know more. :)
Forum: C# Aug 12th, 2009
Replies: 4
Views: 241
Posted By DangerDev
What exception it is throwing?
How do you know its not working?
Forum: C# Aug 12th, 2009
Replies: 5
Views: 856
Posted By DangerDev
Even i have not seen such claim, but i tried and was talking about result.
Forum: C# Aug 12th, 2009
Replies: 5
Views: 856
Posted By DangerDev
It seems this method doesn't support ico file. I tried with .bmp files, its working fine.
Forum: C# Aug 11th, 2009
Replies: 10
Views: 711
Posted By DangerDev
Based on what information you want to add child nodes?
Can you explain more about why you want to do this, this will help us to provide better solution.
Forum: C# Aug 11th, 2009
Replies: 3
Views: 314
Posted By DangerDev
could you please tell, what you have configured and which user you have added?
Forum: C# Aug 11th, 2009
Replies: 3
Views: 314
Posted By DangerDev
Its is security related problem.
You need to give com permission to user who is trying to access your page.
For this go to:
1. Control Panel->Administrative Tool -> Component Services. (click...
Forum: C# Aug 11th, 2009
Replies: 10
Views: 570
Posted By DangerDev
I dont think any one will give you complete code. You first try your self and then ask question, if you face any problem.

The solution adatapost has given in mentioned post, is a way to solve the...
Forum: C# Aug 11th, 2009
Replies: 1
Views: 248
Posted By DangerDev
Did you see this (http://www.google.com/search?hl=en&safe=active&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&q=creating+non+rectangular+form+in+window&aq=f&oq=&aqi=) ?
Forum: C# Aug 10th, 2009
Replies: 14
Views: 484
Posted By DangerDev
you mean to say, your screen saver should start on mouse move or on keyboard press, is it?
if so, then sorry to say, its not screen saver. You should probably reformat your question.
Forum: C# Aug 10th, 2009
Replies: 14
Views: 484
Posted By DangerDev
you want to build an application which behaves like screen saver.
or
you want to build a screen saver with some extra capability.
???

what is the problem with this...
Forum: C# Aug 10th, 2009
Replies: 7
Views: 804
Posted By DangerDev
Simple way will be to fill the data in to DataTable and simply set DataSource property as table:

DataTable table = new DataTable();
//fill the table with data
dataGridView1.DataSource = table;
...
Forum: C# Aug 10th, 2009
Replies: 2
Views: 372
Posted By DangerDev
Hi,
I have following suggestions for your problem:
1. In private void dinle(), use finally block where close the socket and release other resources.
2. Whenever you are closing application there...
Forum: C# Aug 10th, 2009
Replies: 7
Views: 804
Posted By DangerDev
Some suggestions:
==============
1. Use data grid for it.
2. First divide number.
3. Fill it in data grid.
Forum: C# Aug 10th, 2009
Replies: 14
Views: 484
Posted By DangerDev
Forum: C# Aug 7th, 2009
Replies: 6
Views: 624
Posted By DangerDev
I think you should start new thread for such question. but before this search in this forum regarding your problem.
Forum: C# Aug 7th, 2009
Replies: 7
Views: 390
Posted By DangerDev
on DataReceived event you can do timer.Start() or timer.Stop(), what ever you want. Did you asked this?
Forum: C# Aug 7th, 2009
Replies: 18
Views: 554
Posted By DangerDev
@ adatapost thanks for mentioning my mistakes. :)

regarding StreamWriter from msdn: "StreamWriter defaults to using an instance of UTF8Encoding unless specified otherwise."
so i think it would...
Forum: C# Aug 7th, 2009
Replies: 18
Views: 554
Posted By DangerDev
if you have to create a file then you should not use:

StreamWriter oFile = new StreamWriter(@"C:\Users\fjones\Documents\Visual Studio Projects\bin\Debug\output.txt");
[code]
instead use this:...
Forum: C# Aug 7th, 2009
Replies: 4
Views: 395
Posted By DangerDev
Its not a good idea to have source code sent via email. Please answer everything here in this community, let others also learn. :)
Forum: C# Aug 6th, 2009
Replies: 5
Views: 340
Posted By DangerDev
The link i have is given is good to start what else you need?
Forum: C# Aug 6th, 2009
Replies: 5
Views: 340
Posted By DangerDev
wpf (http://en.wikipedia.org/wiki/Windows_Presentation_Foundation)
wcf (http://en.wikipedia.org/wiki/Windows_Communication_Foundation)
wwf (http://en.wikipedia.org/wiki/Windows_Workflow_Foundation)
Forum: C# Aug 5th, 2009
Replies: 9
Views: 452
Posted By DangerDev
Then you need to learn javaScript, Ajax, Comet.
you should also need one server side scripting language like PHP,ASP or JSP.
Forum: C# Aug 5th, 2009
Replies: 4
Views: 258
Posted By DangerDev
create the object where you want to use it.
tell some more about class.
what actually you want to do with class?

you can put the code in any event or form load etc.
Forum: C# Aug 5th, 2009
Replies: 10
Views: 523
Posted By DangerDev
What is the error coming?
What actually you want to do with data after serialization?
Forum: C# Aug 5th, 2009
Replies: 9
Views: 452
Posted By DangerDev
First thing you have to decide is whether you want to make it web based like gmail one or desktop based like communication or net meeting.
Forum: C# Aug 5th, 2009
Replies: 10
Views: 523
Posted By DangerDev
Just take the item of listview in a array and the serialize it.
Forum: C# Aug 5th, 2009
Replies: 10
Views: 523
Posted By DangerDev
Hi,
See this (http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=236) and this (http://www.switchonthecode.com/tutorials/csharp-tutorial-serialize-objects-to-a-file).
Forum: C# Aug 5th, 2009
Replies: 2
Views: 241
Posted By DangerDev
Hi
Do this:

if (e.KeyChar == (char)Keys.Enter)
{
//do something
}

inside textBox1_KeyPress function
Forum: C# Aug 5th, 2009
Replies: 9
Views: 452
Posted By DangerDev
if you want to develop in in c# and window forms, You need to develop one server and client. you can use XML as communication mechanism between client and server.
Forum: C# Aug 5th, 2009
Replies: 9
Views: 452
Posted By DangerDev
What you have done so far?
Post here the problem you are facing.
If you want to start from scratch this...
Forum: C# Aug 5th, 2009
Replies: 6
Views: 624
Posted By DangerDev
I hope this (http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx) and this (http://www.c-sharpcorner.com/UploadFile/pravinjr/106122008002100AM/1.aspx) will help you.
Forum: C# Aug 2nd, 2009
Replies: 3
Views: 467
Posted By DangerDev
Hi,
There are many ways to get the control on a form say Form1 in another method. Based on your need you can use one.
1. You can declare the control definition public, which is private by default...
Forum: C# Aug 2nd, 2009
Replies: 2
Views: 155
Posted By DangerDev
Hi,
You have to use probability related formula to calculate probability. For that you need to formulate the mathematical model of your problem.
Also read about Monte Carlo method...
Forum: C# Jul 31st, 2009
Replies: 7
Views: 257
Posted By DangerDev
Dividing means dividing the big (complex number) struct in to several other classes. Or I should say regrouping all your methods in to several classes.
I am sure you wont use all of the methods at...
Forum: C# Jul 31st, 2009
Replies: 3
Views: 422
Posted By DangerDev
Hi,
Simply user XmlDocument and its method LoadXml().
You can find example code here (http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.loadxml.aspx).
Forum: C# Jul 31st, 2009
Replies: 7
Views: 257
Posted By DangerDev
What about creating a small complex number struct and dividing methods around it in different classes?
Forum: C# Jul 31st, 2009
Replies: 4
Views: 370
Posted By DangerDev
I dont think you can do this. Whenever you read some thing from stream you actually move the reader's position in the Stream. This will happen even if you use StreamReader. So if you have read the...
Showing results 1 to 40 of 72

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC