visual-studio-2008

Events tab randomly appears and disappears in VS 2008

♀尐吖头ヾ 提交于 2019-12-19 06:32:17
问题 I know it's a minor annoyance.. but it's still an annoyance and it baffles me.. About 3 months ago I was using VS 2008 and when I went to the "Properties" tab there was the little lightning bolt for events(in design mode). Then it suddenly went away.. about a week later I discovered that if I didn't have the properties tab "stickied", then the events thing would be there, but not when its stickied. This morning all of this was working fine. Now today I went to add an event, and suddenly the

Strongly typed datasets vs. weakly typed datasets

风流意气都作罢 提交于 2019-12-19 05:59:28
问题 What is meant by strongly typed datasets in .Net? Can anybody explain with a clear and brief example? And also, what is the difference between strongly typed and weakly typed datasets? 回答1: Strongly Typed Datasets are generated on the basis of a Db Schema. They consists of classes derived form DataSet, DataTable and DataRow. Db Columns become correctly typed properties of the TableRow derived class. An Untyped Dataset simply means the direct use of Dataset, not of a descendant. All column

Why Visual Studio's debug mode Step Into (F11) sometimes doesn't enter inside some functions?

南楼画角 提交于 2019-12-19 05:34:21
问题 I was debugging a given C++ code with the F11 key (Step Into mode) in order to understand the precise order in which the functions in the code were called and I realized that it would never enter inside some functions unless I set a breakpoint at some line inside the function definition. I mean, if I call a function from the main method, and the function is defined in another .cpp I expect the F11 debugging mode to enter step by step inside the function in order to analize the variable

How to change the address location of my wsdl

萝らか妹 提交于 2019-12-19 04:14:49
问题 My wsdl put a wrong domain in address location, How to fix it? - <wsdl:service name="XWebService"> - <wsdl:port name="XServiceSoap" binding="tns:XWebServiceSoap"> <soap:address location="https://machine.wrongdomain.com.br/webservices/MapleStoryWebService.asmx" /> </wsdl:port> - <wsdl:port name="XWebServiceSoap12" binding="tns:XWebServiceSoap12"> <soap12:address location="https://machine.wrongdomain.com.br/webservices/XWebService.asmx" /> </wsdl:port> - <wsdl:port name="XWebServiceHttpGet"

Untraceable Exceptions in Windows.Forms Application.Run()

梦想的初衷 提交于 2019-12-19 04:08:33
问题 I have an old Windows.Forms Application that I am trying to debug. Sometimes after running a few minutes it will produce an ArithmeticException or an OverflowException. The source must be somewhere in the codebase, but the stacktrace always points to the line Application.Run(mainForm); The StackTrace is useless as it only shows Windows.Forms native calls: bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System

Debug-only classes and resources in visual studio - is it possible?

大兔子大兔子 提交于 2019-12-19 04:08:32
问题 Is it possible to add a class to a project in Visual Studio and have that class only built for the Debug configuration of the project? That is, it will not appear in the Release build at all. If it is possible, is it also possible to do the same for resources? I'm thinking specifically about test classes that are only run in the Debug configuration but are removed from the assembly for release. 回答1: You can use #DEBUG (see Jon's answer) for classes. For resources you can edit the MSBuild

The Visual Studio debugger is not attaching when at the root of a website

谁都会走 提交于 2019-12-19 03:44:19
问题 I have a problem with my Visual Studio 2008 debugger not attaching to the root of the default website when I run from within the environment. I have a .NET 3.5 Web application project running on Visual Studio 2008 SP1. I have set the project to "Use Local IIS Web server" with a path of "http://localhost/". I am able to create the Virtual Directory and the application compiles fine. My problem is that when Internet Explorer launches, the debugger is not connected. I am able to "Attach to

Visual Studio Setup & Deployment: Adding Pre Requisits

有些话、适合烂在心里 提交于 2019-12-19 03:40:42
问题 How can I add into Setup & Deployment project that I want to the client has more components, like: Microsoft Chart Controls Microsoft SQL 2008 Express Edition (not 2005) etc... alt text http://img55.imageshack.us/img55/2586/200902021225eu9.png This options are not in VS 2008, and in the window (image above) it only has a link to "Check Microsoft Update for more Redistributable components" but it goes to a page with 2 "bootstrapper packages" (I don't even know what's this) any ideas on how to

Running Visual Studio 2005, 2008, and 2010 on same system

亡梦爱人 提交于 2019-12-19 03:24:22
问题 I have around 50 projects in Visual Studio 2005 that I am building a new development machine for and I'd like to slowly move those projects to VS 2008 but also have 2010 available for select new projects. Can this work? Are there any gotchas for this sort of setup? Any general advice for running multiple versions of Visual Studio on the same system would be greatly appreciated. Specifically related to managing a controlled migration of projects to new versions but being able to selectively

How to print crystal report directly to a client machine using C# Asp.net

一笑奈何 提交于 2019-12-19 03:19:23
问题 I need to print a Crystal report page to client printer machine without showing the report or without showing any dialog box. One point I'd like to mention is that I know the name of Client Printer. How do I send the path to that printer. Just to make it clear the application runs on a server machine in a remote location. There are some similar question here , but WITHOUT any final solution,like this one. How to print crystal report without opening the report in asp.net? Is there a specific