rsd_za's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Some thoughts on XNA Game Studio / Framework
First of all, I'd like to note that what Microsoft is attempting to do with XNA is commendable. Game development is notoriously hard, getting harder by the month in fact. So Microsoft's goal of simplifying the process, opening it up to a whole new audience of student and hobbyist developers, is a natural one. However, actually attaining that goal is going to take a lot more than XNA. Here's why. The process of game development is difficult for a variety of reasons. When a new programmer first begins to learn game development, the earliest things they will have trouble with are things like wrangling the windowing system into doing what they want it to, reading input, drawing triangles, and loading content into their app. But once they've le ...Show All
Game Technologies: DirectX, XNA, XACT, etc. low fps
i'm confused about fps in my programme. i draw 200 textured triangles in 640x480 window but get only approximately 160 fps. it's strange but when i zoom out from triangles fps growth momentally, but when i close... PreferMultiSampling = false ; SynchronizeWithVerticalRetrace = false ; RenderState.DepthBufferWriteEnable = false ; (i need it coz, ill render triangles with transparent textures) i use DrawIndexPrimitives, i.e. useing vertex and index buffer. any ideas how to increase fps Well, there's no way to say for sure if we can't see any code. The reason that you get a faster FPS when you zoom out is that there are less pixels to send to the pixel shader, and generally just less to draw. ...Show All
Smart Device Development deploy with the .exe file
I have finished an application with c# .net cf 2.0 And I build it with the setting is "release" "any cpu", then I send the application's .exe to my user, and the exe file be in the application\bin\release . the user's handset is windows mobile 5 handset. Can the .exe run at the user's handset Is it right of my deploy way Please tell me, Thank you Dear ahmed, the files i have posted are working well and i receive no complains from any customer about it, plus the link you posted is 37 MB so it will not be very easy for all customers to download it. ...Show All
Visual C# Using Type specific collections
Hopefully I titled this post correctly.... I have three classes (just for clarification sake: ChildClass1, ChildClass2, and ChildClass3) all of which inherit from one parent class called ParentClass (again, clarifications sake). My library is obviously much larger than this, but I just wanted to keep it as basic as possible. Ok, what I need, is the ability to have a Type specific collection system that would allow users to add ParentClass Type objects to each other in a hierarchical fashion. Then what I would like to be able to do, is have a property inside ParentClass called Children that would allow users to iterate through the collection. So, say I have an object "pc1" of the ParentClass type, along with ...Show All
Windows Live Developer Forums Map.getAddressFromClickedLocationOnMap()???
Hi, Is there a method like the above I can get the latitude/longitude, but it would be nice to get the address somehow. Thanks, se I like it when i can answer several different questions with the same answer.... What your after is reverse geocoding, pass in a lat and long and get the address. VE doesn't support it currently, it would be really nice if it did. You can use the MapPoint web service to do it. As it is the same mapping data the results are really good. The only trick is as part of that service you have to pass in the correct region or else you will get something very basic as the default is Nth America. You can sign up for free account and test it out but be aware they curren ...Show All
Visual Studio Invalid argument for database
Hi, I have a report that is connecting to two different databases and retrieving data from a stored procedure in each. My problem is that when I try and set the destination of the database at runtime, I get the following error: Invalid Argument provided. Failed to open a rowset. Error in File C:\DOCUME~1\JAMES\LOCALS~1\Temp\temp_{5E8F9D66-6EFF-47E9-96F7-65D32A761DCC}.rpt: Invalid argument for database I have other reports connecting to the two databases and I am setting their destination at runtime with no problems. The only difference in this report is the fact that it is using stored procedures rather than tables directly. Strangely enough, when I set the designtime location of the database to be the location that i am sett ...Show All
Visual Studio Internet Connection in VS 2005
Hi, I just installed VS 2005 on my machine, but my online help cannot be accessed. I keep getting the message: "The request failed with Http Status 407. Proxy authentication required". IE on my machine does have proxy authentication. Is there a fix for this Thanks, Arshad Arshad, Where does this message appear Is it in a WebBrowser upon trying to view a help page, or is it in the Search toolwindow (Help->Search) Thanks, Jeremy Jones ...Show All
Visual Studio CR 11 exporting problem
Hi: I am suffering a CR 11 exporting problem. I am using exportToDisk function to export file to pdf. It works good when my web page and SQL are on the same page. After we seperated web server and database server, it only work in VS2005. When I access it from browser, it gives me error: Failed to open the connection.Failed to open the connection. C:\WINDOWS\TEMP\MonthlyCoverage {280AE9FF-C35E-4E16-BABE-ED435910FB14}.rpt I believe this is a security issue and did some search but not success. Please advise, thanks in adv. I've tried specify database name and password in the setDatabseLogon function, but still only work in the VS2005 dev. envirnoment. objRept.SetDatabaseLogon(strUser, strUser_Pass, "192.168.0.1" , " ...Show All
SQL Server HOW TO AUTOMATE THE JOB ( DTS) Using MS SQL 2005
Hi All, I have created the package using Import data ( from comma delimeted text file) Actually I schedule the JOB to run the package from SQL Server Agent I am getting error when start the job. ( job started successfully and executing time am getting error.) here is the Log error [298] SQLServer Error: 3621, The statement has been terminated. [SQLSTATE 01000] (ConnIsLoginSysAdmin) [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user 'VGOSVR\Saleem', error code 0x2095. [SQLSTATE 42000] (ConnIsLoginSysAdmin) If I run the .dtsx file from outside. it works fine do I need to do any kind of setup before running/starting the job Please advise Cheers Saleem i am assuming SQ ...Show All
SQL Server Control names of fields when exporting to CSV
My query returns fields that have spaces in the names, for example: select o.OrderID as 'INVOICE NUMBER', etc.. When I created the DataSet for this query in report designer, it changed all spaces in the field names to underscores, i.e. INVOICE_NUMBER. This report must be exported to CSV, and the names of the fields (first row in csv) must have the spaces, not underscores. But it appears RS uses the field names (not the names in the column headers of the report table control) as the field names. Is there any way for me to force the field names in the first row of the csv to something other than the field names in the DataSet Thanks! I think I you should be able to rename the column headers to c ...Show All
SQL Server Log Shipping Failover / Failback Question
Hello all, I'm about to setup Log Shipping in our SQL Server 2000 environment. I will have the primary server, one standby server, and the witness server in this setup. I understand the process of failover and the stored procedures needed to make this happen, but my main question is about failback. Once the standby server has assumed the primary role, will log shipping be automatically configured to start flowing from the new primary server to the old primary server, or will I have to go back and setup log shipping from the new primary server to the old primary server Thanks for any help or insight you can provide on this subject! Eric Thanks for the link Kevin! Since this is for SQL Server 2005 ...Show All
Microsoft ISV Community Center Forums Excel Macros/ Protection / HideUnhide VB command
Here is what I am doing I am using the HideUnhide command to HideUnhide rows. Here is a simplified version of what I am doing I have rows 1-20 and let's say when I input the number 5 in a specific cell (let's say A1) I want rows 15-20 to hide. This is easy and I can do it, but when I lock any of the cells on rows 15-20 and run macros, then it gives me an error. It seems that since the command HideUnhide does not have priority over lock cells, so it doesn't allow me to do it. In other words, if I lock cell A18 I cannot use the HideUnhide command because it would send an error. Is there a way to do this I have asked many people but noone seems to know how. Pierre ...Show All
.NET Development Timeout expired. the timeout expired prior to getting the connection from the pool.
Hi, I have developed a web application which works fine but sometimes the web applications hangs with the following message Timeout expired. the timeout expired prior to getting the connection from the pool. The application is developed in .net framework 1.1 and is running on IIS 6.0 . The database is oracle 9i. We are using Enterprise library application blocks for maintaining the database connections. So ideally connection leaks should not occur. This error occurs when a new user tries to log in to the application. I am not able to find any solution regarding this problem. Help regarding the same will be greatly appreciated. Thanks, Anzrul hi, It seems like program is not closing connect ...Show All
Software Development for Windows Vista XPS Copies filter
I have implemented a copies filter as part of XpsDrv. I have implemented by replicating the *.fpage and refering to it in the *.fdoc. But i feel this approach is not efficient,because the the size of the document goes on increasing with the number of copies. Is there any other method to refer to the same page in *.fdoc document. Thanx Tobin ...Show All
Windows Live Developer Forums Custom Navigation Control (Dashboard)
Hi, in v3 we could change the look and feel of the Virtual Earth Navigation control by supplying our own slidebar images etc in CSS or applying styles. Is there a way to duplicate this for v4 V4 doesnt seem to use the same class names etc. like it is done here http://www.viavirtualearth.com/MyVirtualEarth/WhereWasDrNeil.aspx for the v3 control. If anything there should be an option to remove the 'view map' 'view birds eye' icons on side and Road, Aerial, Hybrid links on bottom of dashboard. So that all we see is the slide bar for zoom. Allowing developers to show a more compact map without having the dashboard take over large parts of the VE map area. regards Mo ...Show All
