TapasChoudhury's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. How do I protect my code when distributing it?
Having read the FAQ. I noticed that in order to share your game creations (and lets face it, you can't get recognised without sharing your games), you need to send the other person the entire uncompiled game. This includes sourcecode, graphics, music, sound etc. etc. They then compile the code and download it to their xbox360 account and then only if they too are on the games creation program. My key worry here is that you send them everything you have just worked incredibly hard to create. Presumably they can then send this stuff on to whoever they please and god forbid, even sell it on! It strikes me that there isn't much incentive to distribute things this way. How is Microsoft going to prevent the above scenario Is there going to be a ...Show All
SQL Server SQL 2005 32-bit memory
http://msdn2.microsoft.com/en-us/library/ms143685.aspx indicates 32-bit Standard Edition will support the OS maximum for memory. However, ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/34950321-2bfd-4679-8f1b-0a0a440eb443 in BOL indicates AWE is only supported in SQL 2005 Enterprise Edition. Is it possible to allocate 6-7 GB of memory to SQL 2005 Standard Edition with 8 GB of physical memory on a 32-bit Windows 2003 Enterprise Edition server It appears the disconnect is that BOL indicates Enterprise Edition is required for AWE. I also realize 64-bit does not require AWE. William Lowers wrote: What is the purpose of setting the config of “Perform volume maintenance tasks” Where di ...Show All
.NET Development XSL Query
i am trying to retrieve all of the hobby elements from the following xml file file but my xpath expression in my xsl file only seems to display the first hobby element. any ideas how i can loop through and display them all baring in mind that it may not be the same amount of hobby elements in the next xml file. XML File <cv> <hobbies> <profile flavour="Exhaustive"> <hobby>Running</hobby> <hobby>Football</hobby> <hobby>Golf</hobby> <hobby>Cinema</hobby> </profile> </hobbies> </cv> Hi, Here is an example that will point you in the right direction... < xml version='1.0' encoding='UTF-8' > ...Show All
Windows Forms "CausesValidation" and "UserControls": Does validation work in this scenario?
I have created a UserControl that consists of a panel with various controls attached to the panel. One control attached to the panel is a TextBox control. When I attempt to respond to the Validation event on the TextBox control it does not fire when it is expected. If I click away from the TextBox control to a Button, UserControl, or Panel control the Validation event does not fire. Yet, if I click on ListBox control the validation event does fire. All of the controls I attempt to click on have CausesValidation set to true. Does the Validation event NOT fire when a control is embedded in a UserControl, or am I having some other issue Thanks, Jason ...Show All
Windows Search Technologies WDS3 beta memory issues
Hi, I have several problems with my tablet. The problems involved memory usage and throwing everything into a SYSTEM Idle Process. The insane memory usage was found in searchindexer.exe, keyboardsurrogate.exe, and tabtip.exe. The memory usage for searchindexer.exe tends to be between 94 to 184 megs. (although unrelated to this topic, tabtip.exe hovered around 24 megs except for strange spikes to 150 megs at which point the system would freeze and keyboardsurrogated hovers around 17 megs, but I've seen it at 83 megs.) I have been able to lock-up my tablet in less than a minute and within the execution of 1 program. Typically, it locks after I attempt launching 2 or more programs, say firefox and explorer, or outlook and spysweeper. I've ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Timing in a C# Managed DirectX Game
Im currently programming a C# 2d Game Engine in Managed DirectX and I am having some problems with how to do timing. Ok for now I have a class set up for timing (copied from mdxutil.cs) which gives very accurate time. Now my problem is how to use this time. First I have a class called Sprite, with a method Update(double absoluteTime) and each frame I call this method and pass the current time from the timer. Now lets say I want to move the sprite (according to its velocity) 5 times per second, and I want to update the sprites animation every 2 times a second. How would I use the timer to accomplish this. Is my approach right or am I completely off track Thanks I don't want to move to XNA yet although I ...Show All
Visual Studio Express Editions RSS Screensaver Starter Kit
This thread is the place to ask questions and provide feedback for the RSS Screensaver Starter Kit. Hi, I have used the Screensaver starter kit. It will come up up with the MSDN default RSS feed. but... settings does not work... there is an error message when i click it. this is probably because i could not find ssNews.scr.config when the instructions said to copy to sys32. Basicly, the main problem is that I cannot change RSS feed HELP! thanks, Benjamino ...Show All
SQL Server Generating Create Alter Drop Statements
Im using SQL Server 2005 Standard and am trying to get T-SQL to do something that can be done easily through the UI, Genernate SQL Scripts for Create Alter Drop for objects. In the SQL manager its as easy a right clicking a DB Object and going to tasks. Im wondering if there is a way of doing that through T-SQL. Thanks in advance! There is no easy way to do the same from TSQL. Best is to use SMO or SSIS to script out the objects. You could use the built-in metadata function OBJECT_DEFINITION or sp_helptext system stored procedure or query system catalog views. But you will have to code lot of the logic to determine dependencies, generate drop statements or ALTER TABLE etc. So it is best to use one of the methods above. ...Show All
Visual Studio Express Editions Program opens, then closes right away
I have writen this code: # include <iostream> using namespace std; int main () { cout << "Hello World" ; return 0; } then compiled it, but when I open the executable, it opens then closes right away, and I was told that it's running to fast, is there any line of code that will make a set pause np ;) remeber, any "return <number>;" (replace <number> with any number) in "int main()" will end the program. if you dont want to display anything at the end do: #include <iostream> #include <windows.h> using namespace std; int main() { cout &l ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is adding every asset used to the project a necessity.
As I ask this, I suspect that the answer may be that I just don't know enough about the content pipeline. In previous hobbyist games I've worked on, it's been common to have a file that specifies a level or UI setup including which textures to load. The game parsed this file and loaded the textures appropriately. This separated the art from the code and allowed artists to modify or create new levels without any work in Visual Studio. My understanding is that any asset that is used must now be added to VisualStudio if it is to be loaded through the ContentManager. Does this mean that when I create such a file which defines a level (including all assets) I must also add all of these assets to VisualStudio This seems.... to put it directl ...Show All
SQL Server Reporting services hangs
Hi, someone doing some reports for me using Reporting Services is getting some problems. This is what he stated the problem as: "There is a ASP.NET service which eats up all of the memory until the report system crashes" By removing as many of the views as possible and using tables directly, the report successfully ran (in a bit over two minutes, processing 300,000 records), however, when doubling the amount of data to be included, the report wouldn't run again. Has anybody come across a similar problem and have any advice Thanks, Frank Thanks, I believe the developer has tried to do as much processing on the server, but I will pass on your suggestion. Upgrading RAM has already been suggested, but the system is for s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. RectangleF?
I've seen a thread here regarding the fact that XNA framework is currently missing the RectangleF class. Can I confirm that you are or aren't adding this class to the framework It's really almost essential for my game - I can't use the normal Rectangle class for the bounds of sprites/GUI controls because often I need to increase the location and/or position by values such as 0.25F. Anyway a quick yes/no/still unsure would be great please. Ah, well that's good at least. :) Cheers. Could you tell me how you pass these parameters exactly plz For example, will there be an option with a Vector2 specifying location and another Vector2 for size ...Show All
SQL Server How to pass values in Q Analyzer
I am using the Query analyzer and i have this stored procedure and i need to pass the ProductID and the OrderID and in query analyzer i call the " EXEC CustOrdersDetail 75 10347 " but i get a syntax error near 10374...so my question is how do i pass multiple paramters in the query anlyzer to see what the stored procedure will return.... SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO ALTER PROCEDURE CustOrdersDetail @OrderID int AS SELECT ProductName, UnitPrice=ROUND(Od.UnitPrice, 2), Quantity, Discount=CONVERT(int, Discount * 100), ExtendedPrice=ROUND(CONVERT(money, Quantity * (1 - Discount) * Od.UnitPrice), 2) FROM Products P, [Order Details] Od WHERE Od.ProductID = P.ProductID and Od.OrderID = @OrderID GO ...Show All
Visual Basic Key Press Events
I took some VB classes a few years ago and am trying to get back into the language since I finally have a copy of Visual Studio. My problem right now is I can't seem to remember how to take a key press and have that run a function. I'm trying to create a quick hangman game to help refamiliarize myself with the language. If anyone could help me that would be awesome. Go to Form_KeyUp (or KeyDown or KeyPress, depending on what you want to do) If e.KeyCode = Keys.nameofkey Then Messagebox.Show("Do whatever you want to do here", "Stuff", MessageBoxButtons.Ok, MessageBoxIcons.Information) End If ...Show All
Visual Studio deployment ON OS win98
wen i try to deploy my application on win 98 it works perfectly but non of the crystal reports works ,,,, don't know y !!! does any buddy know no i m using the version tht came in packege with visual studio.net 2003... i don't know the version. actually i m the beginer , don't know many things. i have solved the above written prob. but now itz giving a new error .........." Invalid keycode " now wat is this the situation is same..... whole application is working perfectly but none of the crystal reports are running. no i m not using any merge modules...... i hv just placed a report viewer on a form and on form load event . . . . crystalreportviewer1.reportsource ...Show All
