twospoons's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Skeleton based animation
What file formats that are supported by the CP use bone animation instead of keyframes Surely you guys can write a sample we can work with... :) Please!!!! Thanks, Ziggy www.ziggyware.com ...Show All
Visual C# SPI_GETACCESSTIMEOUT Retrieving the values
Hello all, I am pretty new to the c# programming arena, that doesn't mean I haven't programmed before!. My problem is in accessing certain settings from the user32 library for the SystemParameters function. I want to bring back the ACCESSTIMEOUT Settings it doesn't matter how they are stored, just to return the values in a variable would be good. I have tried to return this function but to no avail and I know I am doing this incorrectly. First of all I have setup public const uint SPI_GETACCESSTIMEOUT = 0x003C; This takes care of the uiAction in SystemParametersInfo(SPI_GETACCESSTIMEOUT, uiParam, pvParam, fwinIni) The uiParam is the tricky part because I need the sizeof(ACCESSTIMEOUT) returned in cbSize. Because I am u ...Show All
SQL Server How to Programatically Add a Group/User to Report Server...
Does anyone know how to programatically add a group/user to Report Server and assign it a role. You use the SetPolicies method on the web service, described at http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.setpolicies.aspx . This method takes an array of policy objects, which are group/user / role pairs. ...Show All
Visual Studio Team System Schema View & Synchronize Button
When I open the Schema View on a project, there is a button on the toolbar named 'Synchronize'. Can anyone tell me what this does Amos. Christian, Thank you for your response. I don't know if you are with Microsoft but if you are, could I suggest you change the toolbar tip from 'Synchronize' to 'Synchronize from Solution Explorer'. That would me much clearer. Amos. ...Show All
Visual C# MAPI in C# ?
I am currently sending email from my C# windows application using System.Net.Mail by creating a SmtpClient. However, I am being asked to use the Exchange Mail Server's "User names" instead of the actual email addresses. The SmtpClient method of sending mail does not seem to be able to do this. I am told that another developer working with another language and development environment can do this. I asked him how and he said he uses MAPI. Are there any built-in classes in DotNet for C# to use MAPI My goal is to pass the mail server the user names instead of the actual email addresses. Any help or direction is appreciated! Another possible solution would be to use active director ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Recruiting a Programmer!
Hello! My colleagues and I are currently in search of a coder to assist us with our game project, and I was wondering if anyone could suggest an effective place to advertise. Many thanks for your help! ...Show All
Visual C++ Parameter attribute issue upgrading from .NET 1.0 -> .NET 2.0
Hello all, I've been trying to figure this out for quite awhile and I just have no idea how to fix the problem. Searching for an answer hasn't come up with anything as of yet. Anyways, I'm currently porting some DLLs written using Managed Extensions for C++ to C++/CLI. The function causing the issue is defined in the old header as follows: int AddChild(String* strChildName, Int64 nKind, [PARAMFLAG::Out]CHierarchyBuilder*& ppChild); I've found that PARAMFLAG has been moved to the namespace System::Runtime::InteropServices::ComTypes, so I'm using that namespace. Also, this new PARAMFLAG enum doesn't seem to have the "Out" attribute. But that's an entirely different question for now. I just want to know how to implement this enum. Repla ...Show All
SQL Server Install and Uninstall problem
Mike, I am having the same issue, but a slightly different situation. I installed sql express...then thought I should uninstall and install sql express with advanced services...got the sa login error described in this thread but with error number 29521. the summary log says this...should I also send you the error log referenced in this log Microsoft SQL Server 2005 9.00.2047.00 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) Time : Fri Jan 05 09:59:01 2007 Machine : myname Product : Microsoft SQL Server Setup Support Files (English) Product Version : 9.00.2047.00 Install : Successful Log File : C:\Program Files\Microsoft SQL Server\Setup Bootstr ...Show All
Windows Forms Handler don't work
Hello to any one. I've a big problem with handler about applicationdeploy. Ive create a simple project with this code found on msdn site: Private sizeOfUpdate As Long = 0 Dim WithEvents ADUpdateAsync As ApplicationDeployment Private Sub UpdateApplication() If (ApplicationDeployment.IsNetworkDeployed) Then ADUpdateAsync = ApplicationDeployment.CurrentDeployment ADUpdateAsync.CheckForUpdateAsync() End If End Sub Private Sub ADUpdateAsync_CheckForUpdateProgressChanged( ByVal sender As Object , ByVal e As DeploymentProgressChangedEventArgs) Handles ADUpdateAsync.CheckForUpdateProgressChanged DownloadStatus.Text = [String].Format( "{0:D}K of {1:D}K downloaded." , e.BytesCompleted / 1024, e.BytesTotal / 1024) End S ...Show All
Visual Studio 2008 (Pre-release) How to determine if all validationrules validate?
Hi All, The scenario is - I've databound a custom object to a window and attached various validation rules. But how do I determine if all validation rules are valid, so I can prevent the user from closing the window TIA, Micael Baerens ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Need help running this game.
I have just compiled DeadJustice. It is a game using the catmother engine (http://www.sf.net/projects/catmother). From the forums I downloaded the version that supports Visual Studio 2005, once I compile and run it, it gives me an error and says that lightmap.fx is not compatible or something. I am using the version of DirectX before February 2007. Can anyone help me The shader code is below. If you want the exact error, I'll give it too you. Thanks. [code] // // lightmap shader without transparency // // diffuse texture * lightmap texture // // COLUMN MAJOR MATRICES // // -------------------------------------------- // Input parameters // -------------------------------------------- // transforms float4x4 mWorld; // model->world t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to check the version of Managed DirectX installed?
Hi all, I'm wondering is there any way to check any registry key or check the existance of some folder or any other way to make sure that managed directX has been installed on the system Thanks a lot in advance. P.S. Just to make sure I did everything right, if anybody knows how to check the version of the regular directX (not managed) installed and also the .NET Framework installed I would appriciate it a lot. So, if you know what registry keys need to be checked to get this information. Mladen. this may help http://www.thezbuffer.com/articles/386.aspx However I don't know of any officialAPI that can check - in .net your app is tightly bound to the right version so it won't run if the righ ...Show All
Visual Studio Express Editions CRC32 Calculation?
Hi there, Does anyone know precisely how to calculate a CRC Checksum from a file and/or byte array I've looked at examples all over the web and can't find anything that has helped me so far. Please help! Thanks and regards, Hosma293 Hope the following helps. //----------------------------------------------------------------------------- // in a .h file class CheckSumCRC32 { public: virtual unsigned long block_checksum(const void* data, const int& data_len); inline unsigned long operator()(const void* data, const int& data_len) { return block_checksum(data,data_len); }; };//class CheckSumCRC32 //----------------------------------------------------------------------------- // in a .c ...Show All
Visual C# Disabling Cell navigation in datagrid
hello all, in my GUI, in a datagrid i have three columns namely: Read (Checkbox ), Write(Checkbox), Fields (text). now what i want to do is, i just want to navigate the cell selection in the read and write column only. i dont want to move the cell selection in the fields column. can anyone help me with the code for doing this or can it be solved by setting any property of datagrid. plz help me with this soon. Anur While a cell can be read-only to prevent it from being editable, the DataGridView does not have built-in support for disabling a cell. Normally the concept of "disabled" means that the user cannot navigate to it and usually has a visual cue that it is disabled. Ther ...Show All
Visual Studio Team System Testing Tool of Microsoft Team foundation server?
Hi. Please tell me Which Testing Tool , microsoft team foundation server uses Thanks Team Foundation server itself, doesn't use any testing tool, for testing you have to use Team System Developers edition for unit testing, or Team System Tester edition, for manual tests, load test, web tests and also unit testing. If you refer which testing tools uses for the Team Builds, one of the previous versions must be installed (depending on the test runs you are going to run), in the build machine. ...Show All
