|
damn now I have to rat through all the menus and options to find when the switch is. Thanks for the info.
[got it] options text editor allow navigation bar!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Tools > Options > TextEditor > C# > General > Navigation Bar
|
|
|
|
|
Hi all...
How to give permission for the user to access the sharepoint documents data to be read......
I am trying this code but its not working...plz do delp..
SPSecurity.RunWithElevatedPrivileges(delegate()
{
Console.WriteLine(" Entered SPSIte path");
using (SPSite RootSite = new SPSite(listPath))
{
RootSite.AllowUnsafeUpdates = true;
Console.WriteLine("1Entered SPSIte path");
using (SPWeb SiteCollection = RootSite.OpenWeb())
{
string path = listPath;
SPFile file = SiteCollection.GetFile(path);
string TimeCreated = file.TimeCreated.ToLongDateString();
Console.WriteLine("1.1: Created Date is :" );
}
}
});
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Hello everyone,
I want to monitor Http traffic from my local computer (Windows Server 2003) -- not always using IE -- to some specific web site.
I am interested in the headers/bodies in request/response. Any tool to use? Or code samples so that I can easily write one?
thanks in advance,
George
|
|
|
|
|
search in codeproject for "packet capture". There are some articles about that.
|
|
|
|
|
Thanks stancrm,
I think WireShark tool is good enough for me. I do not need programming, using existing tool is fine.
regards,
George
|
|
|
|
|
For developers, there's a library called WinPcap[^] (and certainly some .NET wrappers for it) which you can use.
As a standalone tool, the best I know of is WIreshark[^].
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Cool, Greeeg!
I like WireShark tool!
regards,
George
|
|
|
|
|
|
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 ![Big Grin | :-D](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_biggrin.gif)
|
|
|
|