cdavid's Q&A profile
SQL Server Report Builder - parameters
Is there a way to pass a parameter to the report builder We are not using impersonation to call the report builder so we don't know who the actual user is. We want to be able to pass the UserID to the report builder so we know who the actual user is supposed to be. Thanks. Sorry, currently the only parameters that can be passed to Report Builder are a server path, startup model, startup perspective or star ...Show All
Visual Studio Tools for Office VSTO2005 Deployment
Hi, I have a few queries related to VSTO2005 deployment. Earlier in VSTO2003 the excel template had custom properties where we would specifiy the assembly location which culd either be a http or a relative network path. In VSTO2005 the default template that the project creates has the following custom properties : 1) _AssemblyName 2)_AssemblyLocation By default the _AssemblyName has a value ...Show All
.NET Development VSA obsolete in FW2.0?
The namespaces Microsoft.VSA, Microsoft.JScript.VSA etc. are marked as obsolete in the documentation of the Framework 2.0 beta-2. I used classes in these namespaces for customizing applications by using JScript's at runtime. Are there any substitutions of the VSA stuff in the new framework or does Microsoft just stop developing this Thanks karlo I am interested in the resolution of this topic as well. We are c ...Show All
Visual Studio 2008 (Pre-release) Is the pseudo SQL syntax necessary?
Current LINQ syntax is like this: var upperLowerWords = from w in words select new {Upper = w.ToUpper(), Lower = w.ToLower()} where w.StartsWith("a"); But I think that this is unnecessary breeding of C# with SQL. I believe that combination of methods with lambda calculus would be better: string[] words = { "aPPLE", "B ...Show All
Visual Studio VS 2003: devenv.exe /setup destroys custom user toolbars
Hi there, as a part of the installation process for our add-in / package we run devenv.exe /setup command. We've received a complaint from users that after installation of our product their custom toolbars disappear. We've checked it and it turns out that in VS 2003 devenv.exe /setup indeed deletes all custom toolbars. Moreover, this is a known issue: http://groups.yahoo.com/group/vsnetaddin/message/1328 My question is: what can be a wo ...Show All
Windows Forms DataGridView - slow
Hi, this DataGridView is really giving me headaches like you can see in all the topics I start :) This time it's about performance. I'm using a DataBound DataGridView and performance for painting on it, etc. is good as long as it contains no data :) However, as soon as I load 10 columns in it with about 200 rows, performance really drops. Resizing the form that contains the grid becomes real slow even with column auto size off. Painting selectio ...Show All
SQL Server Need Opinions on creating a reporting database more efficiently
Situation: SQL Server 2000. At my new employer they have a production database on one server and a copy of it that is set to read only on another server which is used for reporting. #1 They have an SQL Server Agent job on the production server that: (2 times a day) Backs up the production database Copies the backup file to a directory on the reporting server. (Its pretty big and can take time if there are problems with ...Show All
Visual Studio Idiots guide to Visual Sourcesafe 2005
Alright, this is the first time I've ever used Visual Sourcesafe, and frankly I'm finding getting the internet plugin setup nightmarish - I have two PC's - one with sourcesafe, the other with Visual Studio 2005. Both PC's have Visual Sourcesafe installed, but only one of them - we'll call it PC-A is going to be the repoistory. In a nutshell, I've: 1) created a new database in C:\projects\mydb on PC-A 2) created a standard windows share called so ...Show All
Visual C# how can i databind for a windows application?
good day everyone, i tried to do databind() in a windows application but it wasunsuccessful. is there any way to extract data from several tables like the databind() method in win application i used it before in web application and it was working fine any idea anyone plz help...urgent....thanks.. private void displayData() { openConnection(); if (assess_NameComboBox.Items.Count != ...Show All
.NET Development Errors with latest 64 bit sdk
Hi, I am porting my application from 32-bit to 64-bit, I am getting following errors in release build with latest compiler(1.4.3.3,64 bit SDK and DDK). It is building successfully in debug mode. nafxcw.lib(wingdi.obj) : error LNK2005: "public: void __cdecl CWnd: creenToClient(struct tagRECT *)const " ( ScreenToClient@CWnd@@QEBAXPEAUtagRECT@@@Z ) already defined in MSIDialog.obj nafxcw.lib(wingdi.obj) : e ...Show All
SQL Server sql server 2000
This is my last attemp at trying to install sql server installed, which its been quite reluctant too, as I've spent the last 2 hours with no progress. I've downloaded MSDE2000A.exe from http://www.microsoft.com/downloads/details.aspx FamilyId=413744D1-A0BC-479F-BAFA-E4B278EB9147&displaylang=en Installed it in the default directory. "C:\MSDERelA" And ran setup which returned this error "A strong SA password is required for securit ...Show All
Visual C++ Share Projects in one solution
Dear all, I create two projects, say A and B, in one solution in VC.net 2003. They are basically 2 executable applications, A.exe and B.exe. In project A, it uses some classes created in project B. I include the header B.h in A.h, and add Additional Include Directories to which B.h resides. Compile is OK but when linking it looks like the LINKER does not know where to link obj in B project and gives the error me ...Show All
Windows Forms what control is in the locals window?
I wonder what control it is called in the locals window in VS.net. It looks like a grid, but i don't think it is regular datagrid. Thanks Hi, It's window class is saying "TREEGREED" (you can check it with Spy++), so I guess it is not regular datagrid. It is probably something that was developed or purchased (Microsoft purchases third party components for VS ) specifically for VS. Max ...Show All
SQL Server Decoding MIME Base64
Hi How do you decode an image (found inside an xml file) which has been encoded in MIME Base 64. If you read in the string, how would you get the image I know other database systems (like ASA) that has a build in function to do it for you but I cant find a similar function in SQL Express Thanks Hi I found out that I can encode images to base64 by using the FOR XML functionality. As far as ...Show All
Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in
Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Wi ...Show All
