Serdalis's Q&A profile
.NET Development XPath Query Assistance
Hello, I have some relatively simple XML as follows: < xml version="1.0" > <dss:OPERATION xmlns:dss="XYZCorp/Test.xsd"> <dss:MULTILINK Tag="42"> <dss:LINKS Name="Links"> <dss:COLUMN Name="ID"> <dss:CELL ColumnName="ID" RowName="Row1"> <dss:PROPERTY Name="ObjectName" Type="PROP_TYPE_STRING" Value="Journey_Time_Section_10100" /> </dss:CELL> <dss:CELL ColumnName="ID" RowName="Row2"> <dss:PROPERTY Name="ObjectName" Type="PROP_TYPE_STRING" Value="Journey_Time_Section_10110" /> </dss:CELL> ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Optimizing meshes
Basically, I'm building a sort of Isometric Tiling engine in XNA, the same you see in games such as Civilization. Each tile in my 3D world is a mesh (cube), so many cubes form the grid or playing area. As expected, rendering many meshes at once slows down the game a lot. It can handle a 15x15 grid (225 meshes) but going over 20x20 (400 meshes) slows the game down to a halt. I'm not sure how they do it in modern games, but I'm assuming they build the terrain seperately and then represent it as a grid.. so that could be a possibility. I also thought of using sprites to represent the tiles but that (I think) severely affects the 3D stuff I can do, such as panning/rotating a camera or selecting objects. So what sort of optimizations c ...Show All
SQL Server Newbie looking for direction
Happy Friday afternoon, all, My task is seemingly simple. I have data on the server in MS Excel Files. I need to get the data into multiple tables in a SQL Server db on the same server. I have been only working with SSIS for a bit, so please bear with me. I can load the data directly from the Excel worksheet to one table, but I need to run an already defined stored procedure on the data from Excel before putting it into tables. I need to loop over all the rows and run the data from each row through the stored procedure. So, I think I need an Execute SQL Task withing a For Each Loop, but neither is available on the Data Flow page, and I don't see how to use them in the control flow page. I don't see that any of the Data Flow tr ...Show All
SQL Server Distribution table cleanup
Using SQL Server 2005. Replication working fine except the distribution table is continuely growing. Started to configure maintenance job (catagory: REPL-Distribution Cleanup) Any suggested steps that will not break the replication. Is there a SP available that will address my problem. Thanks, You can reduce the retention period using sp_changedistributiondb. For more info, please refer to the following articles. http://msdn2.microsoft.com/fr-fr/library/ms146868.aspx http://msdn2.microsoft.com/fr-fr/library/ms181877.aspx Regards, Gary ...Show All
SQL Server Report Builder Cube deploys to the wrong location!!
I have built a cube successfully however, it deploys succcessfully but to the wrong location. I have MSSQL.1, MSSQL.2 and MSSQL.3 and I Reporting Services in is MSSQL.3 but the cube is deploying to MSSQL.2/OLAP and I can't access it from there. I have tried changing the server name and specifiying the server/instance but it fails. I'm at my wits end! HELP! Debra Report builder does not connect directly to a cube. It connects to a Report Model which is different. Once you've created a cube you first need to create a data source to point to that cube. you can do this by clicking the "New Data Source" button on the toolbar in report manager. Give it a name, select "Microsoft Analysis Services" as the c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game crash
Hi I am making my first in XNA and i have a problem. When i run my game in debug mode, it all works fine, but when i try to build the game, and run it from the executabel in the Release folder, it crashes. Whats wrong is it because XNA is in the beta stage ...Show All
Visual Studio 2008 (Pre-release) How to transfer(Upload) file to remote server using code in Winfx 3.0
Hi all, I am new in winfx 3.0. I don't know how to transfer(upload) file from client pc to remote server. Is there any FTP control available in web based application in win 3.0 It's possible to do this using ASP.Net and/or Atlas. ASP.Net provides a FileUpload Control and you can find the documentation on how to use it here . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Audio hoax
I was just wondering whether the XNA framework somewhat more than using its internal icky audio engine based on prefabbed XACT packages, like writing PCM data directly to a buffer I'm not very far into game programming as of yet, but to me the use of XACT seems like a superfluous step in the work flow of a creating a game, or just an additional level to a game. Correct if I'm wrong, I've just read the documentation. First of all, wave banks, cues etc. can only be created within the XACT authoring tool, hence no possibility for integration other than using what's created in the tool. Second, apparently no reflection or discovery can be made on XACT packages in your client code to discover cues. Scenario: A level editor in which you ...Show All
Windows Search Technologies Windows 2003 Indexing Service Custom Properties (PDF Files)
Greetings, I am using DSOFile obj to save/retrieve custom file property (MyCustomProperty) information to PDF files (Works Great!) I’d like to now include the MyCustomProperty to MS Index Service Catalog… I changed the following reg setting as follows… [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Catalogs\MyIndex\Properties] "B725F130-47EF-101A-A5F1-02608C9EEBAB MyCustomProperty"="31,128,1,1" Then Stopped MIS and deleted the catalog files and restarted MIS… When you view the property list from MMC the MyCustomPropery doesn’t show up… Is this not possible I thought MIS was able to accept Custom Properties… What am I doing wrong ...Show All
Visual Studio 2008 (Pre-release) TransactedBatchingBehavior
I'm trying to figure out the TransactedBatchingBehavior. I've added the following endpoint behaviour to the service. TransactedBatchingBehavior tbb = new TransactedBatchingBehavior (100); // batches of size 100 endpoint.Behaviors.Add(tbb); I'm using MSMQ as a message store and want to batch messages together to improve DB update performance(apparently thats how it works, by cutting down the overhead of creating a transaction). My receive method pull's messages of the queue in batches for processing into the database. Does anyone have any idea how to get the current transaction from within the receive method, if using the TransactedBatchingBehaviour. I want to be able to confirm that the process is occuring inside t ...Show All
.NET Development Print word document to specific try
Well I am coding an application using C# for my company which requires multiple printing Word Docs, at a specific Printer of the installed Printers, and at a specific tray. So, i used word object ( Microsoft.Office.Interop.Word) for print the document but i cant see any tool that indicate how to print to specific tray in my printer. There any way to do that or still stay with the same way (word object) Thank's I have searched it brings over of this, but I have not found anything, you can use it I want that there goes out for me the dialogue box that goes out when you pulsate CTRL+P in a word Is it possible (As when you do document.save () the dialogue box goes out of saving) Thanks!!!! ...Show All
Windows Live Developer Forums Skinning
Hi can anyone tell me if MSN Live Messenger is skinnable. If so how can I skin it The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microsoft.public.msn.messenger Get the latest information on Messenger from the Messenger Team MSN Space: http://spaces.msn.com/Mes ...Show All
SQL Server Copy SQL Server 2005 DB to SQL Server Mobile - is it possible?
I'm creating a prototype of a PDA app using CF.Net 2.0 and SQL Server Mobile for a prospective client and I've gone through and designed, built and populated a database using SQL Server 2005... and then realised where I really need it is on the PDA! Without going through all the pain of setting up SQL replication or writing all the code is there a way to export a 2005 database to SQL Server Mobile so it results in an .SDF file I know I can script each table out and run it via the SS2005 management studio when connected to a local .sdf file then copy that to the PDA but the thing is I really want to keep my test data so I don't have to re-enter it again. TIA for any help... there must be a way to do this but I'm quite new to SQL Server ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D application using D3D - zoom and navigate
i have a map application, that contains a background map as a texture, and it is possible to place objects on the map. right now i'm working on the following functions: 1)zoom. 2)navigating. the current implemention for these features is by changing the background texture coordinates (U,V), and changing the objects (that you can place on the map) coordinates on the screen (X,Y). At the moment, not all of the features work properly and i think that with a bit of tuning i can make them work almost as i want them to. Now- to my question. I've read a bit about Transformation and as i understood i can use it to help me navigate and zoom but i couldn't figure out how. can Transformation help me can you give an example or guidelines for usi ...Show All
Software Development for Windows Vista XAML Based WF Linked to Assembly
I am trying to set up an XAML based workflow where all of the activities are either common activites or defined in a custom assembly. I am loading the xoml file at runtime using an XMLReader to load the xoml file, then calling CreateWorkflow with the XMLReader. After working with this a bit I was finally able to get the workflow to load correctly. The workflow starts with a While Activity. The While activity calls a member of my custom SequentialWorkflowActivity class named 'ContinueLooping'. 'ContinueLooping' sets args.Result = true; This should result in a continuous loop, however, the workflow always completes right away. If I put a message box in the 'ContinueLooping', I never see the message box. If I change the name of the 'ContinueL ...Show All
