Colin Hardie's Q&A profile
Silverlight (formerly WPF/E) createToXAML ?
Is there any (or will there be any) way of extracting XAML/XML from the plugin It could be useful to be able to process the contents through the XML DOM in some scenarios. Tim No, we have no current plans to serialize the existing tree of objects to XAML, so don't expect a createToXaml for quite a while. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual Studio Visual Studio & SQL Server Reporting Services
We are in the process of deploying a SQL2005 Enterprise server. We have also purchased Visual Studio Pro. My question is the proper method to set up our developer's workstations. Should both VSPro and the Reporting Services designer be installed or will VSPro do the trick If both are needed which should be installed first Any guidence is appreciated. ...Show All
Visual Studio Team System Problem in Migration from VSS to Team Foundation
I migrate a VS.NET 2003 project from VSS to Team Foundation. After the migration, I need to migrate source control bindings from Visual SourceSafe. ( http://msdn2.microsoft.com/en-us/library/ms253188(VS.80).aspx ) In step 7, I run the Visual Studio Conversion Wizard. After the wizard is executed, The solution and project fies are converted to VS.NET 2005 format. But at the same time, one file in the project called PubDS.cs is renamed to PubDS.Designer.cs. PubDS.Designer.cs is not under source control. It also do not have the history of PubDS.cs. In step 10, when I do check in, since the PubDS.cs is check out in Step 4 but renamed during conversion in Step 7, I can not check in this file. Pls help. TFS : Beta3_re ...Show All
SQL Server Schema changes no longer replicated to subscribers
Hi to all, I have a merge (pull) replication between SQL Server 2005 and SQL Server Express clients. Data synchronisation is ok, and I already made some schema changes (like adding new columns) at the publisher database which were applied to the subscriber as they should. Now this doesn't work anymore. New columns added at the publisher (with ALTER TABLE or Management Studio) are no longer replicated to the subscribers. I don't get any error messages, and I can't find any hints in the logs why this has stopped working. The "Replicate_Schema_Changes" is still set to TRUE (in general, none of the publication options had been changed). I tried sp_enumeratependingschemachanges to find out any "bad changes" ...Show All
Visual Studio 2008 (Pre-release) Binding to collections
I know that if you want to bind to a collection and have your changes to said collection show up in the control you need to implement INotifyCollectionChanged or use ObservableCollection<T>. I don't want to dirty my existing domain model by adding these interfaces though. Is there another way to hook up the notifications At the moment I am thinking of using a DynamicProxy to replace the collections with an Observable one but even that feels dirty... any ideas I have been looking for some general WPF architecture guidlelines for a while and this looks pretty good. I will give this a go. Thanks Drew! ...Show All
Visual Studio Team System I want my SC Data Back
Hi, We moved our TFS from one machine, to another machine. We backed all our databases up and restored them on the new Server according to the procedure explained on MSDN. Anyway, I saw all my portal documents and Work Items but when it somes to the files stored in Source Control part, I get TF30059:Web Service Initialization Error and nothing shows up. Is there any missing configuration or restore procedure I have made Nope, the error shows up saying that error existed when initializing web service HTTP 503 with the error number TF... Anything else are the way they were but source control does not show up... Is there any configuration customization related to that part when restoring TFS I could have missed ...Show All
Visual Studio 2008 (Pre-release) can't install nor uninstall Beta2
hi everybody since last week i am unable to do anything with WinFX beta2 I began with FebruaryCTP : all was fine I upgraded to Beta2...after uninstalling using standard uninstall and the uninstall tools. for some unknown reason WCF didn't install and since then it s a nighmare !! I tried everything...read all the posts here and here....nothing succeed.. right now : uninstall tool says : can t uninstall some components...check you have admin rights (I try to translate as the message is in French...) I have admin rights so the problem should be elsewhere... if i try to install again, there is a message : PerformanceCounterInstaller.exe has encountered an error and it ends... i don t know what to do....except perhaps formatting my hard drive ...Show All
SQL Server application failover error
We currently have a system that uses sql server 2005 mirroring. In testing the application, we fail over the database in the middle of a 2.0 .NET web application. The failover partner is specified in the connection string. The next request to the web server results in an error page popping up with the message "A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)" This message only occurs for the first request to the web server, all subsequent requests sucessfully access the new failed over database. Thanks for any suggestions. Matt, Thanks for your resp ...Show All
.NET Development Common Question: How can I clean a machine which has the .NET Framework 2.0 or 1.1?
Since this question seems to be quite common, I will post this sticky thread and will update it periodically as new information becomes available. The following is from Aaron Stebner's WebLog : "Removal tool to fix .NET Framework install failures I wrote an application late last year that is designed to clean up computers that have problems getting the .NET Framework 1.0 or 1.1 to install correctly. I have been working on refining the tool for the past couple of months, working out some bugs, adding additional cleanup features, etc. The .NET Framework setup Product Support team has been using this cleanup tool for the past few months to help resolve many cases, and the internal Microsoft helpdesk has also started using it to ...Show All
Visual Studio 2008 (Pre-release) Animation on a richtextbox
Hi, I am new to WPF and XAML. I want to create a richtextbox and have an animation on top of the richtextbox. This means when a user clicks on the backspace button inorder to delete the characters an image should appear instead of the carat. This image should move from right to left as the user clicks on the backspace button. Can anyone help me out in this Thanks in advance, Subrajit ...Show All
Visual C# How to make the application run for long time?
Hi, all I am now using a Serial Port program written in C# like HyperTerminal to communicate with a radio baseband board. I will get desired response after sending certain data to the board. There is a switch on the board. If I switch off it and then switch on it, a "RESET" string will be sent to the Serial Port program so that the program will refresh and initialize. However, after about 30 times switch off/on, the time of refresh/initialize increases a lot. I have to wait for several minutes for the program to get ready. I know to use a software repeatly will slow it down. However, 30 times is not very many. I want to ask is there any way or method or suggestion for more efficient coding to create software whic ...Show All
SQL Server Handling errors in SSIS
When I have an alternet Data Flow in an event handler, caused by a record failing to be inserted due to a unique-key constraint violation, does this increment the number of errors, counting towards the MaximumErrorCount How can I NOT count it as an error The thing is, I need to insert 300,000+ records each day, and some may be duplicates from data already in the table. So I set a unique key constraint on the table, and if during the load, it fails, it will trigger an alernate data flow to load the error records into another table. But if someone tries to load a file that already has been loaded, for example, all the records would be duplicates, which would be equivelant to 300,000+ errors, and I don't want to keep setting the MaximumEr ...Show All
SQL Server Problem with multi-valued parameters since SP1
Hi, after the installation of SP1 I have a problem with multi-valued report parameters. The option to select all values are gone. Is there a bug within SP1 Before the installtion of SP1 multi-valued report parameters works fine, the option to select all values was added automatically within the preview in Visual Studio 2005 and in published reports on the server. The server was migrated from SQL2000 SP4 to SQL2005. So long Lemmi This is very, very disappointing. I will have to correct around 25 reports that we just modified not 6 months ago to use the multi-value parameter. This is going to take hours of work that we just don't have. I agree with steveareno - I think an option to exclude the s ...Show All
SQL Server Relative date ---'Rolling 3 months' --help please
Hi, I need to add special relative date categories in SSAS that similar to the functionality offered by Cognos/Powerplay. With Cognos, you can create relative time categories very easily-- like ‘Rolling 3 months’, ‘Prior Rolling 12 Months’ etc. I created Time Dimension with SSAS BI Studio, added a new named calculation ‘Rolling 3 Months’ to the Time Dimension. Below is calculation code: CREATE MEMBER CURRENTCUBE .[Time].[Rolling 3 Months].[Rolling 3] AS null , VISIBLE = 1 ; Scope ( { [Measures].[ORDERS] } ); // Rolling 3 Months ( [Time].[Rolling 3 Months].[Rolling 3], [Time].[M ...Show All
Windows Forms How to code "Find" feature in .NET Browser control?
Hi Guys! Any way to code the "Find" feature using the .NET Browser control Matt Do you mean the "Find(on this page)" feature which allows you to seach the text within a page for a certain string If so, well, it is possible using a custom form for the search dialog and you can search the document's text (without tags) using a loop through all the elements within the document (through the webBrowser1.Document.All collection) and searching for the text within the element's InnerText property. If that's your case and you have any further questions, post here, but please specify the language you are using! ...Show All
