Grahamrounce's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Question on XNA Beta 1 Performance
Hello I have downloaded the XNA Beta 1 and created my first little test application. At the moment I am rendering a quad as the floor using a triangle fan and a rotating cube above it (indexed triangle list). My FPS are being drawn using a bitmapped font i wrote up real quick. Assuming I am doing everything correctly I am only getting ~400 fps. The same application (albeit using ID3DXFont) in C++ runs at ~800 fps. That's a 50% decrease in performance :\. I understand this is only a beta and may not be fully optimized but even then a 50% drop is fairly hefty. Could some of this be attributed to the fact that I'm inheriting from the high level Game class for window management instead of writing my own Maybe I'm just doing something very wron ...Show All
.NET Development How to: register a .Net assembly by remote
Hi guys, Could someone please suggest the best way to register a .Net assembly (using Regsvcs.exe) from remote That is I want to call the regsvcs on a machine from another machine. Tanks in advance! Thanks Sean, Remote Desktop and VPN are not a good solution for me, for I need to trigger the registration automatically. Could you (or someone else) please tell me something more about login script Thanks a lot! ...Show All
SQL Server Unable to display Graph/Chart image in Report viewer 2005
Hi, I have web application with report viewer 2005. Some of the reports contain the graph,chart. The data is populated in it dynamically. Locally, I see the reports properly but when deployed on Web server, I don't see the images in Chart (I see a 'X') When I right click -> show picture, the image is rendered. I dodn't understand what is going wrong Is it in my code or reports. Thanks, Tanmaya I checked the application log in eventviewer on server, it shows me ASP session expired error. It is not related with the security settings on the client. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Subscription not available on my Xbox!
Hi! Is there any reason why the Creators Club Subscription is not showing up on my Xbox I live in Norway, but I've not read anything about any region restrictions on this download. I want in on the fun too! I'm watching the "All Game Downloads" list. For instance, Viva Pinata is there and marked as a new release. But no XNA Creators Club . Is "XNA Game Launcher" the same as "XNA Creators Club" If so, no, its not there. ...Show All
SQL Server 'sys.sp_dbcmptlevel' can only be executed at the ad hoc level
hi i want to change the Compatibility level of the database(currently in use),autocommit is ON as EXEC sp_dbcmptlevel DM, 90 (OK in SQL-server 2005, no error) Now when execute this command in my application(build using Centura) throws error as Microsoft SQL Server:15432[Microsoft][ODBC SQL Server Driver][SQL Server]Stored procedure 'sys.sp_dbcmptlevel' can only be executed at the ad hoc level. I check the docs, what i find this Error comes only if u try to execute this in other procedure or uncommited Transation. there is no such thing i already checked that then What this error mean any hint Gurpreet S. Gill The problem is this part of ...Show All
Windows Forms Can't find prerequisites option on my VS 2005
Hello I am looking for the prerequisites option on my VS 2005. but i couldn't find it anywhere. I followed the instruction here. http://msdn2.microsoft.com/en-us/library/7eh4aaa5.aspx it said it is located in the properties pages under build property page. and it should have a prerequsites button there. but im looking around and couldn't find it. I am using a professional edition of VS 2005. Anybody knows where it is hiding Yeah thank you. I don't see it when i develop for WM 5.0 for pocket pc. what does this mean is that wm5.0 already has .net framework 2.0 install in there already ...Show All
Visual Studio 2008 (Pre-release) LocBaml Errors
I'm getting an error when trying to use LocBaml. I'm running the June CTP, but I could only find the code to compile LocBaml in the Beta 2 examples, which may explain the problem. The error is: File 'Puzzle.resources.dll' not found. Process: parse the Puzzle.resources.dll and send output to C:\ [works fine] move to C:\ Double check-mark up, [its there] run: LocBaml -g Puzzle.resources.dll /trans:WSLocal.cvs /out:c:\ /cul:en-US My error occurs there. My understanding was this file was being generated, so it wouldn't be found... no matter, I copy my old Puzzle.resources.dll into C:\ and give it another go. Now it complains that 'Puzzle' assembly cannot be loaded from the current working directory or from the GAC. So, quite puzzled now, I ...Show All
Visual Studio Unable to delete or rename share project
Hi All, I've accidentally share a project from trunk. When I delete or rename this share project. I got message: "file \\vsserver\data\b\bsqbaaaaa.b is already open". Now I'm unable to create any new share/branch from the trunk. Has anybody experience the similar problem, please share. I'm very appreciated. Best Regards, Try closing all VSS clients connecting to this VSS database and also stop VSS LAN service. Run analyze on the database and then try your action again. If this does not help try to find out which process is using this file. You could use Process Explorer from Sysinternals to do that. http://www.sysinternals.com/Utilities/ProcessExplorer.html ...Show All
Audio and Video Development HD-DVD DONE!
32 Hours and Im ready to burn!!! Thanx a million Jeff you were the primer! Do I just burn my 2 folders to a DVD-9 as Data or is there a trick to get the Toshiba HD-XA1 to play that way Thanks for the praise! I'm actually afraid to add up the hours I've spent so far. I assume since you have Sonic's Advanced Content tool that you also have their Standard Content tool. I'm referring to the HD version, not the SD. In Standard Content, you can burn to DVD-R. In the layout edior, you can select to include the Advanced VTS folder. Point it to the top directory that includes the ADV_OBJ and HVDVD_TS folders. Right now, you can't burn dual layer projects unforunately. I've also used Nero, but doing it as a DVD-Video dis ...Show All
Visual C++ Template function returning dependent type fails to compile
When I try to compile the code below I get the following error (VS 2005 SP1): error C2893: Failed to specialize function template 'T::value_type::{ctor} f(T)' 1> With the following template arguments: 1> 'N' code: struct X {}; template < typename T> struct C { typedef T value_type; }; typedef C<C<X> > N; template < typename T> typename T::value_type::value_type f(T t) { return typename T::value_type::value_type(); } int main() { N n; f(n); return 0; } It seems to be a bug. You can report it here http://connect.microsoft.com/VisualStudio From the error messag ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Number of AudioEngine instances
this is a repost , though answers seem to be far and few between on the XACT forums, so I'm trying my luck here: XACT docs Heh :-) It seems to be too new a technology to have much written about it, particualarly around how the editing UI works. I figured out you can merge global settings just from noticing there are Import and Export options in the File menu! ...Show All
Windows Forms skins
hi i am looking for some skins to use them with VC++ express ...Show All
Visual Studio Express Editions How do I highlight only the numbers...
Hey… I have TextBox1 formatted like this: TextBox1.Text = Format( Double .Parse(TextBox1.Text), "$ ###0.00" ) How do I highlight only the numbers in TextBox1 when the control gets the focus Best Regards Cathrine you can use regex however it is expensive, just to do this. as suggested, you are best to probably go through each char in the string, check if it is numeric (Char.IsNumeric( someChar )) then if it is, change the color. Or even better, as also suggested, use an RTB (not Return To Base, but a Rich Text Box!) ...Show All
Software Development for Windows Vista More information on ITypeProvider
Hello, Will the Beta 2 WF documentation be more complete for ITypeProvider (That is, will it give more documentation, beyond method signatures). Please see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=177366&SiteID=1&PageID=1 for further discussion. Thanks, Notre Take a look here for more information. ...Show All
Visual Studio 2008 (Pre-release) Moving objects around in a Viewport3D using mouse ?
I guess this imply transforming mouse position input into 3d world space. Looking at trackBall sample from Daniel LehenBauer, it seems that there are some methods here that would help to perform this but i can't find any way to achieve this. any Hint Here is one possible method which leverages our hit testing system to avoid doing the math by hand: Use Mouse.GetPosition() to get the mouse position relative to the Viewport3D. Use VisualTreeHelper.HitTest(...) to issue a 2D hit test at that point on the Viewport3D. The WPF will extrude this point into a 3D ray and report hit test results to you. If you hit a Visual3D you can cast the result to a RayHitTestResult. Presumably this i ...Show All
