Brett H's Q&A profile
Visual Studio Team System Server metrics from non Windows servers
If I am issuing web requests to a non Windows server (UNIX, Linux, whatever) is it possible to obtain server metrics about CPU utilzation and potentially disk usage during a load test using VSTE for ST I know that it is possible to obtain these kinds of metrics from Windows servers and these types of metrics are available from other load generation tools. Thanks, Scott I'm not aware of any way to obtain perfor ...Show All
Smart Device Development Compact .NET Framework
Hi, I would like to know as to how can I execute an exe file from within a running compact winform application. I need this to happen because I plan to call the updater exe file whenever it detects that there is an update from the web, close the currently running application, then start the updating the exe file of the original application. Normally, this would have been easy if I could use the Process class from the .NET Framework. ...Show All
Visual Studio Tools for Office Excel macro question - ref: sheets (hopefully a simple one!)
Trying to debug a macro in Excel and it has an odd line. Could someone explain it to me please. "Sheets("comparative_report.pl reportNam").Select As you can't have a question mark in the name of a sheet - what's this all about Sorry if I'm being a bit thick but this is new to me. Thanks Damian OK, I'll admit it - I'm as stumped as you. A few thoughts/questions might help clarify: ...Show All
Visual Studio 2008 (Pre-release) Using Session in wsHttpBinding with secure = none doesn't work
Hi Why can't I use in wsHttpbinding the [ ServiceContract (Session= true)] with the secure disabled I try it but InvalidOperationException is throwed. My app config is very simple: < system.serviceModel > < bindings > < wsHttpBinding > < binding name = " NoSecure " > < security mode = " None " /> </ binding > </ wsHttpBinding > & ...Show All
Visual C++ Does MFC of VS.NET2003 Support DAO?
Hi, I tried it,got a warnning "c4995 'CDaodatabase':" in Debug mode and a error in Release mode,so... Wait for reply... ab2 And what error exactly did you get See this FAQ: Why does program work in debug mode, but fail in release mode ...Show All
Visual C# How to prepare Combined Setup using VS 2005
Hello all, How to prepare a combined setup using .NET 2.0, In this I want to Execute first SQL Scripts, Web Service Setup, Web Application Setup and Windows Service Setup. Is this possible using .NET Setup . if yes, how to do this any body any sounds or any suggestions or articles plz help me. I checked VS.Net 2005 and I couldn't find a fancy stuff like DevStudio from InstallShield. Happy packaging ...Show All
Smart Device Development force to load compact framework on desktop?
I would really appreciate it if you could help me with the following question regarding the compact framework Is it possible to force a dll/exe compiled using CF to be loaded on desktop using CF for example I have a form to display the following information Environment.Version.ToString(); I compile it using CF ( by command line csc /nostdlib /noconifg ...etc ) I can deploy it onto a device and it shows 2.0.5238.0 If I just go to the com ...Show All
.NET Development Trouble with XPath expressions.
I am trying to return a count of a the StudentID element that has a specific value (in the example below, a value of 5). I cannot get it to work. In fact, the only expressions that I've tested that return any nodes are "/*" and "//*". Dim docRdr As XmlReader Dim xDoc As XmlDocument ' Initialize reader and document. xFile is a form-level variable containing the path to the xml file. docRdr = XmlReader.Create(xF ...Show All
Windows Forms Forms and Threads - Multiple Access to Controls
Hi, I have a simple form with a richtextbox on it. The code behind this form can fire up to 500 threads (code placed in a different class) in a second, and every thread should access the same Richtextbox on the form and calls its &quo ...Show All
Visual Basic Send and Receive text via serial port (Vb2005)
Hi: I connected two laptops via a non-modem serial cable, and drag a serialport and a timer to the form. By using the following code for sending the text: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load SerialPort1.Open() End Sub Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick SerialPort1.WriteLine( "Hello" ...Show All
Visual C++ Link Error /w VS05 b2 (managed C++)
. Thank you so much for the help, I tried writing it with an executable and it compiled perfectly. Now that I know how to just create a library I will do that next time and use Win32 DLL project. Thank you so much Nishant. You saved me a lot of time and frustration! I will make sure to email you if I ever encounter any problem like this. Thanks for your time and patience, Alexandrei ...Show All
.NET Development Howto create a read/write application setting?
Hi! I'm trying to create a writeable application setting with VS 2005 Express beta-2. When I open the Settings tab in the application properties I have a designer that allows to create a new setting (say "MySetting" of type String). I can specify a default value and I can use the properties window to enter a description etc. In the code file Settings.Designer.cs a property "public string MySetting .." is generated automatically. But this pr ...Show All
.NET Development Passing reference values to C++ functions
I am trying to use the C++ funtions in C# through DLL reference. I need to pass values by reference to these functions. How is this possible in C# Thanks and Regards Madhu Check out the samples included in the sdk, there are some good ones demonstrating various pinvoke declarations. Also check out this page: http://msdn.microsoft.com/netframework/programming/interop/default.aspx The first few links i ...Show All
Visual Studio Team System password
I have created 100 plus web-test for an application at work. The application needs to have the user change password in 30 days. That being the case, i changed password and previous web-test no longer work due to passwork error. Is there a way to change passworrd throughtout test app. vs. individually changing each to new password Here's a walkthrough showing how to set up databinding: http://msdn2.microsoft.com/en-us/library/ms243142(VS.80 ...Show All
SQL Server Connecting to SQL 2005 from a client pc
I am getting this message. On the actual server I can pull up the report builder, but from a client on the network when trying to connect to the sql report builder I get this message: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0 ...Show All
