Mowali's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Finding frames per second?
I've modified the starting program you create in the XNA help file to create 2500 sprites in random areas and bounce them all around... What I'd like to find out is how many frames per second my PC is getting just to see how many sprites I can have on the screen at what framerate. How would I go about finding my framerate and displaying it onscreen Help is much appreciated. to have it every frame, just remove the IF and deltaFPSTime realted things.... You should obtain the following protected override void Update() { // The time since Update was called last float elapsed = (float)ElapsedTime.TotalSeconds; float fps = 1 / elapsed; Window.Title = "I am running at <" + fps.ToString( ...Show All
SQL Server Deploy SSIS package to production which has a connection to oracle databse
Hi There, In SSIS package development environment, I was able to connect to an oracle database and pull data into my sql server database. I installed the client tools for oracle and I put an entry into the tnsnames.ora and I was able to connect. But in production environment, if I deploy the package on sql server, I was wondering if I had to do the same job of downloading the oracle client tools onto my production machine --which creates a tnsnames.ora file to it default location and then edit it with tthe tns entry-- or is there a better way to do this--avoiding the download Can somebody plzz help me Thanks. There is a command line tnsping.exe Oracle utility to check both client installation and tnsnames.ora settings. ...Show All
Visual FoxPro arabic
hi i want write arabic in the textbox (right to left) what must ido sorry bijansaba did not mean to hijack your thread. ...Show All
SQL Server How to Find total number of pages in a report using C# coding
Hi Guys, I need to know the possible ways to get the total number of pages in a report using C# code. Thanks in Advance Balaji. ...Show All
Visual Studio Team System History of merge's?
Is there any way to get history on if a particular changeset was merged into a particular branch If not, it would be nice if there is some way to pull this off. I guess if you had a work item associated you could relate both changes to the same work item, but sometimes there is not a direct correlation. In this case we don't use work items yet and a developer should have done a merge of changesets, but I can't think of an easy way to tell other than just try to compare files. Granted since merges involved manual steps to do merging, a merge may not be able to have a direct correlation with a changeset, since there may have been changes to the changeset to do the actual merge, it still would be an interesting view as it at least track ...Show All
Visual Studio 2008 (Pre-release) Unable to install Visual Studio Extension "Orcas" to MS.NET Framework 3.0 July CTP
Hi, I am trying to install the July CTP and here are the steps i followed... - Microsoft .NET Framework 3.0 July CTP - Microsft Windows SDK July CTP - Visual Studio Extension Windows Workflow RC4 - Visual Studio Extension "Orcas" and i am getting an error message saying the Microsoft .NET Framework 3.0 runtime and components are missing when i tried to install the Visual Studio Extension "Orcas". Anyone has met with this problem >> Reborne. There is no July CTP of the Visual Studio Extensions. You will need to install the June CTP version of the is extension, but you need to use a particular command line. Check this post to understand exactl ...Show All
Windows Live Developer Forums Photo Upload Tool
Photo Upload Tool - The photo upload tool is designed to allow you to upload pictures in a dedicated storage assigned to your space. You can rearange these photos into albums and arrange them in the order you want them to be displayed. You can also choose which pictures you do not wish to be made visible on your MSN Spaces photo album. Many people are having dificulty with the Photo Upload tool. If your Photo Upload tool is not working try these few simple steps. 1. Click here to download a .cab file that is required DOWNLOAD and when prompted click OPEN then close the folder it opens. 2. Click here to download another .cab file that is required DOWNLOAD and when prompted clic ...Show All
Software Development for Windows Vista Certified for Vista - TEST CASE 15
I have a question, regarding Certified for Vista, TEST CASE 15. Verify application installs to the correct folders by default (Req:2.3) and which one it says: 6. Default install directories are: a. Native x86 and x64 applications i. Program Files - %ProgramFiles% ii. User’s AppData - %APPDATA% iii. ProgramData – ALLUSERSPROFILE% Our application has 2 kind of shared user data: 1.) Sample data that is the same for all users, that is copied at the install time, at may be modified by users at application run-time 2.) License data (serial number) that is the same for all users, that is taken from user input at the install time, and also sholud be written at install time to a shared folder. In witch directory should I put this kind of ...Show All
Visual C# Compare 2 objects using type casting
Lets say I have the following: int a = 5, b = 2; object o1 = a; object o2 = b; And I want do do if(o1 == o2) doSomething(); Obviously this doesn't work b/c o1 and o2 are reference objects. But how can I type cast them so it performs the correct comparison I tried this: Type type1 = o1.GetType(); Type type2 = o2.GetType(); if((type1)o1 == (type2)o2) doSomething(); But I get a compile error saying: "The type or namespace 'type1' could not be found" Does anybody know how to do this correctly Hi, soconne a and b are int type, all value types are stored in stack while reference types in heap. When you try to cast from value type to reference type, it will box (copy) the value stored in stack i ...Show All
Software Development for Windows Vista Using a State Machine Workflow from ASP.NET and Winform
Hello, I am developing an application, where parts are accessed as an ASP.Net Page and some parts are used in an winform application. I am using the state machine paradigm to connect the two. In order to get the reuse I wanted, I have encapsulated all business functionality (including the workflow) into a business layer (dll) which is called from both presentation layers. Everything works well, except for the SQLWorkflowPersistenceService. It does not store any information into the PersistenceStore. Has anybody run into similar problems and can give me a hint if this use case is not supported or am I just doing something wrong Thanks for the help, Bjoern Can you describe, how you configured ...Show All
.NET Development Solution for shared list
Hello, I need to create server/client with such funtionality: Server has list, which is shared with alll clients. This means, that all connected clients see the same list. If any client removes item from the list, server and all other clients must imiadetly refresh their list. If not talking more about specific software functionality, I can list such things about comunication, what I need: Communication between applications would be through WAN (internet), so optimal solution for network bandwidth and server resources is critical. In the beginning there would be ~40 clients and this number can increase to 100. Communication channel must be secure, that no one could read or change traveling data. Author ...Show All
Smart Device Development Mobile Batch Application using XML
I am currently in the process of building a mobile batch application that will be used in the field and will need to be able to access a part list stored on the device. This list will contain around 15,000 records (1.5MB). The formating will look like: < xml version="1.0" encoding="UTF-8" > <DATA> <INVENTORY PART="4649" DESC="8 X 1/2 SLOTTED HWH T/S 18-8" VENDOR="MA08"/> <INVENTORY PART="4650" DESC="8 X 1/4 SLOTTED HWH T/S 18-8" VENDOR="MA08"/> <INVENTORY PART="4651" DESC="8 X 1/8 SLOTTED HWH T/S 18-8" VENDOR="MA08"/> </DATA> 1. I tried XPath using XmlDocument but found that it took way too ...Show All
Visual C++ errors C3861 when compiling derived class template under /Za
The folowing code produce error C3861: 'access': identifier not found when compiling on Visual C++ Express 2005 under /Za (disable language extensions). If /Za is not set, compiler works, also this code works on a lot of other compilers. May be, this error is a bug in compiler Anyway, I would like to know, how can I make the code with derived class templates compatible with /Za on VC2005 template < class T> class exblock { public : T e [10]; T& access ( int k) { return e[k]; } }; template < class T> class exarray: exblock<T> { public : T& operator [] ( int k) { return access(k);} }; int main() { exarray< int > m; m [0] = 0; } Thanks in advance! ...Show All
Visual Studio Express Editions ReneeC I need your Help.....
Well...there comes a time in almost where a choice in the past makes for a difficult (or at least uneasy) future...I have made such a mistake. Now I need to correct it and since you (ReneeC) helped me with it in the very first place I beseech you to help me correct it..... I am not sure it you remember the following program: ----------------------------------------------------- Imports System.io Public Class FolderRenamer Protected Const ext As String = ".vob" Protected gbFd As New GroupBox Protected gbTb As New GroupBox Protected Friend WithEvents TextBox1 As New TextBox Protected Friend WithEvents Fdb As FolderBrowserDialog Protected FilesMoved ...Show All
Windows Live Developer Forums Adding OnClick event to Polylines
I have successfully added the OnClick event to my Pushpins based upon the example provided. I now want to do the same for Polylines. Before I waste time thinking about this, has anyone already done it If so, can you give me an example Thanks much...Steve Yeah a floating div is just a container that you can position over the map anywhere you like. Inside that container I have label which works for me but obviously not you. VE just got a few upgrades and a noticed that local.live.com lets you click on polylines and the new polygons. So we need someone from the local live team to help us out. Hey Caleb! - any chance on sharing on how we do this And how we do the very cool edit mode with the nodes We wo ...Show All
