Dave Green's Q&A profile
Visual Studio Tools for Office How to save template with VSTO solution ?
Hi everybody, I have a blank template VSTO solution. The user can write some text add some bookmarks and so on. Then the user should save the template but not overwrite the host template. How can I save in managed code a simple word template I tried with SaveFileDialog and globasl.thisdocuement.saveas(strFilename) but it wasn't realy working. Has anyone a good solution Thanks. If your users use th ...Show All
Visual C++ link problem for VS2005 Beta 2
I have a very small program: #pragma comment(linker, "/nodefaultlib:oldnames.lib") #include "windows.h" int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) { MessageBox (NULL, TEXT ("Hello World"), TEXT ("Hello"), MB_YESNOCANCEL); return 0; } which ...Show All
Visual C++ console from form
Hi! How can I call a Console window from a form application Ok: I dug a little deeper and I think I know what is going on here. The problem is that by-default a Windows Form application does not have a console associated with it: so any calls to Console::WriteLine will send the output into a black hole (\dev\null). The case where the application will work is if you start it from a console window because in this case the application will ha ...Show All
.NET Development <summary> info using Reflection ?
Is there any way to access the <summary> information of a class using reflection. All i have is the Assembly name. Using this i can access the Class, but how do i get to the <summary></summary> info <summary> isn't compiled into an assembly so you can't retrieve it with reflection. See the description of the /doc compile option . ...Show All
SQL Server how would you design this query better ( does not contain lots of code)
i have a number of business programs. Each program is started anew at the beginning of each fiscal year. each program has a number of goals and customers subscribe to the goals. i have to pull all this info out of the database. i have a cursor that gets the first program, inside this program i have a cursor that gets the first period, and inside that i have a cursor that gets the info on each goal. program cursor { period cu ...Show All
Visual Basic Visual Studio 2005 Standard vs Professional
Hi, I am trying to decide between the Standard and Professional versions of visual studio. The only information I can find on the Microsoft web site with a product comparison is ... http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx this lists several differences which may/may not be of concern to me. Does anybody know where I could find more information on.... 1. The difference between the 'streamlined' and 'f ...Show All
Visual Studio Express Editions XML...add new XML elements to existing document
I asked this earlier, but didn't get an answer. I'd really like to figure this out. It seems like it shouldn't be too hard to do. I'm making an application to keep track of recipes. I'm able to add two recipes, but when I add a third, it overwrites the last one in the file with the new one I'm adding. Can anyone give me any suggestions on how to do this Here's my code. Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.E ...Show All
Visual Studio Welcome to Crystal Reports for Visual Studio Forum
The Crystal Reports for Visual Studio team want to hear your questions, feedback and comments on our integration into Visual Studio 2005. If you're not familiar with Crystal Reports, you can quickly try it by using the Crystal Reports Application project template when creating a new windows application or a new website in Visual Studio 2005 Profession Edition and above. You can also drag n drop the CrystalReportsViewer ...Show All
Visual Basic [vb 2005 expr] Killing a copy-dir process
Hi. In my VB 2005 express application I make a copy of one remote directory (connected as a net unit) to my local hard disk with this line: My .Computer.FileSystem.CopyDirectory("F:\namedir1", "C:\namedir1", True ) This works inside a backgroundworker thread. When I cancel the thread, the copy still goes on, especially if the source-directory is big (some Gb). I want to stop immediately the copy, how can I do this Is there a way to know ...Show All
SQL Server Metadata storage and intelligent use
I am contemplating moving a huge integration project (hundreds of different medical practice management systems) from a competitor's dedicated data integration tool to SSIS. One of the main questions I have about SSIS regards it's capability to maintain - and even more importantly - intelligently use metadata regarding source and target data in the integration processes. One significant example: There is an ETL tool that I am fam ...Show All
Visual Studio 2008 (Pre-release) Problems with wsdualHTTPBinding
I am attempting to host a callback service in IIS using the wsdualHTTPBinding. However I am getting the following error. Any help would be appreciated. Configuration section 'system.serviceModel/bindings/WSDualHttpBinding' could not be created. Machine.config is missing information. Please verify that this configuration section is properly registered and that you have correctly spelled the section name. For Windows Communication Foundation se ...Show All
SQL Server Management Studio Express CTP update now available
There is a new Management Studio Express CTP download available at http://www.microsoft.com/downloads/details.aspx FamilyId=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en . This update fixes the defect where installing the full Books Online documentation prevented Management Studio Express from starting. With the update, Management Studio Express and Books Online no longer interfere with each other. To update Management Stu ...Show All
Windows Forms Performance
Hello, I have been doing some performance measurements on the drawing of my custom controls. Here I have found an effect that I cannot explain: Take a simple control, that just shows a couple of strings (using the DrawString() method). When I set t ...Show All
Visual Studio 2008 (Pre-release) Stability and using
I have two questions: 1. Stability of this technology 2. Can I use this thechnology in real projects Consult a qualified legal professional for advice specific to your situation. As a non-lawyer, to me, the EULA is pretty clear that the preview is NOT for production use. It also expires by May 2007. The word preview pretty much sums up what you should expect in the area of stability - APIs/ feature ...Show All
Visual Studio Team System ValidationRuleFindText not working as expected
Hi, I have added a "ValidationRuleFindText" to my WebTest to look for a particular string. If the string is found then the validation passes. While running the web test "alone" it works fine. But when the web test in included into a loadtest and a load of 10 virtual users applied, I get lots of errors bcos of the validationrule. I have saved the response from the request and all the responses have the specified string. Am I doin ...Show All
