Chih Huang's Q&A profile
Visual Studio Team System Counters
Hi, I am testing one win form application. I have written unit test and i am calling this unit test in my load test to test the web services. By default VSTS Load test tool gives the details for the following counters. 1. User load 2. through put 3. Response time are these counters enough Or should i collect any new counters for this win form application Please let me know. Thanks, Shankar You should also collect performance counters on the server that is running the web services. You'll probably want to collect IIS and ASP.NET. If the test is using SQL you should also collect SQL counters on the SQL machine. Ed. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dream Build Play today?
Well it's just gone 9am UK time and as it's the last day of January I assume that the Dream Build Play website will go live today I have decipherd the Morse code. It reads as follows: We have implemented a new calender built around a 20 day week and a new month called "Febanuary". Dream build begins in Febanuary, and the the Skinned Animation Samples will follow shortly in Mapril. ...Show All
Software Development for Windows Vista change integrity level
Hi, All I want to start a process with medium integrity level from a low integrity level process. From http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp , I found an example which starts a lower integrity level process instead and use the following hard coded Low integrity SID of "S-1-16-4096". What's the value for other integrity levels' SID(medium|high|system) I searched June CTP's SDK and document, but didn't find anything. One more thing is that also following an example from above link, I try to lower the integrity level of a named pipe in the same process which created it, but I got error code 5(access denied). Anyone knows what goes wrong code fol ...Show All
Windows Forms app.application Publish file
Hi, I know this has already been posted, but I need to get it clear in a simple way. The 'app'.application file is created when you publish an application to a web/ftp server, along with other files. The publish.htm page shows a button linking to the 'app'.application file and I can correctly install it, but a friend of mine (and maybe many more people too) get the 'app'.application file contents displayed in his browser. He has the .NET Framework 2.0 installed (installed automatically with VB 2005 Express), and I would like a simple solution to resolve this issue, without reinstalling .NET 2.0 (unless you are sure it resolves it). I also heard that it has to do with MIME types , but I'm not too familiar with this term to unders ...Show All
Visual Studio Express Editions Express C# and C++ on same system.
Hello, I'd like to have both Visual Studio Express C# and Visual Studio Express C++ installed on my computer. The online documentation for Visual Studio Express indicates that all existing installations of Visual Studio Express must be removed before installing Visual Studio Express. I'd like to know whether this means that Visual Studio Express C# must be uninstalled before installing Visual Studio Express C++. Or does the restriction simply mean that if a particular "flavor" (C#, C++, Basic) of Visual Studio Express is installed, and one wishes to instal anl updated version of that same "flavor", then one must uninstall first In other words, does it mean that one can install Visual Studio Express C++ wit ...Show All
Gadgets Environment Variables and Image Calls.
Hello, I am trying to Improve a Gadget which forces users to log in to there Administrator accounts to use Backgrounds simply because it was named "Administrator" at the Path. At first I tried using PHP like calls. But didn't work, So I resorted to looking at how the calls are made. I've added this. <!-- //////////////////////////////////////////////////////////////////////////////// //Find Which User is Using the Gadget and SET the Variable - Steven {augrunt} //////////////////////////////////////////////////////////////////////////////// --> <script> userProf = System.Environment.getEnvironmentVariable("USERPROFILE"); userPath = userProf + " \\AppData\\Roaming\\Microsoft\\Windows Photo Galle ...Show All
Visual Basic Converting a string into required date format in vb.net
Hi friends, I want help in converting a string which contaions 5 numbers,into a required date format for the code below: dim strDate as string dim objdate as Date strDate = "60727" //6 as yy 07 as mm & 27 as dd strDate = strDate.Substring(0, 1) & "-" & strDate.Substring(1, 2) & "-" & strDate.Substring(3, 2) objDate = Date .Parse(strDate) while executing it returns 6/07/2027 which means 27 as year while i want 27 to be a date. and format should be exactly 2006-sep-27.So plz help me regarding this code. Thanks to all for replying i will try one of these & will write back to forum rega ...Show All
Visual Studio Modify a key in web.config using XML.ModifyFile (Microsoft.Sdc.Tasks)
Hello Using the XML.ModifyFile (from Microsoft.Sdc.Taks) to modify an attribute works fine, but how can I modify a key in the web.config file Under /configuration/appSettings in web.configI have the following key: < add key =" myKey " value ="ValueToBeChanged " /> <ModifyFile Path="web.xml" XPath="/configuration/appSettings" AttributeName="myKey" NewValue="MODIFIED" Force="true"> </ModifyFile> Do I have to use a special XPATH syntax to specify the key here The XPath to access the value element is /configuration/application.Settings/MyApp.Properties.Settings/setting[@name= ...Show All
Gadgets Bug #28 g:background becomes corrupt if you change document.body.style.zoom
Bug #28 added to the known bugs list . If you set the Gadget background with a <g:background> element, and then change the zoom, via document.body.style.zoom. The background becomes corrupt, all you see is the aliased surround of the original image. I've included a Repro for MS, a screenshot of what happens and the partial workaround. ...Show All
Software Development for Windows Vista Need useful documentation/sample for using RecoveryInformation() in a .NET durable RM
It's really dissappointing to see how poor the .NET documentation is for using IEnlistmentNotification to create a durable RM that also uses RecoveryInformation(). My goal is incredibly simple: recreate the CompensatingResourceManager MSDN sample ( http://msdn2.microsoft.com/en-us/library/8xkdw05k.aspx ) using .NET 2.0. 1. How can I set RecoveryInformation() in advance of my Prepare() being called 2. If I am supposed to set RecoveryInformation in Prepare(), what sort of design pattern should I use to pass my worker component parameters to Prepare() ...that is, how do I perform the equivalent of my Clerk.WriteLog() calls Michael. I appreciate the work that went into the sample Florin. Questions: 1. If DoWork() ...Show All
.NET Development .Net Framework 1.1 and its Service Pack 1
Does anyone know whether the current .Net Framework 1.1 download from Microsoft also includes the SP1 changes Or does one have to download and install both files to be up to date Robert Werner http://PocketPollster.com Hi Robert, No, there is not a single version of the .NET Framework 1.1 that includes the SP1 changes. You will need to download and install 1.1 and then 1.1 SP1 as separate steps. You can also use steps like the ones at http://blogs.msdn.com/astebner/archive/2005/03/05/385971.aspx to create an administrative install point that includes the .NET Framework and any hotfixes or service packs that you would like to include with it. Thanks! Aaron ...Show All
Visual Studio Still searching a designer
I am still searching for a report designer that an end user can use. I do not use Sql2005 in my software, so (if i have understood right) the end user cannot use reportbuilder. I'm on my way to give up the ReportViewer, i have been very enthusiastic at the beginning (one year and half ago) but these missing features (no end user designer, no html export on rdlc files, some bugs resolved after months) are switching me to other tools (i have excluded Crystal Reports, now i am evaluating Active Reports). So, no hope for a report designer that an end user with no sql2005 can use to customize rdlc reports Other than ReportBuilder Microsoft does not currently offer an end-user Report Designer. This is some ...Show All
SQL Server The product level is insufficient for component when executing package using C# code.
Hi, I have created a Integration Services package that takes a table in a database, and transfers it to a flat file. This package has successfully run through visual studio 2005 as a .dtsx package, and given the output that I expected. However, now, I am trying to excecute the package (as xml) using C#, and I am receving this error: Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/DTS.Pipeline : The product level is insufficient for component "Flat File Destination" (31). I do not understand how a working package would have this kind of error. Considering that it runs when I do not use C# code to execute the package means that I have SSIS properly installed, and I have the proper versions (or it should not execute ...Show All
Visual Studio Tools for Office what references do I need now I've updated to VSTO second edition
Hi I've just upgraded my development machine to Office 2007, and now my Vis studio app won't build, as the following lines won't build Imports Word = Microsoft.Office.Interop.Word Imports Office = Microsoft.Office.core Friend WithEvents ThisDocument As Word.Document Friend WithEvents ThisApplication As Word.Application I expect that's coz the existing COM references aren't found - what do I need to do to get it going again I installed VSTO second edition.... My code is doing some word mail-merging .. ! Thanks ...Show All
Windows Live Developer Forums Browser Capibilities
Am I right in saying microsoft virtual earth is not compatible with netscape, mozilla or opera I've been having many problems with these browsers, and when i go to the virtual earth site in these browsers, it opens a different kind of page then you'd see in IE or FF. I was wondering if there is any way around this. I am targeting these browsers, so it's quite a big problem. Thanks for your help. This is all pretty new stuff we're playing with here, not just some simply html pages any more. I'd like to say thanks for the VE team for supporting Firefox (even 2.0 with a hack). This represents 96% of browser use across the world. As a developer i'm actually kind of happy that i only have to do system te ...Show All
