|
|
Thanks Simon,
Fiddle is good, but can only monitor IE http traffic. I want to monitor some specific application's traffic. Any comments? Could Fiddle do this or any other recommendations for this goal?
regards,
George
|
|
|
|
|
Fiddler can monitor non IE traffic. Think you have to set your app to send it's data through a specific proxy address which fiddler will monitor and forward on.
There's a bunch of stuff in the help docs on their website. Look for the bits on configuring fiddler for .net apps.
(Or try the other suggestions. Maybe wireshark does what you're after, I've never used it so I'm not sure.)
Simon
|
|
|
|
|
Thanks Simon,
Which API could be used to send Http traffic through a proxy?
regards,
George
|
|
|
|
|
|
|
|
I told G_G about this app a few days ago. I wasn't going to suggest it again
|
|
|
|
|
Thanks J4amieC,
What do you mean you will recommend?
regards,
George
|
|
|
|
|
I only get viduo from webcam....
How to get audio from webcam in C#??
any C# code??
Thanks!!
|
|
|
|
|
You're going to get it as a stream from DirectX, same as the video, if the webcam has an audio stream.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi All,
Regarding this C# statement:
CodePrimitiveExpression stringPrimitive = new CodePrimitiveExpression("Test String");
System.Console.WriteLine(stringPrimitive);
the output will be "Test String", is there anyway that i can get rid of the double quotes, so the output can only be:
Test String
instead of
"Test String"
Many Thanks
Andie
|
|
|
|
|
Did you actually try it?
This code:
CodePrimitiveExpression stringPrimitive = new CodePrimitiveExpression("Test String");
System.Console.WriteLine(stringPrimitive);
Outputs this:
System.CodeDom.CodePrimitiveExpression
This code:
CodePrimitiveExpression stringPrimitive = new CodePrimitiveExpression("Test String");
System.Console.WriteLine(stringPrimitive.Value);
Outputs this:
Test String
No quotes, see.
Is that what you want?
Simon
|
|
|
|
|
Hi guys
Does anybody know what the equivalent function is for ldexpl in .Net?
ldexpl is from math.h in C++, but I want to use it in .Net.
Thanks
|
|
|
|
|
If you could tell what is the usage of that function perhaps i could help you
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
I just googled and found that it is for loading exponents.
Solution is
Math.pow(base, exponent)
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
hi,
(this is only a design issue).
In a particular form i load pictures to a picturebox from a Database
(or when uploading with browse).
That picturebox is inside a panel.
The picturebox as the sizemode propriety set to AUTOSIZE (remember this).
What i want is to center the picturebox inside the panel!!!
It looks simply right?
I got width and height of both panel and picturebox and did the math,
but ... because it is AUTOSIZE, couldn´t center it because i got width and height of the picture original size(the one i load in picturebox)!!!
I can´t get the width and height of the picturebox when AUTOSIZED in order to center it
Want is the propriety to get width and height of AUTOSIZED pictures???
Thanks
|
|
|
|
|
There is none. Autosized means the control is redrawing your pic at the size it wants to.
To get that sort of control, you should draw the pic yourself.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Can't you just dock the picture box in the panel, and let the picture box center the image?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
How to Link a specific word in a text box ??
background
in an Oxford Advanced Learner's Dictionary - 7th edition
you will found that if you searched for word in the discription area
some words are bold or colored a different colors and if you hover those word a popup message will appear with the short meaning of the word and if you click it it will change the search word into that clicked word
Soo please i Really want to know How to make it???????
is it possible in windows application or i must use web pages techniques?
|
|
|
|
|
|
I have a CLR UDF that I created a while back and I could debug it locally and remotely. However, I can no longer debug, or step into, it at all. In the output window in VS it says that the attachment succeeded, but, it never makes it to the break point in test.sql or any other break point. I have checked and rechecked the properties and all is in order. I know I haven't changed anything. I also followed a simple tutorial from the web (a couple of them) that don't do anything but return a string saying "hello", and the same problem occurs.
Funny thing to mention is that I was having the same problem yesterday, but it would work off and on. It worked three different times but doesn't seem to want to work at all now.
I have also deleted the binaries and redeployed and that doesn't seem to work either.
|
|
|
|
|
In my DataSet, I have a field called "ADMISSION_DATE" in the format of DateTime, which upon displaying in my Report showz up as, lets say, "08-29-08 12:00:00".
3rd Line displays the Date (08-30-08) as required but 4th line displays it as DateTime (08-29-08 12:00:00).
But I want only the date thing (i.e. 08-29-08). And in dataset I don't see any direct DATE conversion methods. Please help.
row["ADMISSION_DATE"] = DateTime.Parse(row["MM"].ToString() + "/" + row["DD"].ToString() + "/" + row["CC"].ToString() + row["YY"].ToString().ToString()) ;
DateTime newDT = new DateTime();
newDT = Convert.ToDateTime(row["ADMISSION_DATE"]).Date;
MessageBox.Show(newDT.ToShortDateString());
row["ADM_DATE"] = newDT.ToShortDateString();
Thanking you in anticipation.
|
|
|
|
|
Hi,
If your column ADMISSION_DATE is datetime, you cannot store only the date portion. Time is set to default if it's not specified. However when you get the datetime from the row, you can truncate it just as you have done.
Mika
|
|
|
|
|
A DateTime value always has a time component, even if it's zero. The Date property returns a DateTime value where the time component is set to zero, just as you do in line 2.
Verghese wrote: row["ADMISSION_DATE"] = DateTime.Parse(row["MM"].ToString() + "/" + row["DD"].ToString() + "/" + row["CC"].ToString() + row["YY"].ToString().ToString()) ;
If you already have the components of the date as numbers, don't format them into a string just to parse into a date. There is a perfectly good constructor for the DateTime structure that takes numbers:
row["ADMISSION_DATE"] = new DateTime((int)row["CC"] * 100 + (int)row["YY], (int)row["MM"], (int)row["DD"]);
Verghese wrote: 3rd Line displays the Date (08-30-08) as required but 4th line displays it as DateTime (08-29-08 12:00:00).
You are storing a string in the field, so if you display it as it is, it can't display in any other way than the way that you formatted it. The only chance that it would display with a time component, is if it's parsed into a DateTime value and the formatted into a string again using a different format.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|