mbp's Q&A profile
Visual Studio Team System Output of base.Problems collection
I have a custom rule that loops through all the methods available and checks for a particular violation. If there is a violation, I use the below sequence to add it to the Problems collection Resolution resElement = base.GetResolution( "error string" ); Problem prbDescription = new Problem( resElement, "Class Name" ); base.Problems.Add( prbDescription ); I have the above set inside the loop and during the execution (debugging), I am able to see the base.Problems having the list of items that were detected for violation. During debugging, I am able to see the list growing as I add the violations to base.Problems At the end of the Check method that I have overridden, base.Problems is returned. But in the ou ...Show All
SQL Server Generate Scripts option in SQL 2005 Management Studio
Did anyone even bother to test the Generate Scripts option for a database I changed the following options from their default setting: "Include Descriptive Headers" = True "Include if NOT EXISTS" = True "Script for Server Version" = SQL Server 2000 "Script Indexes" = True and scripted all Stored Procedures, Tables, User-defined functions, and Views Problems: 1. Generates IF NOT EXISTS (SELECT * FROM sys.objects ... should be ...SELECT * FROM dbo.sysobjects ... 2. Generates WITH (IGNORE_DUP_KEY = OFF) ... on the indexes. That portion is incompatible with SQL 2000 3.Generates EXEC sys.sp_addextendedproperty ... should be EXEC dbo.sp_addextendedproperty ... Is there a hotfix or patch to deal with these issues ...Show All
Windows Live Developer Forums Contacts Control in Dutch?
I saw the contacts control is available in french now, that's great!! Would there be any chance for a Dutch version I'd like to see that, there are a lot of Dutch Messenger users so... I am even willing to translate it if you like Thanks! Haha you should indeed read your own homepage before replying . I saw the post on the site so I decided to ask. I understand the point about volunteers that are translating. Btw, I know there were a lot of Dutch people on TechEd, a couple of my friends did lunch with you (guess who ) and I would have been there too if I wouldn't have more important things to do... ...Show All
SharePoint Products and Technologies How do you prevent users from creating personal sites?
I have created 7 sites, one for each department and I will be setting up permissions for certain staff to manage them. What I would like to prevent is everyone clicking up in the right-hand corner on 'MySite' and creating their own personal site. Is there a way to either keep this from happening or hiding the tabs from view I am unsure where to do this. Do I go to Central Admininstration, Application Management, Applications Security Or, do I set up security from the site collection, site directory I set up an individual user as a test and put him in a group with read only priviledges and he was still able to create his own site. ...Show All
SQL Server Sql 2005 Express + Replication
Hi, does any know of any plans to support publications in Sql 2005 Express I want to start moving away from MSDE but we use replication (one MSDE database is the publisher and several client PC's use MSDE as the subscribers.). Maybe it is on SP2 Thanks for any info you have on this. Graham There are no current plans to support Publication in SQL Express in 2005. Our recomendation is to use SQL Workgroup Edtion as the Publisher. I'm interested in the scale of your application. How many client PC's connect to the Publisher How is this application used (i.e. Is this something you sell, something that was developed as an internal application for your company ) Why do you use replication If y ...Show All
Windows Forms How to best update program
Hi My program consists of a exe-file and several .dll-files. To install the program I've created a setup-project. If I later on updates my files (exe and/or dll), how should I implement the update-routine 1. Make another Setup.exe (uninstall / install) 2. Manually copying the files Kind Regards The recommended way to update an application deployed with a Visual Studio setup project is to rebuild the project after incrementing the setup project's version and setting RemovePreviousVersions to true. ...Show All
SQL Server what diference between cube.Update(UpdateOptions.ExpandFull) ;cube.Process(ProcessType.ProcessFull);
In my actual job i tray to process a collection of cubes in SSAS ; what diference between cube.Update(UpdateOptions.ExpandFull) ; cube.Process(ProcessType.ProcessFull); help ! You use cube.Update deploy chages in the cube structure you have made to the server You use cube.Process to (re)fill cube with the data. ...Show All
SQL Server How to move Log Ship monitor to a new SQL2K server
Scenario: Old SQL server - which currently serves as monitor for ~ 100 Logship jobs needs to be dismantled - the monitoring function should be absorbed by another new SQL server. If anybody has accomplished this successfully and would like to share - I am all ears :) Log shipping monitor will be installed on the new server only when you run through the log shipping wizard to setup on the new server, it is not a seperate component you can take it as a script. ...Show All
Visual C++ FindFirstFile returing wrong results
hi all , i used FindFirstFile function to search for files in folder and supplied a input as 'sea*' and though there is no file starts with sea still it is returing results as SEER_CSpringRight.xxx and SEER_ESpring_F_L.xxx .. Any help is appreciated . Thanks SvenC , I got the reason why the files are searching .The reson is that the API FindFirstFile is searching for long as well as for short names. And short names contains string 'sea' . So Please can you tell me which API , i have to use in order to search based on only long names. ...Show All
Visual Studio Report Viewer Table
Hello, I'm trying to display the table information horizontally insead of down the form. For example, instead of this; A B C D I would like to display two tables beside each other and display the tables and data like this Table 1 Table2 A C B D Or, if there is a way to select (filter) which data is displayed in the table that would work also. For instance, if I could display just the odd pieces of data (the 1st, 3rd, etc, etc) in one table and the even pieces of (2nd, 4th, etc, etc) in the other table that would work also. Is this possible If so, how Thanks in advance, John One option is to follow an approach as discussed in Chris' blog article about horizontal table: http://blogs.msdn.com/chrishays/archive/2004/07/23/Horizonta ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anoying shadows
Hi, i wanne use shadows as a very basic thing in my game for hundrets of objects, so i searched for a way to do this as a shader. I thought this would be the best way. So well, in the NVidia or AT I SDK are alot of samples but first of all they are not really simple and they have a lot of compability issues. I tested both on Geforce 7 and a mobility radeon 9700 but couldn't figure out a working solution for both worlds. Can someone help me with this Does someone know a good tutorial/url/whatever for real shadows as shaders I already searched a lot but XNA and HLSL stuff isn't that well known yet I think. CU Thunder2002 Here is a very good demo with source code included showing Parallel-spl ...Show All
Visual C# How to write Debug directive in CS file?
In aspx file, it is written as "<%@ Page Language=C# Debug="True">". In CS file, how to write it. My purpose is to get a pdb file after compilation of the cs file into dll file, so that I might trace the line number once some errors occur in web application. Thks a lot! If you are using ASP.NET 1.1 and VS2003, you'll need to change your project to select the debug configuration (go to Build -> Configuration Manager on the menu). This controls the settings for the assembly with your code-behind. In ASP.NET 2.0 / VS2005, with the default web site project model, it's all controlled by web.config. See: http://odetocode.com/Blogs/scott/archive/2005/11/15/2464.aspx ...Show All
SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE
Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. Right...but for SP2 it should allow me to install SQL Serevr2005 1st. It's giving me the warning and on moving ahead it's not giving me option to installing SQL Components (SQL Server, Analisys Server, Reporting Services etc.)...what I am getting is just to install Nativ ...Show All
.NET Development Comboxbox Itemdata is not available
I have a VS.net solution (multiple projects), created entirely within VisualStudio.Net 2002. I try to access and update ItemData property of a MS-form combobox, design mode, yet the property is not accessible under. NewItemID is not accessible either. I have queried from the internet and found an article saying similar problem when migrate VB6 application into .NET. However, for my scenario, the entire program is completely created within VisualStudio.NET 2002. Thank in advance. The ComboBox class doesn't have an ItemData nor a NewItemID member. Trying to convert FoxPro code ...Show All
Visual Studio Creation of Item Template within VSPackage
How do I create an Item Template within a VSPackage I have an item template already created and working, I also have a VSPackage implemented and working but how do I connect the two I see from the IronPython example is the VS SDK samples that it is possible but I cannot see how it is implemented! the Item Templates are listed in subfolders in the Templates folder in the project with their own template files but I cannot see any reference to them in the VSPackage files! Is there some Attribute I need to add to the VSPackage files Please help, the help docs are inadequate for this particular issue. I've come across an attribute type ProvideProjectItemAttribute, I think it should work just like the vspackage attribute, ProvideProjectFactory ...Show All
