visual-studio-2010

Use Crystal Reports 2011 in Visual Studio 2010

不打扰是莪最后的温柔 提交于 2019-12-25 06:53:20
问题 I want to use crystal reports 2011 in visual studio 2010. How can i use it? 回答1: Here are a couple of links. Try it out. http://www.sourcehints.com/articles/how-to-use-crystal-report-2010-in-vs2010.html http://forums.asp.net/t/1687320.aspx/1 This will help you with the referencing problem: http://connect.microsoft.com/VisualStudio/feedback/details/560630/vs-2010-net-4-cannot-found-crystalreports-references 来源: https://stackoverflow.com/questions/9324765/use-crystal-reports-2011-in-visual

Find uppercase letters within <p></p> tags using regex

蓝咒 提交于 2019-12-25 06:51:45
问题 I want to use a regular expression to grab ONLY uppercase characters within a <p></p> html tag. <p>I WANT TO GET THIS TEXT</p> <p>I don't want to get this text because it has some Lower Case Characters</p> Sometimes the document doesn't contain this at all. Sometimes it's there 3-5 times. The document DOES contain other HTML within <p></p> tags which I don't want to change. Only the paragraph tags which contain ALL Uppercase characters I want to return. I not very familiar with regular

object invoked has disconnected from its clients

ぐ巨炮叔叔 提交于 2019-12-25 06:38:03
问题 I've started getting the following exception while debugging a 32bit MFC C++ app under VS2010 SP1, Windows 7 64. While I can easily ignore it, I'm just wondering what it is. First-chance exception at 0x751eb9bc in SCCW.exe: 0x80010108: The object invoked has disconnected from its clients. A similar question and a google search suggest its automation related, and while my app supports automation, it isn't doing anything automation related at the time. The stack frame for the active thread does

Mismatch between processor architecture of the project and the processor architecture of the reference

a 夏天 提交于 2019-12-25 06:37:41
问题 I have had this Warning lingering around the background of my project for quite a while now and I was told not to worry about it. However now I have other issues I figure now is probably the best time to enquire about it. (The best time was probably when I first occurred, but hey, too late for that now.) There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Users\Benjamin\Documents\Visual Studio 2010

When creating website to host WCF service, edit wcf config gives “no service found”

久未见 提交于 2019-12-25 06:36:27
问题 I am new to WCF and have what I think should be a simple question. I created a solution that contains a WCF service library, and a website to host the service. In the website I reference the service library proj, so the service.dll is in my website's /bin. I edited the .svc file in the website to use the referenced project's service, but when I right click on the web.config and choose "Edit WCF Configuration" under services it says "No services defined". I am following this tutorial, http:/

The remote server returned an unexpected response: (405) Method Not Allowed

…衆ロ難τιáo~ 提交于 2019-12-25 06:33:53
问题 I have the following code: which return me the following exception: ProtocolException was unhandled by user code The remote server returned an unexpected response: (405) Method Not Allowed. I tried using the following command (Using Administrator in a Command Prompt): C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>ServiceModelReg.exe -i and the following appear: Microsoft(R) Windows Communication Foundation Installation Utility [Microsoft (R) Windows (R)

ActiveX component cannot be created for COM component in release mode (VS2010 specific)

蓝咒 提交于 2019-12-25 06:31:30
问题 I have an ATL COM component(.exe) (VC++ ) in VS2008. Through VB6 client, i use CreateObject and get the object. But once the component is updated to VS2010 SP1, the VB6 client no longer is able to create the COM object. If I compile the VS2010 COM component in debug mode and get the .exe, VB6 client is working fine. In release mode, .exe is generated without any errors, and VB6 client fails saying ActiveX component cannot be created. Please help me in resloving this. 回答1: Finding out why COM

developing outlook add-in, to check if the sent mail item has been replied to

泪湿孤枕 提交于 2019-12-25 06:25:29
问题 So, I want to check if the mail I sent to someone, has a reply. In other words, if that person has replied to my mail. sentboxFolder = ns.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderSentbox); //So here if i access individual mail and check Outlook.MailItem mailItem = ( Outlook.MailItem ) sentboxFolder.Items[1]; Now, if i took the PR_LAST_VERB_EXECUTED property of this mail item, what would it return if the mail has a reply sitting somewhere in my inbox and what

Unsupported browser in visual studio 2010 C#

你离开我真会死。 提交于 2019-12-25 06:13:31
问题 I want to display GPS coordinates on Google Maps. For this purpose I chose web browser from the toolbox. But it show an error of unsupported browser. I tried updating my Internet Explorer. I also set Google Chrome as the Debugging Browser in Visual Studio but it didn't work. This is the part of code where I am accessing the web browser. try { StringBuilder queryaddress = new StringBuilder(); queryaddress.Append("https://maps.google.com/maps?q="); if (lat != string.Empty) { queryaddress.Append

Where to find ITaskSettings3 and IMaintenanceSettings definitions for VS2010 C++ project?

寵の児 提交于 2019-12-25 06:03:50
问题 I'm trying to compile this C sample (at the bottom of that page) using C++ console app project on VS2010 on a Windows 7 machine but it gives me undeclared identifier errors. I can't find definitions of ITaskSettings3 and IMaintenanceSettings . You would think Microsoft will provide a code sample that compiles, hah :) Any idea what includes am I missing? EDIT: This is what I have in the properties for the project: 回答1: I was able to compile it with VS 2008 in C++ project, that allowed me to