miltoncwb's Q&A profile
Visual Studio Team System Is it possible to catch a failed request in PostRequest plugin?
I have a WebTestRequestPlugin, and have a method that overrides the PostRequest method. The problem I encounter is that if the request fails (say the target server is down), this method is not called, but Visual Studio seems to internally handle it - thus preventing this method from recording failed results properly. Is there a way to have Visual Studio properly call the PostRequest method even if the request fails (and take advantage of APIs like "e.ResponseExists") John, I just tried this out and was able to handle responses the way you would like. I specified an invalid server, and checked for a response in t ...Show All
Visual Studio Tools for Office Not getting Application Path of my word template application
Hello All, There is a folder named MyFolder in my word template application. I am accessing some (my own customized) XML files from this folder. For this i tried following options : (1) dataPath = IO.Path.Combine(Globals.ThisDocument.Path, MyFolder); (2) @ ".\MyFolder\" (3) ".\\MyFolder\\" but while running the application it is taking "C:\Documents and Settings\Kausar\My Documents\" path instead of the application path. This behaviour is different on different machines. On some machine it is taking my folder path properly but on some machine it is taking "C:\ ...Show All
Visual Basic Index was outside the bounds of the array.
I am trying to display to role my user is in a label and it works just fine as long as a user is in a role. If the user is not in a role then I get this error message: Index was outside the bounds of the array. on this line labelRole.Text = strRoles(0) I am new to programming, but I am getting the error because the string is empty <code> Dim strRoles As String () strRoles = Roles.GetRolesForUser(UserName) If Not strRoles Is Nothing Then labelRole.Text = strRoles(0) Else labelRole.Text = "User is not in a role" End If </code> Josh Lindenmuth wrote: Chan ...Show All
SQL Server SSIS debugging
I've added some breakpoints to a script task. When I right click and execute the task the breakpoints are honored but there's nothing in the call stack, autos, or locals windows and I'm not able to add variables to the watch list. Is there something that I need to enable thanks Peter They are just not visible by default. After you hit the breakpoint you can go to the menu "Debug>>>Windows>>Locals" for example. ...Show All
Visual Studio Team System Doing a "Get" in Team Foundation Version Control
Folks, Just looking for information on the different ways that TFVC supports doing Gets. I'm assuming it supports the usual get latest, get by label. Is there a way to specify a date range, and say "get me everything that was checked in between these two dates" What other ways can we do gets with TFVC Thanks, Brian Scarboro Get is simpler than you make it out to be. Whatever filename + versionspec you give it, it computes the equivalent filename + changeset # and downloads that file. It doesn't try to aggregate changes between points in time -- that's a lot trickier than it sounds, and ...Show All
Smart Device Development WebException when running NETCF1.1 SP3 vs. Older version of .NETCF1.1
Why am I getting a WebException when running .NET CF1.1 SP3 vs .NET CF1.1 I'm using JBOSS as the App server... but... I'm truly puzzled as to why this version of the framework would cause this issue. Appreciate any advise... Thanks! Connect failure. Please not I don't get this when running under plain bog standard 1.1. I've heard that this has something to do with POST HEADER SIZE being to large. Any way I can adjust this POST HEADER SIZE in .NET CF Thanks! ...Show All
Visual C++ Advantages to Using C++.Net 2005?
Hi: Just looking for some opinions as to the advantages of using the new C++.NET 2005 over C++.NET 2003. I have some managed code in VS 2003 and I have just loaeded VS 2005. Are there any real advantages to transfering my code to the new syntax or can I combine the two without hassles It is not a lot of code. What are your opinions on using C#. It seems like a cleaner approach to managed code Thanks Thanks. Like I said to Nish I will use C++ because I am used to it but I will give C# a chance. At first blush C# does seem a bit cleaner like Java. I can say Java without getting throwen into a black hole I hope. Personally I find ...Show All
Visual C++ Browse Information bugs
Sometimes the browse information is wrong, usually when you modify things from outside the enviorment or make massive changes (replace in files for example). The question is: how can I rebuild this information . Another question i have: is there a way to use the browse information of another project/solution . I have problems sometimes with big dlls, when you click "go to definition" it actually goes to the declaration. I would be really greatfull if someone can help me with this. if you press rebiuld from the build menu, i think it rebuilds the brows information becuase in the outpuut window, ...Show All
Visual Studio Express Editions CreateUserWizard - how to get missing field error message to show?
Hi all, I am configuring the CreateUserWizard and although there is default text in place (such as for UserNameRequiredErrorMessage), if the user hits "create" and leaves that field empty, all the wizard does is put a red star to the right of that field. It never shows the default text ("User name is required"). I've been all over this thing and don't see a way to change this behavior. Am I missing something obvious Thanks in advance for the help Have you managed to figure this out You will need to provide more information, what tool are you using What CreateUserWizard, is it i ...Show All
Visual Studio VS2003 +IE7 Beta2 crashes...
With IE7 Beta2 installed on my machine, the help system crashes VS2003 frequently when the internal help option is used. DocExplorer crashes sometimes when used as an external viewer. Also, some entries lose all formatting and display as black text on a white background. Is anyone else having these problems I haven't tested this with VS2005. I could uninstall the IE7 beta but I'm hoping there is some way to force DocExplorer to use a different version of the WebBrowser control. Is there such a customization Thanks, Jeremy Boschen While I have not seen any crashes, I have definitely seen all the entr ...Show All
.NET Development .Net not compliant with xml standard?
I have an xml schema file that I tried to read into a dataset and I got the following exception: " DataSet doesn't support 'union' or 'list' as simpleType ." This would obviously go against the xml standard. So does anyone know if Microsoft is or has fixed this problem In case you are interested, the xsd file is http://www.collada.org/2005/11/COLLADASchema.xsd ...Show All
Visual Studio 2008 (Pre-release) Reload xml data
Hi, I've try to develop a xaml usercontrol, this uc has for DataSource an xml file. Programmaticcaly, I need to update this file, and visualize the updated data in the xaml obj. how can I refresh the content of the user control Thx a lot Sam (Xml)DataProvider has a Refresh method that should work for you. After updating the xml file, call this method on your provider. ...Show All
SQL Server Setup Forum?
Where would I find this. It's not listed under SQL forums. Is this a general setup forum or specific to SQL Thanks...... http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=95&SiteID=1 ...Show All
Visual Studio Team System Source control reports
Hi, There are a lot of built-in reports available in Team Project. Surprisingly, none of them provides reporting for source control. For instance, I will need to see what files have been checked-in during specific day, who made the check-ins, what files are still checked out and who made it, and so on. How can I get those reports Regards, James. RobertV - Thanks for the extra posts. I tryed to use your fix in the cube but couldn't find the checkboxes you reffered to. So I decided to wait for us to install the RTM. We just installed the RTM and I still can't find the "File" attrib ...Show All
Windows Forms listview autoscrolling problem in dotnet
I have another problem with the listview: The view is set to largeicon and when I fill up the list dynamically with items it scrolls always to the last clicked item. I can drag the scrollbar down but after releasing it jumps right back to the item I clicked and puts it on top. The wierd thing is this only happens while adding items to the view. After completion it behaves normal and I can scroll up and down regardless of the item I clicked. Any Ideas Greetz Sven. Thanks for your advice- but maybe I should have added more details to make my reason for this process clearer: ...Show All
