|
He is brilliant. But I think he was a harsh with you though.
--------------------------------------------------
|
|
|
|
|
You think we care, but we don't.
(This is directed at Mr BigShot)
Brad
Australian
- Bradml on "MVP Status"
If this was posted in a programming board please rate my answer
|
|
|
|
|
Since the OP's message was removed I don't get to see what all the extra fuss was about above and beyond the spamming aspect. I presume he made some derogatory remark towards Christian Graus.
|
|
|
|
|
Yeah, I'm curious as to what he said, too!
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi
I'm creating a C# program to measure differences between dates.
Ive figured out how to measure the difference between two dates using DateTime and TimeSpan, but is there any short cut way on how I will be able to measure the time elapsed with just weekdays? (meaning saturday and sunday will no longer be counted when measuring the difference)
thanks
|
|
|
|
|
Sorry, I don't know any shortcut, but it is not such a daunting task, you need only to take special care about the working days of the first and last weeks (that maybe partial) and keep the 5/7 of the remaining...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
i knew it wasn't going to be that easy.. haha
thanks for the help CPallini. :P
|
|
|
|
|
|
public static int GetWorkingDatesBetween(DtaeTime DateFrom, DateTime DateTo)
{
if(DateFrom.CompareTo(DateTo) >= 0 )
throw new ArgumentException("Invalid date ranges! DateTo should be greater than DateFrom");
int totalWorkingDaysElapsed = 0;
while(DateFrom.CompareTo(DateTo) != 0)
{
DateFrom = DateFrom.AddDays(1);
if(DateFrom.DayOfWeek == DawOfWeek.Saturday || DateFrom.DayOfWeek == DawOfWeek.Sunday)
continue;
++totalWorkingDaysElapsed;
}
retrun totalWorkinDaysElapsed;
}
Hope this helps...
|
|
|
|
|
Using C# program
=================
1.How to find where the data is sent whether to TCP/IP or UDP
2.How to find duration and size of data
Prakash
|
|
|
|
|
Prakash A wrote: How to find where the data is sent whether to TCP/IP or UDP
What do you mean? What data?
You decide how the data is sent when you establish the socket connection.
---
single minded; short sighted; long gone;
|
|
|
|
|
Asking over and over will only encourage people to ignore you.
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 )
|
|
|
|
|
When I voted you, I was sure it happened through TCP.
Press: 1500 to 2,200 messages in just 6 days? How's that possible sir?
Dr.Brad :Well,I just replied to everything Graus did and then argued with Negus for a bit.
|
|
|
|
|
Hi, I am drawing on a panel. Some rectangles and circles are drawn on the panel. Is it possible to print all the shapes?
|
|
|
|
|
Have you tried reading up the PrintDocument class..?
|
|
|
|
|
HOW TO FIND DURATION AND WHERE THE DATA IS SENT WHETHER TO TCP/IP OR UDP USING C# CODING
Prakash A
|
|
|
|
|
I DONT KNOW, CAN YOU SPEAK LOWER!!
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
there is 'yes' and 'no' two radio buttons for one property
and same radio buttons needed for another property
the problem is when i select one radio button other three are deselected
i have taken individual panels for two radio buttons then also same problem
so how can i group two radiobuttons for one property and another two radiobuttons for another property
Thanks in advance
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Place radiobuttons for one property on one groupbox and radiobuttons for another property on pther groupbox
|
|
|
|
|
I tried that but still getting same problem
please suggest me
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
I am interested in developing a small VOIP client using C#.
New to this area,a bloke told me of some one looking for a programmer who can do this.
Like to know where to start with and what are the facilities available in C# & .NET to support voip. Or do we have to use the telephony API for that? Can anybody lead me to some good documentaion/examples/code downloads related to this?
cheers
The nature of your experience depends on the nature of your view of things
|
|
|
|
|
try
voip-info.org
this is the best site u can get
|
|
|
|
|
Hi,
thanks for ur response,but site does not really help,can anyone get me atleast a site relating VoIP to .net.
And is there any Library in .net for use in VoIP.
cheers
The nature of your experience depends on the nature of your view on things
|
|
|
|
|
MyAdapter.Fill(MyDataset.MyTable.Select("Why the hell is it not accepting my select statement here??"));
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Because that's not a valid select statement. Seriously, show us what you put in to the select so we can have a look.
Deja View - the feeling that you've seen this post before.
|
|
|
|