visual-studio-2008

How to use batch build for a VB.NET project in Visual Studio 2008

巧了我就是萌 提交于 2019-12-24 09:53:38
问题 In Visual Studio 2008, I am not able to see the Batch Build option for VB.NET projects (as for C++ projects). I am new to VB.NET, but does it have other options to do a batch build rather than creating a batch file? 回答1: To make the button appear (written from a Visual Studio 2005 perspective, but probably the same or at least very similar for Visual Studio 2008): Right click on somewhere on the Visual Studio toolbar and select Customize... , then on the Commands tab in the Categories list,

Unable to list labels in TFS2012

半腔热情 提交于 2019-12-24 09:49:14
问题 We recently migrated to TFS2012, but are still using VS2008. Everything is working fine except for labels. It appears that applying labels works, and using a label when getting source works. However, listing labels returns nothing. For example: tf label "LabelName" *.* /r will return "Created label LabelName@$/Scope" If this is followed immediately with tf labels /owner:* the result is "No labels found" Finally, trying to retrieve the label works correctly. tf get . /version:L"LabelName" will

How to load test a SOAP interface (are SOAP function calls atomic)?

假装没事ソ 提交于 2019-12-24 09:48:39
问题 A server offers a SOAP function call interface. Hundreds, perhaps a few thousand, of PCs call that function. I need to load test this using a single PC. At the moment I just have a for loop. Is that good enough? If not how can I make the test more realistic? I had thought of threading, but if the SOAP function call is atomic then that doesn't buy anything. Even if it does, there can still only be one active thread (per CPU) on my tester PC. I hope that is clear, please ask for further info if

ParentForm is null (in a Button inside a UserControl inside a Form)!

人盡茶涼 提交于 2019-12-24 09:36:07
问题 I got this code working! I have a button inside a my UserControl dropped at design time in a my Form. All worked well and when in a button's event I called this.ParentForm it correctly returned to me the (only) parent Form. After a refactoring, I moved the UserControl with the button to another NameSpace and the same piece of code no longer works. this.ParentForm now is NULL ! I read the MSDN site and it says that only when the control is hosted in IE or another context this.ParentForm

Team Foundation Server: Getting the Changeset Id from PolicyBase object

好久不见. 提交于 2019-12-24 09:28:26
问题 I'm writing a custom check-in policy in Visual Studio 2010 using C#. I've extended the class PolicyBase and overriden the Evaluate() method so that I can check the user's check-in comment contains specific information. I'm getting the user's check-in comment using this.PendingCheckin.PendingChanges.Comment What I would like to be able to do is pull out the changeset number that will be assigned to the check-in. Where and how would I get this number? I'm guessing the Evaluate method is the

Finding series item clicked in a chart in VB 2008

瘦欲@ 提交于 2019-12-24 09:27:50
问题 I am using VB 2008 with the Microsoft Chart Controls for .NET Framework. Using a pie chart, I would like to find the selected item when the chart is clicked or double clicked. I am have the click and doubleclick events as shown here, which I have confirmed is being hit, and the the eventarts contains the x,y position of the click. Private Sub Chart_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Private Sub Chart_Click(ByVal sender As Object, ByVal e As System.EventArgs) What

Converting VS2008 Website to Web Application

六眼飞鱼酱① 提交于 2019-12-24 08:48:24
问题 Has anybody ever converted a visual studio website to a web application? I would like to get sln and vbproj files for my website but I can't seem to find the convert. I would hate to have to do this by hand. 回答1: This looks like what you're looking for: http://weblogs.asp.net/meligy/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx Similar, if not the same as John's suggestion. 回答2: This is a good walkthrough just start from step 2. http://msdn.microsoft.com/en-us/library

What is the priority on NoStepInto entries in VS2008?

霸气de小男生 提交于 2019-12-24 08:47:39
问题 I've been looking into the NoStepInto feature of Visual Studio. Andy Pennell's post How to Not Step Into Functions using the Visual C++ Debugger has been extremely helpful. But as far as I can tell, in VS2008 the string name of the rule no longer has to be an integer, and no longer has any effect on the priority of the rule. I have played around with the registry a bit and it seems to use the best match or maximal match (not sure what the correct expression is). So if I have the following two

Unable to find connection 'MyConnName' for object 'Web.config' in Table Adapter configure Properties

假装没事ソ 提交于 2019-12-24 08:32:06
问题 I want to change the query in table adapter but it's not opening & throwing an error " Configure table Adapter Failed " & in property of connectionString it says " Unable to find connection 'ConnStringName' for object 'Web.config'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded " 回答1: I have been looking for a solution for this problem for a long time. Thankfully I found a solution that worked

Debug in VS C++ with dll, pdb files and source

白昼怎懂夜的黑 提交于 2019-12-24 08:28:08
问题 A question about pdb file. Is pdb file for debugging in Visual Studio? If so, why do they also exist in my Release folder? It's normal that pdb files are in Debug folder, but why they are also in Release folder. So I have now a Release folder build by Integration team with all the pdb files. Now I can load all the corresponding source (in GIT) so I'm sure that the binaries correspond to the source. Then do I need to build again in order to debug in Visual Studio? If not, what I have to do in