progames25's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. VC# Problem!!
Hi,I want to install XNA game studio but I m using Visual Studio 2005 Professional but It needs express edition... How can I use XNA with Visual Studio 2005 Professional You can install Game Studio Express side by side with Visual Studio. Once you do that, you can use either for your development. In VS Pro, you will need import the Microsoft.Xna dlls. You can only create the custom xna project files in GSE though, and the proj files are not compatible between the two. ...Show All
SQL Server MDX Performance Issue with TOPCOUNT Using Calculated/Derived by Time Specific Members
I am new at The MDX game and need some help. I have the following MDX that executes a wee bit to slow when I specify one of the following members (See MDX below) [Measures].[Prio Shp Unt], [Measures].[Unit Variance], [Measures].[Prio Cst Ttl], [Measures].[Prio Awp Ttl], [Measures].[BM Variance] in the TOPCOUNT statement. I have arrived at the conclusion that the problem is because I speicfy a period at the member selection that is different to the period on my where clause. Now the problem is that both the periods are user driven and can be anything from current back for the last three years. In other words the users have the option to specify which two periods they want to compare. Also the TOPCOUNT measure is user driven and can be ...Show All
SQL Server SSIS OLE_DB Command Error
All, I'm using a OLE_DB Command which inserts row by row into a table. I have a trigger firing to process business logic. One part of the logic is to raise an error back to the OLE-DB Command to allow the error handling flow to call a Script Task to write back to the original table that this row has fail on insert. However, I get this error message and my error handling branch does not fire. [Header Table Command [262]] Error: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E14 Description: "The transaction ended in the trigger. The batch has been aborted.". An OLE DB record is available. Source: "M ...Show All
SQL Server Start Debug button loading all packages
I have a project with 48 packages. When I press the green button for Start Debug, it seems like Integration Svcs. is re-loading or some type of validation occurs (screen flashes with each package being highlighted in solution manager) for all packages in the project before executing the specific package. Also, If I close all the packages except one that is to be executed and press the green start debug button, all the packages are loaded before executing the specific package. There is always a delay before the actual package is executed when using the green start debug button. If I right click on the specific package in solution manager and execute it, the package is executed immeadiately without any delay. I did not have this iss ...Show All
SQL Server Totals (or Sum) in a Function or View
I have the following data in a table: Item Qty 1 1 1 -1 2 3 2 -1 2 -1 Using a function, how can I code it so that I get the following: Item Qty 1 0 2 1 Also, if a Qty does equal 0 (as in item 1), can I use a >0 in the Criteria field of the resultant expression to remove it from the Function results Hi, You can put a filter to your results after grouping by using the "HAVING" clause. This will help you remove the 0 summed results. select item, sum(qty) from item_table group by item having sum(qty) > 0 Eralper http://www.kodyaz.com ...Show All
Windows Forms How to: indicate changed value in DataGridView?
Hi, In a DataGridView I need to indicate cells having a value changed by the user. At the moment I use the CellValueChanged event to set the cell font to bold upon a change of value: private void dataGridView_CellValueChanged( object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; cell.Style.Font = new Font (dataGridView.Font, FontStyle .Bold); } However the cell should also revert to normal (not bold) if the user happens to restore the original value. Where do I find the original value to compare with Is there a better way Note: the DataGridView's DataSource property is set to a DataTable loaded from a database. Your help will be much apprec ...Show All
.NET Development Out of memory exception (c#, .net 2003, large images)
Hi, I am developing an application (c#, .Net 2003, Framework 1.1) that deals with large images. The application captures multiple image frames and stitch them up into a large hige-res image. We are looking at 50+ frames and sometimes more than 100 frames of 1024x768 color images. I am also using double buffers for edit purposes. To get an idea of what this application does: beyond the image acquisition and stitching, it is very similar to Paint.Net ( http://www.getpaint.net/index2.html ) in providing tools to draw on top of the image. The program is hitting out of memory exceptions -- sometimes even with smaller images. Documentation on LOH seems to explain this observation well, especially with memory fragmentation a likely cause of ...Show All
Windows Forms LoadDataRow() Exception: "Input array is longer than the number of columns in this table."
Hi, I am using framework 1.1 I am trying to use LoadDataRow() to get rows from one table and add them to another datatable, but I always get the exception "Input array is longer than the number of columns in this table." even though the structure of both tables is exactly the same.. _dtposition is the source datatable and dtTmp is the table in which doing LoadDataRow to get rows from _dtposition DataTable _dtPositionData = GetData(); DataTable dtTmp ; dtTmp = _dtPositionData.Clone(); dtTmp.BeginLoadData(); DataRow dr1 = dtTmp.LoadDataRow(_dtPositionData.Select("MyId = " + _sMyId),true); //Exception thrown here dtTmp.EndLoadData(); There is no primary key set for _dtPositionData. so, I manually created primary key columns  ...Show All
Visual Studio CreateItem and wildcards
Does anybody know why this does not work It seems to have a problem with the recursive wildcards <CreateItem Include="@(sourceServer->'\\%(Identity)\$(OutputPath)\**\*')"> <Output ItemName="newSource" TaskParameter="Include"/> </CreateItem> Thanks, Russ Russ, it works for me. <Project xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <ItemGroup> <SourceServer Include="danmose1"/> </ItemGroup> <PropertyGroup> <OutputPath>public</OutputPath> </PropertyGroup> <Target Name="t" > <CreateItem Include="@(sourceServer-> ...Show All
Visual Studio Express Editions better installer!!!
Hi, i hate the installer in Visual C# 2005 Express.. is there any better installer (free or cheap).. Here . Use dem brain. ...Show All
SQL Server Dynamic Date Parameter in Report Manager
Hi all, I was wondering if there's a way to override the default date parameter of a report to a dynamic value such as Today(), Now(), DateAdd(),... through Report Manager. I know this can be done in Report Designer, but never been successful when I try to change the date parameter value in Report Manager. I've tried to change the date parameter value by clicking on the Override Default button in the report's properties page from Report Manager, error like the one below will be shown after I entered Now() in the Default Value field and clicked Apply: The value provided for the report parameter 'StartDate' is not valid for its type. (rsReportParameterTypeMismatch) Thanks in advance. Does anyone have a solution to the ori ...Show All
SQL Server Linked Servers Error Microsoft SQL Server, Error: 7411
1. Replication Transactional between two servers -- SQL Server 2005 as Distributors and Subscribers ---SQL Server 2000 as Publishers 2. Linked Servers errors: " Server (Publication Server) is not configured for DATA ACCESS. (Microsoft SQL Server, Error: 7411)" Did anyone familiar with this problem Thankssss TJ_1 I configured in UI Microsoft SQL Server Management Studio and Enterprise Manager. 1. The initial snapshoot copy the publications database completed with no errors. 2. The Log Reader Agent is running in SQL Server 2005 3. There are two Linked Servers: LinkA is working. Link B is not working and prompt error of "Link Servers Error Microsoft SQL Server, Error: 7411 ...Show All
Smart Device Development Memory insufficient on Mobile 5.0 emulator
I try to debug an application on windows mobile 5.0, however there is a low memory on the emulator. I am try to reconfigure the memory size for the emulator however the part was being disable. Please advice I not really understand about that, i have downlaod the program n run it,got something prompt out but not manage to capture it. It come out very fast and end it. ...Show All
Visual Studio Team System How does the OverlayIconIndex property of class BaseHierarchyNode work(TFS related)
I'm assuming that the index would point to the same imagelist as that used for the display icon of the node but this seems not to be the case. Furthermore I'm guessing that provided I could get this function to work the icon at the index would be overlayed on the main Icon. Sort of like the short cut overlay icon. Am I right in my assumptions and can some one show me how to use the property. Thanks. Hi Morten, Can you please verify that this is still an issue If so, let me know and I'll find someone to provide help. Thanks, -Matt ...Show All
Visual Studio 2008 (Pre-release) Cannot set Name attribute value 'Tab1' on element 'MyTabItem'. 'MyTabItem' is under the scope ...
Hello, I'm using WPF RC1 and I'm trying to create a set of custom control with template to skin the appearance of the TabControl. When I'm trying to use those controls in my application, I'm getting the following error: "MyPage.xaml(71,69): error MC3093: Cannot set Name attribute value '_Tab1' on element 'MyTabItem'. 'MyTabItem' is under the scope of element 'MyTabControl', which already had a name registered when it was defined in another scope. Line 71 Position 69." Here is a trimmed version of the application's page XAML. < DockPanel LastChildFill = " True " > < rbn:MyTabControl DockPanel.Dock = " Top " > < rbn:MyTabItem Header = " Tab1 " Name = "_ Tab1 " > ...Show All
