Giancarlo's Q&A profile
Visual Studio Team System Unit Test Wizard doesn't let me select certain projects.
When adding a new unit test to my test project, the Unit Test Wizard jumps back to the "Add New Test" dialog when I select certain projects. If I try to click either the '+' sign for the tree structure of the project or try to click on the project's CheckBox, the dialog returns to "Add New Test". Is this because test units cannot be auto-generated for this project, and if so why do I not see some form of message dialog --Edit-- I also attempted to create a test unit directly from the class that is to be tested. I received the error: "The source code cannot be sufficiently parsed for Code Generation. Please ...Show All
Visual Studio Tools for Office VSTO & MS Access
I'm just trying to get up to speed on the new Visual Studio 2005 and the new Tools for Office. We do a lot of work with MS Access (and Excel) and what I find odd is that in all the articles I've read there is not mention of MS Access w.r.t. the VSTO. Do the VSTO not work with MS Access What am I supposed to use if I am doing development with Access 2003 Can someone please clarify how VSTO works with MS Access We've already been burned by buying Visual Studio 2003 "Special Edition". It includes the Office Tools that I believe work with Excel and Word. Too bad we bought the upgrade to work with Access 200 ...Show All
.NET Development .NET 2.0 Error Reporting, Can it be disabled?
I'm not looking for a system setting, I'm not looking for workarounds... I want a way to disable it on an application basis, programmtically, in code, the way it should be. To require all developers to workaround, write perfect code (who does this anymore anyways ), or make huge try...catch blocks is ludicrous. The fact that we got by just fine with .NET 1.x and the way that all exceptions were handled, and without it calling for a WER. I know that some Microsoft personel read this, and I refuse to believe (or at least won't take it nicely) that there's no VIABLE fix. I can't request of my clients to _not_ click the send error repor ...Show All
Smart Device Development Changing Either back or Forecolor of row in datagrid
Hi, How to change forecolor of row in a datagrid. I need to change the color based on some condition. I'm using VS 2003. Thanks! Oh! No other Way Lengthy procedure. OK..Let me try! Thanks! ...Show All
SQL Server SQL Server <-> Terminal Server
Hi, Is it possible to setup terminal server on the box running SQL Server 2005 already. And vice versa I have windows server 2003 standard edition. Thanks Peter, I found this article that states as following: "SQL Server 2005 is not supported on Windows Server 2003 Terminal Server". It sounds suspicious for me and misleading... Does "not supported" mean "will not run" Thanks ...Show All
Visual C++ Linker problem with VS2005 Beta2 unresolved token OQColl<oObjectRef>::<MarshalCopy>
I'm working on a smaller test case but I have a set of C++ projects that I am converting to /CLR. In assembly A there is a template class OQColl<> and class oObjectRef In assembly B, I have another class (RefRelIPConverter) with a method that uses an OQColl<oObjectRef> If I declare it like this: RefRelIPConverter: omeMethod( OQColl<oObjectRef> myColl ) will generate the following link errors: RefRelIPConverter.obj : error LNK2020: unresolved token (060000F7) OQColl<oObjectRef>::<MarshalCopy> RefRelIPConverter.obj : error LNK2020: unresolved token (060000F8) OQColl<oObjectRef>:: ...Show All
Visual Basic DataAdapter & query
kind of a 2 part question: I need to query on 3 parameters: i.e. Name AND <X AND >Y at one Table in the DataAdapter. In using the DataAdapter.SelectCommand approach I find that one can pass only 1 parameter. So I simply put 3 separate commands - - and this seems to work (when there is a match) though I haven't rigorously checked it. so part 1 - is this approach ok In this DB there can only result in 1 match or no match. part 2 where I'm stuck is that finding no match is a good thing for the user - but I get a ServerError message of Not non-Zero index....... I was hoping that by having a bound textbox/label to one fi ...Show All
SQL Server load CatalogItem array in treeview
Hi, i would like to load my array 'items' in a treeview CatalogItem[] items = rs.ListChildren("/", true); is there anyway that automatically does the layout or do i have to check what the type is of everey object so I can indent correctly. thanks I'm really looking for this one :). I'm trying to do it manually but I can't find a way to get the reports in the right structure. I'll show what I want to accomplish and how I am trying it now: WANTED LIST: + Adventureworks - Company Sales - Employee Sales Summary + Subfolder - Report from subfolder - Report from subfolder Code trying to ...Show All
SQL Server 2000 - Add New Report wizard blows up
Could anyone help PLEASE! I get this EVERY TIME I try to use the wizard... BTW, the hyperlinks shown in the message are USELESS - 404's result... TITLE: Show technical details ---------------------------------------- TITLE: Microsoft SQL Server ---------------------------------------- This wizard will close because it encountered the following error: For help, click: http://www.microsoft.com/events.asp progname=MicrosoftSqlServer&progver=9.0&msgsrc=CreatePubWizard.dll&msgid=CantStartSnapshotAgent ---------------------------------------- ADDITIONAL INFORMATION: Key cannot be null. Parameter name: key (mscorlib) For h ...Show All
SQL Server Package executing error
I wrote package using Integration Services and tried execute it on Visual Studio 2003 (Visual Basic). Package was loaded, but execute method has failed without any error messages. When I tried to run it on Visual Studio 2005, execution was successful. Codes: Dim App As DTSLib.IDTSApplication90 = New DTSLib.Application Dim p As DTSLib.IDTSPackage90 = App.LoadPackage("d:\temp\Package.dtsx", True , Nothing ) p.Execute() What can be the reason of the trouble Thanks, Alexander Only one .NET runtime can live in one process. Visual Studio 2003 uses .NET ...Show All
Visual Studio Team System workitem sub folders
Is there any means by which to add additional folders under the workitem folder and/or team queries such as to have queries specific to a given area divided out into their own folder. I suspect I can do this via wtiexport and wtiimport Is this true I'd recommend posting the question to the "Visual Studio Team Foundation" forum. If you already have done so and not get a reply, let me know and i will make sure it gets answered. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=22&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Single or Double for vector floats?
as i'm new to this. i was wondering if your only allowed single floats for vectors etc in directx. most of the code i've seen only has single float values. as i wanted to use the following unit scale 1.000 = 1 meter, 0.100 = 10cm, 0.001 = 1mm. with a max value of 99999.999 i think i'll need double floats for using this. so would i get away with this Since all of the overloads and functions take singles you only have one choice to pass into there, but you can do all your intermediate cacluations in doubles and only round at the last minute. If you use the calculation engine here http://babbage.cs.qc.edu/c ...Show All
Visual Studio Tools for Office To view Infopath in the browser
Hi, I want to view the infopath file in the Web browser using Dotnet. I am able to render the template.xml file by using the view.xsl file. But some components like Datetime picker and also some scripts are missing Can any body help me in solving this problem Thanks, Gowrisankar. I am rendering InfoPath in IE since 2 years, and no matter what you do you will always have things missing. Wait for the InfoPath 12 Server, it does it automatically. ...Show All
Windows Forms TreeView Problem
Hi, I am using a tree view web_ctrl1.0 of net on my aspx page. the tree view control has checkboxes in it as follows: parentnode -> childnode -> subnodes. every node(i.e parent node, child node , sub nodes) has checkboxes in it. my requirement is that when i click on the checkbox on the parent node the child nodes and subsequnetly all sub nodes should be checked automatically. Pl help me in finding solution. thanks in advance. Mohan, As this is regarding ASP.NET, please post on the http://forums.asp.net forums. ...Show All
Visual Studio Team System XML report doesnot show excluded and absent messages.
Hi all, I have an FxCop project with certain active, excluded and absent messages but while I save the report, the excluded and absent messages are not saved in the XML. Only active message are saved. The option in project default for excluded and absent messages are checked still the report doesnot contain excluded and active messages. I want all the messages in the report. Please anybody help me in solving the problem.Thanks in advance. David - You state that "...absent and excluded violations ... are not displayed if you view them in Internet Explorer (this is by-design)." My group had a desire to have a report th ...Show All
