cause21's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Frames Per Second (FPS)
I've recently added an FPS component to my engine and I am getting different results than I thought I would. With nothing being rendered, I get about 1400 fps - so far so good. But when I add in a small 32x32 grid, it drops all the way down to 78 fps - seems very low for just a small grid. When I then add in my skydome, it drops down to 48 fps. I haven't tried putting in some boxes or anything else yet. Does this seem a bit off I am using variable time step, vsync disabled, and a 1024x768 backbuffer. PC Specs: 2.8GHz Pentium D dual core 2 G RAM ATI Radeon X600 256 MB Windows XP MCE (minimum apps running) How are you starting the project If you run in Debug mode you will get a MUCH lower fra ...Show All
Visual Studio Team System Automated Testing in VSTS
Any suggestions on a test language to use for regression testing I understand VS2005 has automated unit testing, but I am looking for the best tools to create automated box level tests. VSTS provides the tools necessary to create unit- and service-level tests (similar to what NUnit and Fitnesse provides). However, VSTS does not include any tools for generating automated UI testing (with the exception of some web-based load testing tools). Assuming your business logic is separated from the UI, the unit/service level testing tools in VSTS could handle a lot of your situations. Currently, we're using Mercury's QuickTest Professional for our UI tests although we've had issues with it working nicely with so ...Show All
Internet Explorer Development .Net ShowBrowserBar broken under IE7?
Hello all, In VB.net 2005 (2.0) I use to find an IE window, and hide the Favorites pane and navigate the Browser (type SHDocVw.InternetExplorer). I used Class Id {EFA24E61-B078-11D0-89E4-00C04FC9E26E} ShowBrowserBar no longer works showing/hiding Favorites. Can anybody please help Clarification: the call seems to work in IE7 in XP if I have the menu bar visible. Without this bar visible, the toolbar does not show. Vista will enable the toolbar each time, regardless of the state of the menu bar. ...Show All
Silverlight (formerly WPF/E) Can AJAX be integrated into WPF/E or WPF/XBAP?
Hi, Can AJAX be integrated into XBAP or WPF/E .....If yes, then please let me know how is it possible ...Please suggest some information on this. Regards, Santosh Kalkeri It can definately be integrated with WPF/E. Take a look at this tutorial on using the two together: http://blogs.sqlxml.org/bryantlikes/archive/2007/02/08/simulating-data-grids-in-wpf-e-part-1.aspx With XBAPs you don't really need AJAX since you can call webservices directly using C#. For more info on XBAPs see http://www.xbap.org/faq.html . ...Show All
Visual Studio MSDN Oct 2005
Hi, I know that this is a kind of common issue but I spend 3 hours on reading and trying to fix the problem and end with nothing. System info : Windows XP (sp2), I do have VS 6 and VS 2003 with coresponding MSDN collections installed. Installed VS2005 Pro, then installed MSDN Oct 2005 (full installation). System is kind of old (2 years) but reinstalling all my stuff is something like 4 days of work. Problem : When I run (from Start or from VS it's not important) MSDN Oct 2005 I do not see neither Contents nor Index (only help on help). When I try to search I do receive results from web, but no results for local help. MSND installation eat 2GB from HDD, searching the web is slow. Reinstalling doesn't fix the problem. I do ...Show All
Visual Basic of oledbadapters and oledbcommand
Hi, I am not sure if this is the right place to ask this question so I hope the moderator could direct it to the right group if it isn't. Can an oledbadapter share/use more than one oledbcommand I know that nnormaly we would do something like: myCMD.connection = myConn Dim aAdapter as new oledbadapter aAdapter.SelectCommand = myCMD where myCMD is the command string, myConn the database connection. If I have another command string that I want to implement called myCMD2 and I am still refering to the file connected in MyConn, can we do something like this: myCMD.connection = myConn Dim aAdapter as new oledbadapter aAdapter.SelectCommand = myCMD aAdapter.SelectCommand = myCMD2 or do I need to create another oledbadapter for myCMD2. It s ...Show All
Windows Forms Control Question!!! Help!!!
Ok guys i need your help. I have a panel control with a textbox inside, next to the panel there is a button. Now what i want, and i don't know how to do it, is when i click at the button i want that another panel show under the first panel, but exactly like the first panel with a textbox inside and a button next to it. Thanks Merovingio. Ok i did it!!!! A friend gave me the code i was looking for Here is the example code: Public Class Form1 'Location of the next Panel Dim NextRecLoc As New Point(10, 10) 'The "active" textbox (TextBox left of the button) Dim CurrentTextBox As TextBox = Nothing Dim WithEvents btnPanelButton As New Button 'Adds a panel with textbox below the last one ...Show All
Software Development for Windows Vista how to handle multiple validators
Hi, I have a library of activities. More than one custom validator are available for an activity. At the host side, user wants a particular validator. Host application uses XAML workflows. So is there any way for the user to specify a particular valdiator for an activity through XAML file Regards, Chakri. ...Show All
Windows Search Technologies Speed, speed, speed
One of the key reasons we use desktop search is for speed in finding things. I've been using WDS since it's first release but I found that X1 was faster at finding things and displaying results and showing previews. I've also recently seen Copernic and it was much faster. I think a key issue here is speed, speed, speed, and if I didn't mention it speed! For example, OL 2007 now uses WDS. I find it terribly slow finding a contact name. I can find a contact faster on my Windows Mobile device. I expect my desktop, with it 1 GB of memory and 3GHz HT CPU to be faster at this stuff then my handheld. Hello P Cause, Thank you for the feedback. Have you tried the new beta 2 release of WDS 3.0 You may find that ...Show All
Visual Studio 2008 (Pre-release) TextBox Format Question
Hello! I am looking for a way to format the text in a textbox, either as the user enters it, or right after the user enters it. I want to format the text to display as currency. Thanks! you could listen to the PreviewTextInput event. you can then call tb.SelectedText inside the handler and set text inside the textbox. ...Show All
Visual Basic ' ' is ambiguous in namespace ' '
I am working on a project in vs2003 that consists of 2 class libs and a main app. From time to time after weeks of everything going ok, I will make a change in one of the libs and suddenly get a forest of ' ' is am.. errors. Even deleting completely the changes I had made did not fix the problem. Today I finally realized what was going on. One of the libs, call it MyClassLib, defines many custom controls that are either derived from Windows controls such as Textbox, etc or UserControl. I have finally discovered that the problem arises when I try to define a new control via the designer that contains one or more controls from MyClassLib. Everything seems to go along fine until I try to compile. Then LOTS of errors. The answer is that vs add ...Show All
Visual Studio Team System TFS Workgroup - Possible Bug
Hi, I upgrade the beta 3 Refresh version of TFS to the workgroup version (en_vs_2005_tfs_wgp.iso), but a bug that occurs in the beta 3, are always in the final version: When I try to realize a merge of 2 versions, a window appear, but with no text in the buttons or in the dialog boxe. Is it a bug that it will be solve in a new version or an error in my configuration Adri, this doesn't sound like a known issue to me. One thing you might try is to configure a custom diff tool and see if it still happens. You can configure a custom diff tool on the Team Foundation Source Control page of tools->options by clicking on the "Configure User Tools" button. A custom diff tool takes 4 options - ...Show All
SQL Server Execute DTS 2000 Package Task Editor (Inner Variables vs Outer Variables)
Hi, I am not comfortable with DTS 2000 but I need to execute a encapsulated DTS 2000 package from a SSIS package. The real problem is when I need to pass SSIS variables to DTS 2000 package. The DTS 2000 package have 3 global variables that I can identify on " Execute DTS 2000 Package Task Editor - Inner Variables ". I believe the SSIS variables must be mapped on " Execute DTS 2000 Package Task Editor - OuterVariables ". How can I associate the SSIS variables(OuterVariables ) to "Inner Variables" How can I do it Much Thanks. Joao The outer variables are a means of communication from the SSIS package to the DTS package it executes using late binding ( ...Show All
Visual Studio Express Editions need help displaying array values
i have 150 values in an array and i want to display them in order of the highest first and the lowest last. i have no idea how to do this. Help will be appreciated. thanking in advance oli ListBox1.Sorted = False or do it in the properties window in the form designer. If you didn't know it probably isn't set. ...Show All
Visual Basic R
I'm sure this is possible to do. I am working with a UTF8 encoded file. When the file is opened in VB and loaded into a text box, the line breaks are converted to squares. Each line break is represented by two sqaures. I have been using code to replace bad chars, but the problem with it is that it replaces a single instance of the square with a LB. So I am getting too many LB's. How can I replace this with a single line break TIA So just to clarify my problem. If in the file I have... A line of text with two line breaks It is represented by four squares. I need to replace every two square chars with a LB. My code replaces every single one with a LB. ...Show All
