Luis Esteban Valencia Muñoz's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Files on Xbox360
I'm in the process of writing my master thesis about hybrid shadow casting methods using the Xbox360. I have a few questions I would love to have clearified. - Say I wanted to use a .3DS file to represent my scene and models. Are there a way to get this file to the xbox360 without using the content pipeline since it doesn't support this format. I know this might be a simple problem, but I just can't seam to figure out how to do it. I know that Abi's RocketCommander uses some custom .level files which is just placed and copied directly. Would this work for .3DS files as well - In case it does, how would I access it Normal file IO This whole reason for using the .3DS file format is the fact that it incapsules geometry, cameras, ligh ...Show All
Visual Studio 2008 (Pre-release) Composite GoF pattern
Hello! Can't you show how to make the Composite GoF design pattern using TPH: table-per hierarchy Particularly I obviously think of the three XML files needed! Best regards, Henrik Dahl Hello! In addition to what I wrote above I would like to ask you if you may be so kind to submit the database definition as well, as I've probably done some mistake as I'm getting the error message "Invalid Content - The Entity Container Type 'Composite_SelfAssociation_Container' for the CDM space specified as part of this MSL does not exist in Metadata workspace. File URI: C:\Documents and Settings\Henrik Dahl\Dokumenter\Visual Studio 2005\Projects\HD Testprojects\Composite\WindowsAppli ...Show All
Visual C# Returntype of Methods
Hallo, May be it sounds like little over ambitious. Still i want to clear my doubt. Is it possible to determine the returntype of a method at runtime regards swingme Returning Object works, you'd have to cast the Object back to the type of the variable you're assigning. Something like: int ival = (int)myObject.getText(s, len, type); A much cleaner way that doesn't require casting is to provide overloads of the getText method, one for each type you're handling. For example: class MyObject { public void getText(String s, out int value) { value = 1; } public void getText(string s, out double value) { value = 2; } } int ival; double dval; switch(str) { case "N": myObject.getText(s, ...Show All
Smart Device Development Form closing event not fired
Hi, I have an application with only one form. If the user wants to close this form I want to ask him, if he would like to save his work. I'm trying to do this in the form's closing event. But this event is not fired. Has anyone any ide ralph Brendan Grant wrote: Does this app target the 1.0/1.1 or 2.0 framework If 2.0 consider using the FormClosing event instead as the Closing event has been obsoleted. Brendan, This is not the first time you answer a Compact Framework question as if it were a full framework one. Please, take care to read the question and to make a note of the forum it has been posted to before answering ...Show All
Visual Studio 2008 (Pre-release) Charts with Xaml
in my work i need a WPF chart that I can use it in xaml code i search about it but i can't find any chart, just ChartFX of softwarefx website i download it but it is not working please i need this chart , any one know where i can download it I should have done this a lot sooner but I've been working really hard for the last 6 months on back-end stuff, but I've finally open sourced my chart control, and written a codeproject article about it. The codeproject article can be found here: http://www.codeproject.com/useritems/swordfishcharts.asp Note that the location of the article might change after the site editors review it. If so, then you should be able to find a link to it on this page: http://www.codeproject.com/script ...Show All
SQL Server Dynamic SQL in SSIS with Oracle
Hi , 1.Dynamic Sql ---------------- My source table is Oracle .we want to have dynamic query the following steps we have done. a.Created a new variable called StrSQL & ProductID variable contains values for where clause. b.Set EvaluateAsExpression=TRUE c.Set Expression=""select * from prod where product_id = " + @[ProductID] d.OLE DB Source component, opening up the editor e.Set Data Access Mode="SQL Command from variable" f.Set VariableName = "StrSQL" But i am getting the following error Error at DataFlow Task[OLEDB Source[1]]:An OLEDB error has occured, Error code: 0x80040e14. AN OLE DB records is available . Source "Microsoft OLEDB Provider for Oracle" Hresult: 0x80040e14 Description : "ORA-00936:mi ...Show All
Visual C# restart computer using c# code
Hi guys. Could you please explain me how to restart the computer using c#... What I found on the internet was only for XP....but what about the other OS I know that for xp it is using Microsoft.Win32; and then System.Diagnostics.Process.Start("ShutDown","/r"); But what about the other OS Also I have one more question. Is there a way to retrieve the OS of the user...so that depending on the OS to call different function for restarting the PC...well that's it Hope you can answer me... KC.out! This is the code that works for me [ StructLayout ( LayoutKind .Sequential, Pack = 1)] internal struct TokPriv1Luid { public int Count; public long Lui ...Show All
Visual Studio Team System Can you copy the CA Rules from one Team Project to another Team Project.
Can anyone tell me if it is possible to copy the CA Rules from one Team Project to another Team Project. Also, it is possible to export CA Rules from a Team Project If you are using Team Foundation Server, you can (sort of) copy the Code Analysis rules specified at the Team Project level by right-clicking on your solution and selecting the Migrate Code Analysis Policy Settings to Solution option. This will copy the Code Analysis settings from your Team Project settings to each project in your solution. However, note that this method will NOT uncheck any Code Analysis settings on your projects --- it will only check settings that were not previously checked. So, although it copies down selected rules, ...Show All
Smart Device Development Pull problem
Hello all, i have a question as all :). i pull data from a remote database,succefully,i make any changes and then succefully push the data back to the remote database(im using sql ce and sql server 2000).i can view that the data that i have pulled are the new data but when i try to use them in my programm i only see there previouse state.without the updates... thnx in advance.... you'll have to be a little clearer ... what program are you trying to use them in your own code what objects are you using you probably need to post some code here ... if it's a third party app, not sure how much help we can give you. ...Show All
Visual Studio 2008 (Pre-release) LocBaml doesn't work with RC1?
Hi, I'm currently using RC1 which is released several days before, when I have read about Globalization in WPF, I met LocBaml example. Follow the indication, I successfully build LocBaml.exe and it's sample solution and got a folder named en-US and a HelloApp.Resources.dll in it, but when I tried to use LocBaml to extract localization info, I got problem: D:\Tools\Dev\LocBaml\CSharp\bin\Debug>LocBaml.exe /parse D:\Tools\Dev\LocBaml\XA ML\bin\Debug\en-US\HelloApp.resources.dll /out:D:\temp\text.csv Microsoft (R) Baml Localization Utility 1.0.0.0 Copyright (C) Microsoft Corporation 2005. All rights reserved. Could not load file or assembly 'HelloApp' or one of its dependencies. The syste m cannot find the file specified. I tried to debug ...Show All
Windows Search Technologies Search stops working in Outlook 2007
Environment: Vista 2007 (final) Office 2007 (final) Outlook 2007 Search was working fine for 2 weeks and then it stopped for no apparent reason. I made sure that my folders were indexed. I rebuilt the indexes twice. I rebooted (obviously). Nothing works. I have not tried re-installing Office but I really prefer not to. The following warning appears in the Application logs : Log Name: Application Source: Microsoft-Windows-Search Event ID: 3036 Task Category: Gatherer Context: Windows Application, SystemIndex Catalog Details: The specified address was excluded from the index. The site path rules may have to be modified to include this address. (0x80040d07) Some ...Show All
Visual Studio Team System How to enforce unicity in work items fields
Hi, I am importing work items from a file using C#. I would like to know if it is possible to enforce a unique constraint on custom fields. (I get duplicates when I import the file again) Thanks by advance. ...Show All
Visual Studio Team System Problem opening a work item in a template editor
I have a problem, i dont know what i did wrong but when i try to open my bug file in the process template editor it gives me this error 'There was a problem loading the work item type definition. Work Item Type: Bug A duplicate key " exists ' is what i get, if anyone knows a solution to my problem please help me out Thanks for your time and help When you changed the word priority to severity, did you change/remove the existing severity field What are these 2 fields mapped to You can use witimport with the /v option to make sure the work item type definition is valid before you upload it. http://msdn2.microsoft.com/en-us/library/ms253163.aspx Hope this helps! ...Show All
Visual Studio Express Editions System.Drawing
I've got this application where I wish to put circles on it through System.Drawing but I have looked around and I cannot find anything which has code or proper help on the matter. Any help is welcomed AliQ take a look at this: http://www.samspublishing.com/articles/article.asp p=29477&seqNum=5&rl=1 http://www.java2s.com/Code/VB/2D/DrawEllipse.htm I hope it gives you a head start. It would help if you can post some code you are having trouble with ...Show All
Visual Studio Team System Trying to add a new user to TFS Licensed users
Hi all, I am trying to add a new user to my TFS environment. The user is in AD and can log into the domain so I am pretty sure this is not an account issue. When I go to add the user to the group and search on his name TFS returns no results, when I drill down in to the AD I do not see the OU the user is in. I see what appears to be a cached version of AD. So my questions is does TFS cache the AD information (which I think it does), and if so how do we clear that cache. I have checked the other DC's and it appears that replication is not an issue. Thanks. ...Show All
