Bertrand Caillet's Q&A profile
SQL Server Adding SQL Reporting Services to SQL Server 2005 SP1
I'm using Reporting Services Configuration tool to add the Reporting and ReportingTemb databases. Once the have been created, the tool attempts to upgrade the databases and can not create a script. This are the errors I see from the from the Reporting Services Configuration Tool after creating the databases: ! Verifing Database Version The Database version (C.0.8.40) does not match your Reporting Services installation. You must upgrade your Reporting Services database. ! Creating upgrade script for database version C.0.8.40 ReportServicesConfigUI.WMIProvider.WMIProviderException: The version does not match a supported version. at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseUpgradeScript(Strin ...Show All
Visual C++ Visual Studio 2005 Service Pack 1 Beta - error C2244
Hello, I installed SP1 Beta asap, because I am encountering the "Updating Intellisense ... 100% CPU load" problem. Intellisense problem seems to be resolved, but now I can't compile QT 4.1.4 here is compiler message: -----------------------------------------start c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qhash.h(805) : error C2244: 'QMultiHash<Key,T>::replace' : unable to match function definition to an existing declaration c:\qt\4.1.4\include\qtcore\../../src/corelib/tools/qhash.h(790) : see declaration of 'QMultiHash<Key,T>::replace' definition 'QHash<Key,T>::iterator QMultiHash<Key,T>::replace(const Key &,const T &)' existing declarations ...Show All
Visual Studio 2008 (Pre-release) Custom Skins/Themes
I want my users to be able to customize my program through xaml-files. I've seen that this is possible in WPF in some Login-example(found here[1]). I've tried to copy that code into a new project but nothing happens when i start the program. (The buttons size will remain 30x30 pixels) [1] http://wpf.netfx3.com/files/folders/applications/entry3927.aspx This is my code: Main-window (XAML): < Window x:Class = " TestSkin.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " TestSkin " Height = " 600 " Width = " 800 " > < Canvas Width = " 800 " Height = " 600 " > < ...Show All
Windows Forms Update tables using stored procedures
Hi all! I saw here similar questions but did find any proper answer. So, again... I have two tables in the DB. The master table has ID of the unique record from the details table. To retrive and store data I have two stored procedures: ALTER PROCEDURE dbo.GetAllMovies AS SELECT dbo.Movies.ID, dbo.Movies.MovieName, dbo.Genres.GenreName, dbo.Movies.Year, dbo.Movies.Description FROM dbo.Genres INNER JOIN dbo.Movies ON dbo.Genres.ID = dbo.Movies.ID ALTER PROCEDURE dbo.UpdAllMovies ( @ID int, @MovieName nvarchar(50), @GenreName nvarchar(50), @Year int, @Description nvarchar(1024) = null ) AS begin declare @GenreID int select @GenreID = id from genres where genrename = @GenreName UPDATE Movies ...Show All
Visual Studio How to create a IVsUIHierarchy object?
Hallo i finally created a ui hierarchy tool window and i can show it. I got its IVsUIHierarchyWindow interface. the only thing i need to do is to call the Init-method with an IVsUIHierarchy object. How can i get such a new object Is there anywhere a factory or do i have to implement it by myself (i can not belief it is this way). Thanks Benjamin Hi Benjamin, That is indeed correct. There is no generic IVsUIHierarchy implementation that you can reuse. Each project system implements it's own, as does the server explorer. For managed code, you can leverage the ...VisualStudioIntegration\Common\Source\Project sources. For native (C++) packages, there is the VSL headers (see the Reference.ExtensibilityExplo ...Show All
Visual C# How to convert string in ABCD format in to Unique integer
hi Is there any way to convert string in this format ABCD into a unique integer like 1234 Example: GWRS = 5232 SRWG = 7845 WTMS = 15 YOMS = 142 int X = ConvertMyString("GWRS"); private int ConvertMyString(string sTring) { } and so on ...... Thanks ... I don't care about getting large numbers. But there is an error in your code Error 1 'System.BitConverter' is a 'type' but is used like a 'variable' ...Show All
Windows Forms Terrarium
Is there any plans on porting Terrarium to run on Framework2.0 It has been ported by another user http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=373738&SiteID=1 ...Show All
Windows Forms How can I make update version for application which was signed with certificate now expired?
If I change expired code signing certificate to new one and publish updated application, client will fail to launch. And code signing fails if I try to use expired certificate. How can I make update version for application signed with old certificate Same problem for us, except we just updated our server databases, updated our web methods, published the new version of our product, and Booooom.... Crash and burn! This should be Microsofts #1 priority NOW, because as of monday, everyone of our customers will have to uninstall and re-install because of this. We can't avoid that, too short notice, but we certainly won't trust clickonce anymore unless this sees a speedy fix. Unbelievable blunder from MSFT. ...Show All
Windows Forms Update a form
I have the main form Form1 and I start Form2 to add an item to Form1. How can I update Form1 when I have selected the item. you shouldnt use Equals() but the operator == instead as I had suggested. I had also suggested doing it this way: if (theForm.ShowDialog() == DialogResult.OK) { this.AddCheckBoxes(); } "theForm" being Form2 instance this is the correct way of doing this the way you are doing it is not correct as you are currently checking to see if the current form OK dialog matches the Form2 dialog result - not a good solution. What happens if your form dialog result changes Then the condition will not evaluate ...Show All
Visual Studio 2008 (Pre-release) Check if key is control
In Win Form .NET 2.0, KeyEventArgs have a property is KeyCode, and to check if user press a control key, I can use Char.IsControl(). But in Avalon, System.Windows.Input.KeyEventArgs only have a property is Key, and its type is System.Windows.Input.Key. But I can't get the key code of that key, and to check if user press a control key or digit key is complex. I am a beginner in Avalon, can you give some solution. Thanks! Keyboard.Modifiers will give you the set of ModifierKeys currently pressed. For e.g. below given code check whether Control+A pressed private void OnKeyDown(object sender, KeyEventArgs e) {   ...Show All
SQL Server Need a Quick Answer
Has anyone encountered this error message [Microsoft][ODBC Driver Managr] Driver does not support this function This occurs when importing data. The company I work for upgraded to Server 2005 and now what once worked fine now has an error. Any suggestions Did you try the new ODBC Driver from the SNAC drivers After installing the SQL Native Client you will have to change your connecting string a bit to make the application to use the new ODBC libraries. Connectionstring examples can be found on the www.connectionstrings.com site. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development What is the 3.0 runtime going to look like?
I'm looking at (and have installed) the RC1 of .NET 3.0 and it seems empty. Are LINQ, ADO.NET Entities, WCF, etc.. all shipping as individual libraries / downloads or is this just how it is for pre-release so each project can release betas as needed I've been looking around for a good explanation of "what versions of everything to download" and I haven't been able to find anything. Right now I can't seem to build ADO.NET Entity projects that use LINQ because of version dependency problems, and there seems to be a project-type in Visual Studio for each library I plan to use. What do I pick if I want to use multiple libraries I can understand keeping everything seperate during development but I would have expect ...Show All
Visual C# The Order Documents are Opened in Visual Studio 2005
Hi There is a small problem that is making me suffer Big Time. When I am in Visual Studio 2005, and Open Code Files, the code files' FileName appear on the top part of the IDE in Reversed Order: Most Recently Opened File appears First! On the Left, and in prior versions of Visual Studio, each file you open, appears with its filename on the top, from left to right: First=Oldest, Last(on the right)=Newest. How can I make VS2005 work like all other versions of VS used to work I am looking in the Options for changing this reversed order thing back to normal, but I cannot find what I need :( Please help me.. I downloaded the service pack hoping this lunacy would be resolved but as y ...Show All
SQL Server Matrix Subtotals/Cells
I've seen in a fex posts on this forum that it's at this moment not yet possible to create a dynamic matrix where for each cell i can calculate his row-percentage, his column-percentage. His total percentage can be done. A way i could still do this is to create another matrix that only holds the totals, but how can i reference a cell-value of a matrix from another field (If this can be done). KG. Harry. In the grouping scope parameter of the aggregate, you are specifying a value, "SdwOlap". What is this refering to Is this the name of the dataset or matrix If it is, then this explains why the totals are actually grand totals and not just the totals for the row. The aggregate is aggr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Hi Jeff, As some one who is a partner in a company (and lead developer) that produces enterprise high performance security applications, many of them in C#, I think you will be very surprised what you can do with C#. I develop in C++, C++/CLI (.net C++) and C#. C# is my favorite by far. While it certainly takes a lot of care and research to get the "barn burning" speed you can truly get out of C#. Once you know what to avoid and how to write performance critical apps in C#, you will only go back when you ...Show All
