irohan_fernando's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. ContentManager & Texture Loading Problems
Sorry if this may have been addressed, but I havn't been able to find anything about my particular problem. I am building a game development tool with XNA because I like its ease of use and it helps cut development time. I would like to be able to load a texture from any folder or network drive via the openfiledialog, but if I try something like : texture = content.Load<Texture2D>(openFileDialog_Main.FileName); I get an error: "error loading. file not found". I am still new to C# and XNA, so it could be a misunderstanding of how things are done. It would be great to be able to load textures like this as many artists keep their texture content in various locations. I am also trying the simpler method of : texture.fromFile(G ...Show All
SQL Server error when using "Referenced" dimension usage against an oracle data source
Hi All, I've built a cube using a data source and DSV that point to an Oracle 10g database. I am able to process this cube so long as the dimensions are all related to the main fact table using regular dimension usage. The problem I'm having arises when the dimension has to have "referenced" usage through an intermediate dimension. In this case, when the cube processes, the SQL that gets generated and run looks akin to the following: ----------------------------- SELECT [CstOrds] . [CstOrdsDISCOUNT0_0] AS [CstOrdsDISCOUNT0_0] , [CstOrds] . [CstOrdsBUY_QTY_DUE0_1] AS [CstOrdsBUY_QTY_DUE0_1] , [CstOrds] . [CstOrdsDESIRED_QTY0_2] AS [CstOrdsDESIRED_QTY0_2] , [CstOrds] . [CstOrdsQTY_ASSIGNED0_3] AS [CstOrdsQTY_ASSIG ...Show All
SQL Server To program between the process of load of data in SSIS
It is possible to program part of the process of load of data within the SSIS. The origin is a Flat file (.txt and .dat) and the destiny a SQL Server 2005. All the fields of the file are not mapean origin with the destiny table and data are needed other tables that are in the Data Base. Maybe, I don't understand what you really need. Start here - Working with Packages Programmatically ( http://msdn2.microsoft.com/en-us/library/7474b1f4-7607-4f28-a6fd-67f7db1dd3f8.aspx ) ...Show All
Windows Search Technologies Your Microsoft Exchange Server is unavailable
When I conduct a search I often get the message window popping up 'Your Microsoft Exchange Server is unavailable'. Does this happen to anybody else Solution Hello djbjmb, Could you please provide me with some additional information What version of Windows Desktop Search are you running Do you see the error noted above only when searching or do you see it at other times as well Are you running Outlook in cached exchange mode Thanks, Paul Nystrom - MSFT ...Show All
Software Development for Windows Vista Is there a "standard place" to store writeable not plublic shared files to please UAC?
Our program has two files must be writeable (a database file and a config file) which are shared by all dedicated users of the program on a single system. The automatic redirection to a single users directory path is not helpfull in that case. Before changing our program: Is there a standard place on Vista to store writeable not public shared files (We whant also to pass Vista Logo test...) Thanks in advance Hi Lela, sorry, i did not got an answer nor found a acceptable solution on our own... It seems to me we are doing the very old "Main fault of IT: Dividing function and data" again - but only on a higher level now. To stay solution oriented: Where would you place a Jet database file and a config file ...Show All
Visual Studio CR deployment question
hi is it possible to use crystal reports for my complied file without installing it with embedded Crystal reports module for example just copy some dll files and run the application on any computer I want to run the application without installing it. thank you in advance ...Show All
Visual Studio Express Editions Drilldown comboboxes
Hi, Please can someone point me to a C#2005e solution for access-style cascading comboboxes where users drilldown their selection to find what they want. eg: Combo1 : Country -> Combo2: State -> Combo3: City An example is found here : http://www.candace-tripp.com/download/2table_cascadecombo2k.zip or http://www.codeproject.com/cs/miscctrl/DrillDown.asp Thanks ! Wow, that sounds pretty much what I want to achieve. I wish there was a C#2005e sample though. Yes, the data is coming from an access mdb. I have the country table with countryname and CountryID, state table with all state names, stateID and countryID, city table with city names, cityID, stateID, countryID. I'm open to c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. RomantiqueX XNA engine
Version 0.0.1 released. We will be glad to get some feedback from you. Download engine demo at http://www.codeplex.com/romantiquex/Release/ProjectReleases.aspx . Information is avaliable at http://www.codeplex.com/romantiquex . Please, provide the following info: your graphics card, FPS, FPS with enter pressed (with no HDR). Best regards, RomantiqueX development team. Wow, very cool demo. I have a eVga Geforce 7950 GTX KO it was between 50 and 55 fps with HDR 60 - 65 with no HDR ...Show All
SQL Server LastNonEmpty vs MDX Script solve order
Hi, I'm using the Account Intelligence and some account members use the aggregation function LastNonEmpty. Witch evaluates before the LastNonEmpty function or my MDX Script that I put in the calculation inside the cube If my MDX Script change some values only in the the leaves of the time dimension in one account (taht uses LastNonEmpty function). What will be evaluate first My MDX Script and after the LastNonEmpty function or the oposite Handerson LastNonEmpty is applied to the members above the leaves of Time dimension by aggregation the leaves through LastNonEmpty. Therefore if you will apply some calculation to the leaves of Time - it will be done before the LastNonEmpty aggregation. ...Show All
SQL Server HELP!! i deleted services!
i have installed vs 2005 and sql server enterprise edition on an xp pro sp2 machine.but i could not connect to the mssqlexpress default database that it came with.in a moment of madness i deleted the mssqlserver services (3 of them).how do i reinstall them i thought uninstalling the products and reinstalling them would help but it did not. please help! cheers Sorry to correct you, but installing SQL Server services won’t be available for enterprise edition, only the client tools. Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Basic How do I attach an event handler ?
Hi, I'd like to know how to attach an event handler in VB, There is a C# sample code in this URL that I want to convert to VB (Figure 8) http://msdn.microsoft.com/msdnmag/issues/06/01/speechinWindowsVista/default.aspx loc=&fig=true#fig8 I have succesfully converted every lines to VB except those : //Attach an event handler pizzaGrammar.SpeechRecognized += new EventHandler<RecognitionEventArgs>( PizzaGrammar_SpeechRecognized); Every attempt I try to fix it, I'm told that I need to use AddressOf, but when I use it, It must have two arguments, and I'm unable to set the last. pizzaGrammar.SpeechRecognized = New EventHandler( AddressOf RecognitionEventArgs , pizzaGrammar_SpeechRecognized) ...Show All
SQL Server Dattime format problems when retrieved on FreeBSD server
I'm using MSSQL with PHP and this works fine on a Windows server. When i move to a FreeBSD server, the date formatting is not working. FreeBSD retrieves the date as: mon dd yyyy hh:mi:ss:mmmAM - and php's functions for formatting date fails. I've tried using: Convert(varchar(10), Date, 103) AS Date, and the date is formatted fine - BUT sorting on date does NOT work. Are there any way i can do changes to datetime behaviour on server side I NEVER wants the date in mon dd yyyy hh:mi:ss:mmmAM. I don't need milliseconds, and i want 24h format - not AM/PM. Are there any settings on the SQL server for this Where are you doing your sorting With T-SQL CONVERT-style affects sort: ORDER BY Convert ...Show All
Visual C# Method call graph [in visual studio 2005]
Could in any way I can find Method call graph [in visual studio 2005]. I am working on a C# application This question should probably be posted in the Vsual C# General forum, http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=31&SiteID=1 . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom Content Manager - Generics Question
Greetings & Salutations: I am trying to put together my own kind of "Content Manager" as the current one appears to only work with content that has been added to the project, and not with say, a file on a network drive somewhere. I really like how the "XNA ContentManager" uses generics, and was trying to implement it myself, but encountered some errors. I looked on the net but couldn't find the answer I was looking for. Basically, I would like to be able to fetch any kind of asset from my own content manager, regardless of what it is . The following function does not work as it is written. Could someone point out the proper way something like this is supposed to be implemented (PS. The content is stored in dicti ...Show All
SQL Server Connection to Teradata via SQL Server 2005 x64
Hi! I'm using SQL Server 2005 Enterprise on a Win2003 x64. I want to connect to a Teradata 2.6, but there are no x64 ODBC- or OLE-DB-drivers for Teradata yet. So, only OLE-DB can't be used as the 32-Bit OLE-DB-driver for Teradata is not visible e.g. if you want to create a linked-server-connection. One workaround would be to use "OLE-DB for ODBC", but this OLE-DB is also not available on my system. Does anybody know a way to connect SQL 2005 x64 to Teradata or to get "OLE-DB for ODBC" up and running There is an entry to a similar issue ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=699116&SiteID=1 ) where the workaround "use 64Bit-ODBC with .net ODBC " ( ) puzzles me! Thanks B.G. ...Show All
