prudhvi's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DXUT tutorial
Is there more information I can get on how to use the sample framework that comes with DX other then on microsoft.com. There's not a lot there, and I really want to be able to use the user interfaces and controls effectivly. Thanks, Shane Tom Miller 's book " Beginning 3D Game Programming " also uses the sample framework quite heavily, and he gives you a fair bit of information on what's being used and why. Bear in mind that this was written against the October 2004 SDK, so some of the code needs to be updated to work with the current versions, and that some of the samples in the book aren't quite rig ...Show All
SQL Server Passing connection managers to subpackages.
Is there a recommended way to pass the connection managers from the parent package to the subpackages I also noticed that the subpackages can't reference the same configuration file as I get error messages when I try to build the solution. After I changed the configuration file for each subpackage it worked just fine. Did I miss something or is this intended to work this way thanks This falls into what I said: "The user must enter the password manually" If the user enters the password value in the wizard I must save that value into the configuration file because this is what the user want. Is not that we ...Show All
SQL Server Remote Connection problem on MS SQL 2000
Hello, First, I want to say I read all threads similar this thread and I couldn't solve problem. My firewall is always off when I tried to connect remotly to SQL Server. I opened 1433 port from my router's configuration page and forwarded it to 10.0.0.4:1433. When I started SQL Server service and checking "netstat" with "-na" paramters. It shows only one row as "TCP - 0.0.0.0:1433 to 0.0.0.0:0". What "0.0.0.0" means and why foreign addres port is "0". I guess, It should like to be "TCP - 10.0.0.4:1433 to OutsideIp:1433". I removed forwarding from my router and used Windows's Network Connection to forward ports. I opened ...Show All
Visual Studio Team System How to get code coverage from an Automatic Build
Hi, I'm using Team Build and this seems to work fine (I could Build my Artifacts and run some Unit Test and FXCop). What I could not make is get some coverage information. The solution I'm using (including the Unit Tests and the testrunconfig) generates code coverage information when the test are run on my desktop. When I Build it through Team Build, the Build and the test run fine, but there is no coverage information. Any reason Any way to make work Thanks in advance Anu, I'm having the same issue as Lucas was, however editing the test run config file didn't seem to fix it. The project compiles and runs all of the tests success ...Show All
Windows Forms How do I deploy a .Net app on a PC without the framework installed?
Hi, Sorry, I know this is probably very simple but I am fighting a deadline and need a quick answer (please!). I have a standalone VB.Net app which compiles and runs perfectly on any machine with the framework installed... but when I shift it to a machine that doesn't the app doesn't work. (I'm just copying the exe file and the config file ...Show All
Windows Forms Controls within a User Control not "stateful"
Hello, First off, I hope that stateful is the correct word for what I'm trying to describe! I'm working on a user control (control A) that contains many controls within it (textboxes, a radio button, listboxes, comboboxes and a button - as well as a whack of labels). During a stage in the application, the form that contains the user control (form A, just say) is hidden when another form (form B) appears, and it can be re-dislayed by closing the form B. That's all find and good, except that form A does not retain the values inside control A. Control A's class is marked with <Serializable()> and I would assume that the controls within wo ...Show All
Visual Studio Hang up of PC when debugging Multithreaded Mixed C++/C# application
Hi, I have some strange problems when debugging a multithreaded (about 20 threads) application in Visual Studio 2005: When I stop the threads by calling Abort/ Join, etc the debugged application takes 100% percent of the cpu and the complete pc hangs up. But when I take the created executable (Debug version) and call it by means of windows explorer everything works fine. This leads me to the assumption that this is a problem concerning Visual Studio. Additional info: - I do not use any timers. - My solution contains a managed c++ DLL which references an unmanaged c++&nb ...Show All
Software Development for Windows Vista Another question about state machine and handleexternalevent
So I've created the ExternalDataExchangeService for the state machine, added a handleexternalevent activity to the event driven activity for a state, my question is how do I get the custom eventargs I defined on the event in the service to the event handler for the handleexternalevent I'm picturing this HandleExternalEvent activity like the following code. Where the service defines an event. public delegate void UpdateRuntimeDataDelegate(object sender, UpdateRuntimeDataEventArgs e); public class x { public event EventHandler<UpdateRuntimeDataEventArgs> UpdateData; } And when you add the ExternalEvent activity it would be emulating a ...Show All
.NET Development Access Voilation Error in .NET Framework 2.0 Sockets...Please guide
Hi, I am using Sockets to read and write data on some port. Using Visual Studio 2005 and .NET Framework 2.0. I am getting the following error and program crashes, System.AccessViolationException Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SaveCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Threa ...Show All
SQL Server Error rendering sub-reports
I have a report (ReportA) that is a matrix showing monthly figures for 1 of 20 different items (think of monthly sales figures for 20 different products). In order to obtain a report for all 20 items, it is necessary to generate this report 20 times. To ease generating the reports, I created a new report(ReportB) that has a simple table displaying the recordset of all 20 items. The single cell of the report contains a subreport object tied to ReportA. Each record is passed to the subreport as the parameter of the subreport. The table is grouped by the items and a page break is inserted at the end of each gro ...Show All
Visual Studio How to add filepath field into image in the crystal report?
I store bmp file path into text field in access database. How can I add this filepath for image or picture path in the crystal report. Bye, Rashe Hello Rashe, This is a new feature in Crystal Reports XI. If you are using Visual Studio 2005, then you will need to use Crystal Reports XI Release 2. Here is a link to an article on this: http://support.businessobjects.com/library/kbase/articles/c2014707.asp There are a few other suggested work arounds that have been posted in the forum - a quick search should bring them up. Keith - Business Objects ...Show All
Windows Forms Datagrid: Photo's
I'm trying to fix up my boss's work (am not really an expert in VB but I know a bit). We already have the ability to load photo's into the database (and they work fine). However, when I click the "Load" button I get the following error: This would cause two bindings in the collection to bind to the same property. Parameter name:& ...Show All
Visual Basic Problem with Combobox and SelectedValue
Hi again from Spain. I'm working with the beta2 (VB.NET) and i have a problem with a ComboBox and the SelectedValue propertie. I fill a Combo from a database and i use the AutoComplete feature to make easy select a value. But... if i use TAB to enter the Combo... i type the value or select it with the keyboard... and ... then use the TAB to go to the next control (or click with the mouse in other field, button, etc)... the SELECTEDVALUE of this combo is NULL. In the combo appear the text of the value... but i need to select it with the mouse or press ENTER to assing the value to the SELECTEDVALUE propertie of the Combo. Sorry if my engl ...Show All
.NET Development Switching .Net (valid) root
In the setup.bat of WSE 3.0 samples you are advised to use the aspnet_regiis for activate the framework net 2.0 as the valid root. In my system I have both frameworks: Net 1.1 and Net 2.0. I have already followed the previous command so now I have: D:\Documents and Settings\Administrador>aspnet_regiis /lv 1.1.4322.0 valid ...\\...\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi .dll 2.0.50727.0 valid (Root) ...\...Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll The question is: How now can I switch back and activated the framework 1.1 as valid root I tried aspnet_regiis /i /enable from the Net 1.1 directory without succ ...Show All
Visual Studio Team System CMMI - Create Vision Statement work item
The link placed in the create vision statement work item for the CMMI process template is incorrect. (Using Beta 3 refresh) Replace Process%20Guidance/Supporting%20Files/WriteVisionStatement.htm with Process%20Guidance/Supporting%20Files/WriteVisionDocument.htm ...Show All
