visual-studio-2008

Crystal Reports - “The report you requested requires further information”

一笑奈何 提交于 2020-01-21 05:56:08
问题 I have some Crystal Reports that were created using Crystal (external to Visual Studio) and are now loaded in the VS project. Before the report is previewed I set up the report database information like this in the report and all subreports. var connectionInfo = new ConnectionInfo(); connectionInfo.ServerName = "192.168.x.xxx"; connectionInfo.DatabaseName = "xxxx"; connectionInfo.Password = "xxxx"; connectionInfo.UserID = "xxxx"; connectionInfo.Type = ConnectionInfoType.SQL; connectionInfo

Crystal Reports - “The report you requested requires further information”

流过昼夜 提交于 2020-01-21 05:56:06
问题 I have some Crystal Reports that were created using Crystal (external to Visual Studio) and are now loaded in the VS project. Before the report is previewed I set up the report database information like this in the report and all subreports. var connectionInfo = new ConnectionInfo(); connectionInfo.ServerName = "192.168.x.xxx"; connectionInfo.DatabaseName = "xxxx"; connectionInfo.Password = "xxxx"; connectionInfo.UserID = "xxxx"; connectionInfo.Type = ConnectionInfoType.SQL; connectionInfo

Why is my Debug.Write broken?

丶灬走出姿态 提交于 2020-01-21 05:33:56
问题 Can somebody explain why my Debug.Write stops working for no apparent reason - no output is visible? This has happened to me many times in Visual Studio 2008 (never on 2005), on both Windows XP, Windows 2003 Server and Windows 7. It is per project and at the same time (on Windows 2003 server), I have projects where Debug.Write works and does not work. Currently, on Windows 7 I have no debug output at all. I create a new windows forms project, put Debug.Write("bla") in Form_Load run it, and

Can I code and compile all type of Visual Studio Application from Command line?

独自空忆成欢 提交于 2020-01-21 05:29:05
问题 I am in the very first step of using Emacs as my programming environment. I run it in DOS Prompt using emacs -nw and do the development there. It's quite unbelievable, that I can do coding of J2EE and J2ME just using Emacs and its Eshell/Shell. And now about using it for Visual Studio development. Currently, I am working in a simple OpenGL application using Visual C++.NET 2008. I haven't try to build that application from command line, is it possible? If in J2EE and J2ME, we had the build.xml

How does the Winforms Designer instantiate my form?

夙愿已清 提交于 2020-01-21 05:20:07
问题 I'm developing my own WinForms designer. It must be able to load existing custom form types. One of the issues I hit is forms without a default ctor: My code currently instantiates the form before it can load it into the designer, which requires a default ctor. OTOH, VS2008 is able to load such forms. I believe it doesn't actually instantiate my form (as noted in this question): Even default ctors are not executed. And it doesn't truly execute InitializeComponent(). I just added a messagebox

Comparing default-constructed iterators with operator==

拟墨画扇 提交于 2020-01-21 03:00:26
问题 Does the C++ Standard say I should be able to compare two default-constructed STL iterators for equality? Are default-constructed iterators equality-comparable? I want the following, using std::list for example: void foo(const std::list<int>::iterator iter) { if (iter == std::list<int>::iterator()) { // Something } } std::list<int>::iterator i; foo(i); What I want here is something like a NULL value for iterators, but I'm not sure if it's legal. In the STL implementation included with Visual

Integrating “Help” into WinForms Application

ⅰ亾dé卋堺 提交于 2020-01-20 17:29:18
问题 I am working on a Visual Studio we need to integrate help menus into it. I would like to do this in the canonical Windows fashion but am not very experienced with the .NET framework in these respects. Searching Google and SO hasn't yielded much because most of the results are people asking for help, not help with "help." Meta-help, if you will. From the research that I've done, .chm files seem to be the way to go. How are these files generated? Is there an integrated tool in VS? Once I have

Using visual studio for developing mono applications

旧时模样 提交于 2020-01-20 17:09:07
问题 How do I use Visual Studio to develop applications on Mono? Is this possible? 回答1: You just build the applications in Visual Studio, and run them under Mono instead of under .NET. The binaries should be compatible... but you'll need to make sure you don't use any libraries which aren't available in Mono - see the Mono Application Compatibility Guidelines. (According to that page, you need to turn off incremental builds in Visual Studio though - a point I wasn't aware of before :) 回答2: See

How do you get server blocks <% %> to format well in Visual Studio?

旧街凉风 提交于 2020-01-20 14:22:04
问题 I'm using ASP.NET MVC a lot recently which means using server blocks a bunch. Visual Studio does this strange thing when I type: <% } %> and hit enter, I get this: <% } %> Which is unsightly and generally the most horrible thing I've ever seen. I've customized the Ctrl+K+D behavior pretty heavily and when I do this I get everything to look the way I want except for this one case. Anyone have any suggestions on how to customize this? 回答1: Looking at the behavior. I don't know that you can

How do you get server blocks <% %> to format well in Visual Studio?

£可爱£侵袭症+ 提交于 2020-01-20 14:22:01
问题 I'm using ASP.NET MVC a lot recently which means using server blocks a bunch. Visual Studio does this strange thing when I type: <% } %> and hit enter, I get this: <% } %> Which is unsightly and generally the most horrible thing I've ever seen. I've customized the Ctrl+K+D behavior pretty heavily and when I do this I get everything to look the way I want except for this one case. Anyone have any suggestions on how to customize this? 回答1: Looking at the behavior. I don't know that you can