search and deploy's Q&A profile
.NET Development Monitoring network packets - incoming and outgoing
Hi all, Is there any provision to monitor the http packets sent and received per user basis in a network interface . I want to develop a download/upload limit software where I can restrict users setting the download limit in terms of 1000 MB of data or 2000 MB of data etc., Thanks. Chakkaradeep wrote: Hi, Thanks for the reply :) I already saw IPv4InterfaceStatistics. It gives overall bytes received and sent, whereas, am looking for per user basis, the bytes sent and received. Any suggestions on that Thanks. If you want to say that you want to know that multiple users are logged in to the machine at the same time and using a same Network Adapter you want to analyse usage of each..... Hmm ...Show All
Visual Studio Team System Changes exist in branch, but IDE states "No changes to merge"
We are trying to perform a merge of a changed file back to a mainline branch, but keep getting the message "No changes to merge". If I right-click on the file, click compare and select the mainline file as the "compare to:", I do see the differences. Why isn't this merge working Jason, In the latest version of our tool we have tried to address both the merge history issue and merge candidates preview. It would be very interesting to see if you could use it to solve your problem more easily. I do believe so and would be very grateful if you took a moment to have a look at the tool for your specific problem. Thanks beforehand. ...Show All
Visual Studio Team System Cannot publish results - Unable to access folder in Build server.
Most of our testers (~30 out of 50) have problems publishing test cases. They get a message like the following: xxx@4S3-41 2006-08-24 18:55:53 0.10 MB 8/24/2006 6:57:06 PM Failed The test result share \\BUILDSERVER\_Bin\TeamBuild_20060817.1\TestResults\7103f2dc-a5ee-4587-9066-fc29841ab686 is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Some background info : - All the testers belong to a security group which has full control on the share " \\BUILDSERVER\_Bin " - The folder “ \\BUILDSERVER\_Bin\TeamBuild_20060817.1\TestResults\7103f2dc-a5ee-4587-9066-fc29841ab686 ” ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D VERY slow on the XBOX
Im having a hard problem getting good FPS rates on the XBOX, everything turns around and gets alot slower. Does anyone have a solution, or reason for this The most important thing in there is that on Xbox the GC is non-generational AAAIIIEEE!! The problem with this is that there are some required APIs that allocate memory each frame, including reading the gamepad. Non-generational GC is only useful if you can guarantee to not need to allocate memory at runtime, i e you load everything on start-up, pre-allocate working buffers, run one sweep of GC, and then enter steady state. Regarding the initial question, there's probably a growing store problem somewhere. Dump the heap to see what kinds of blo ...Show All
Visual Studio 2008 (Pre-release) Xlinq join problem
Hi, I've got 2 XML files, one which contains persons and each person has it's own 'docfile' element, as so; <person> <id>1</id> <name>rick</name> <docfile>c:\\test.xml</docfile> </person> My goal is one LINQ query, which contains all the contents/elements from the docfile of a user where id = .. At the moment, i've got the following query which isn't working, but I'm not getting a specific error message. var docNodes = from person in docPersons.Elements("person") from body in XElement.Load( person.Element("docfile").ToString() ).Descendants(w + "t") where (int) person.Element("id") == 1 select body; Does anyon ...Show All
Visual Studio 2008 (Pre-release) Trusted Subsystem Implementation
We are building an application that has multiple WCF services hosted in IIS on multiple machines within a customer's topography. The services need the ability to access network resources (hops to other WCF services, database, file system, and active directory). We have been treating public services as trusted subsytems: access to the public service is authenticated and authorized using the user's identity, but access to other resources within the service are executed under a trusted identity. Here is my question. What is the best way to access the other resources under the trusted identity Run the App Pool as Network Service and Impersonate when access to the resource is required. Seems kind of messy having to store the truste ...Show All
Visual Studio Team System Build machine is not reachable
I'm having trouble getting a Team Build type to run. The error message that I receive is "Build machine is not reachable". I have defined the Build Machine as 'teamfoundation' in my build type, which is the name of the Team Foundation server (creative, I know). I've tried various combinations of this, including the IP address, the FQN, and I've tried all of these from remote machines and on the server itself. Everything appears to be working except this feature. I'm able to add work items, check things in and out of source control, and run reports. I'm also able to browse to all of the web service pages that are in the "TeamBuild" directory of the VSTSWeb fine. Anyone have any ideas I'm at a loss. ...Show All
Visual Studio 2008 (Pre-release) COM loading failure using impersonation
Hello, I have a Windows Service that hosts a WCF Service, which calls functions in an external assembly which calls a 3rd-party COM component via a COM server. The WCF Service requires impersonation on calls from a client and when I use the service everything works fine. I have domain admin privs, so this isn't too surprising. However, when I test the service while logged in as a non-admin user, the COM component on the end of the call chain fails to load. I'm assuming this is because the user being impersonated on the remote machine does not have sufficient privs to remotely load a COM component. Is this correct I really don't have any idea how to configure this so it will work with any arbitrary user. Could someone point me in t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Another "Aha!" moment...
Are conditional breakpoints available in GSE / C# Express I've run into several situations where I want to inspect the values in a loop, but only after several 100's of iterations. If this feature is not available, does anyone have any suggestions on a decent workaround I suppose I could throw in an "if" statement that throws throws an exception when my condition hits, but I'm hoping there's something out there that's a bit more graceful... In playing around Debug, I found another good one. Debug.Assert() gets you out of writing an if-block, but more importantly, When it fires up your assert failed Abort/Retry/Ignore dialog, just click the 'Retry' button and it sends you off to the debugger. ...Show All
Windows Forms How can I set a digital clock on my windows form project in C#?
Hi, The question is very simple. " How can I set a digital clock on my project " I want to put a digital clock seems like that " 2006-09-23 Wendsday 23:12:48 GMT " means " YYYY - MM - DD ' DAY ' HH : MM : SS ' GMT ' " I am master of C and php however I am newbe in the visual languages. Thank you... Edit: I am using C# Some interesting links: http://www.codeproject.com/cs/miscctrl/DigitalClockControl.asp http://www.publicjoe.f9.co.uk/csharp/csharp12.html ... ...Show All
Visual C++ Start Debugging problem with SP1
Since applying the VS 2005 SP1 update, when compiling a C++ program under 'Start Debugging' the console window comes up to accept data but then displays the result (I assume) and closes instantly/ automatically. If I then run the same program in 'Start Without Debugging' the console window does not close until it has displayed the result and halts displaying 'press any key to continue...", which is how it used to operate using 'Start Debugging.' Any suggestions, please (I have run a search through this forum, but the results did not bring anything directly related.) Nick This question have asked in the Visual C++ Language forums some time back. please check it. http://forums.microsoft. ...Show All
SQL Server Move table from one filegroup to another?
Hi guys, I'm in middle of database re-development as part of performance enhancement, I have re-group the tables to optimize query IO and created corresponding filegroups to house the data. Is there a way (or code) to move each table to their respective filegroups At the moment all the tables are on Primary filegroup. I have group the table into 6 section each to with the view to move each section into one of the 6 filegroups - each filegroup on different diskdrive I have looked at alter table command but can't find anything to allow me accoplished this task. Any ideas please thanks. Red: From books online: "Because the leaf level of a clustered index and its data pages ...Show All
Windows Forms Newbie Problem - Simple Menustrip Rendering Problem
Hi Folks! As a newbie to C# (Express 2005) and .NET2 I've been playing around with a simple Winforms App with a menu, RTF Text Box and a Text Box for user entered search args. All works fine except for the rendering of the menu file item. Whenever it is hovered on the background colour is blue(correct) but the text remains black (unreadable) instead of white! This is not my theme setting and it doesn't seem to be my App - I have tried several downloaded assemblies with the same effect. This simple problem is driving me nuts - any ideas please!!! Cheers XP Pro/SP2 Are you using the default MenuStrip control Also have you checked you system colours on your windows machine are not controlling the ren ...Show All
Visual Basic Locking Form Size (simple Question)
Hi, How do i stop the user re-sizing a form (for example an option screen) and remove the minimize and maximize buttons on the top of the form Andy Me . FormBorderStyle = Windows . Forms . FormBorderStyle . None 'or Me . FormBorderStyle = Windows . Forms . FormBorderStyle . FixedSingle 'fixed3d Me . ControlBox = False Me . MinimizeBox = False Me . MaximizeBox = False ...Show All
Visual Studio Team System Branch\Delete Checkin causes fileName collisions
Hi, We are having a problem with TFS source control where a dev performed a branch, did not check the branch in, deleted the branch, and then checked in the pending changes. So we can see the problem here. A branch that was never comitted was deleted. I dont think TFS should allw this kind of operation but it did happen. So now the the dev has tried to recreate the branch. When doing so he is prompted to resolve the naming conflicts for all of the files that ha branched. He has 2 options. Undo local changes and something else. Neither option works and the branch can not be recreated because the conflicts can never be resolved. Is there anyway to make this work thanks. Are you sure the bran ...Show All
