ToolmakerSteve's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. how to convert screen co - ordinates to 3d co ordinates
hi guys , how to convert mouse coordinte to 3d co ordinates Convert mouse coordinates to range -1 -> +1 Mutiply by the inverse of the projection and view matrices to give you world space multiply the result of that by inverse of world matrix to give you object space. Search google/gamedev.net forums for 'picking'. Look at the 'pick' sample in the SDK or the managed conversion here http://www.mdxinfo.com/tutorials/picking.php ...Show All
Visual Studio Team System TFS Reporting does not work due to warehousing issue
Hello: I just installed TFS and while testing, I found out that reports inTFS does not work. When I try to access any report through Team Explorer, it gave me following error: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'IterationParam'. (rsErrorExecutingCommand) The Team System cube either does not exist or has not been processed. Then I followed "Warehouse Troubleshooting Guide" through URL: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=154526&SiteID=1 and I observed that in event viewer of my server, I have error recurring eve ...Show All
SQL Server sorting on an expression
I wanted to create a column which was one field divided by another field, and then sort on it. I started with Fields!FG.Value)/Fields!ADU.Value but of course when ADU was 0 it caused an error. then I went to =iif( Fields!ADU.Value =0,0,(Fields!FG.Value)/Fields!ADU.value) but sadily it evaluates both the true and the false return values before figuring out which one it would need to return. So then I used this. =iif( Fields!ADU.Value =0,0,Fields!FG.Value/ iif(Fields!ADU.Value=0,1,Fields!ADU.value)) Which actually works and returns what I would expect it to. Then I go into the report properties and say that I wish ...Show All
SQL Server RS 2005 run on SQL Server 2000 Database?
Our product currently works with Cystal Reports but we decided to enhance it so it works with another reporting platform (MS Reporting Services). We are in the beginning stages of developement and trying to decide which version of RS (2000 or 2005 ) to build the reports and integrate our web UI with. Most of our clients are using SQL Server 2000 for their database platform and we don't anticpate them upgrading to 2005 in the near future. If we built everything using RS 2005 could our clients deploy RS 2005 Report Server on a SQL 2000 Database Is the licenses ...Show All
Visual Studio Page Margins are jacked up
I have created a simple report with just a title and some lines in the header. I set the page margins to .5 inch all around. Centered the title and drew lines on either side all the way to the margins like: ------------------------------- Title ------------------------------- It looks great on the screen, but when it prints the left margin is quite noticeably wider than the right margin. Is this a known bug or am I missing something I seem to remember having this problem with Crystal Reports at some point but don't remember how it was solved. Those issues all appear related to Word 2000, this ...Show All
Visual Studio Using Properties and Call like NAnt
NAnt has a nice feature where you can use a combination of properties and the call task to repeat operations. For example: <target name="target_one"> <property name="A" value="Value1" /> <property name="B" value="Value2" /> <property name="C" value="Value3" /> <call target="ALongProcessWithManySteps" /> </target> <target name="target_two"> <property name="A" value="Value4" /> <property name="B" value="Value5" /> <property name="C" value="Value6" /> <call target="ALongProcessWithManySteps" /> </target> The target ALongProcessWithManySteps would then use ...Show All
Visual Studio Express Editions ListView Problem...
how do i prevent duplicate entries in a ListView control (im trying to prevent the user, dragging an item from one list, to another more than once). if (item does not already exist in listview) add item Any ideas please ** UPDATE *** I noticed it can be done by using a for loop for each item in the list and checking against in item to be added; only adding it, if its not alread ...Show All
Visual Basic Just a few questions
Hello there, My name is Kedhrin, I'm new to VB and i've only been using it for one day now. I'm making a simple application in Visual Basic 2005 Express Edition that will let me edit XML Files... visually! They are only one specific XML file, and there is 9 fields where the values can change. I have everything implemented in, everything all set to go --- except. I don't know how to save the file, I have the save dialog button rigged all up by i kind of halt after SaveFileDialog1.ShowDialog() If ShowDialog.OK Then Thats when I don't know what to do or what to put for saving my fields back into the XML file. I've been searching a ...Show All
Visual C++ Problem with accessing a vs2003 DLL from a vs2005 application
I have a major problem. I have only the header files, the lib and DLL from a vs2003 project. I am calling a function exported from the DLL from a vs2005 application. And C++ templates are used everywhere. From the following thread, I found out the data of the template functions are not compatible: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=136960&SiteID=1 I wonder if anybody has some help for me. The source for the vs2003 project is not available. And I do not have access to vs2003 to downgrade the application. Thanks. This is most likely related to this DLL exporting a class that sub ...Show All
SQL Server Creating an update trigger for a multi-table view
I have a trigger on a view defined as follows: CREATE TRIGGER MyTrigger ON MyView INSTEAD OF UPDATE AS UPDATE MyTable SET field1 = inserted.field1, field2 = inserted.field2, ... FROM inserted INNER JOIN MyTable ON inserted.key = MyTable.key This is copied pretty much verbatim from various examples I've seen around (see Figure 2 on this page: http://msdn.microsoft.com/msdnmag/issues/04/01/DataPoints/ ), but it doesn't work. When I try to do an update, I get the message "The value(s) updated or deleted either do not make the row unique or they alter multiple rows (2 rows)." I'm using the table viewer in Visual ...Show All
Visual Studio Team System VSSConverter requires Visual SourceSafe 2005?
I tried running VSSConverter against our production Visual SourceSafe database and received the following error: Initializing... TF60032: The VSS Converter requires Visual SourceSafe 2005 or later to run. Ple ase install Visual SourceSafe 2005 or later and try again. Is this true I can't convert Visual Studio 6d No, you do not need to convert the database to VSS2005 as the database format of VSS6 and 2005 is same. However, the VSSConverter uses VSS2005 client components to access to VSS database and you need to install that. Thanks. ...Show All
Windows Forms Running Loop without Hogging App
How do you run a loop in a program without using up all the resources for you application. For instance, you are trying to verify that all of the data on a spreadsheet is correct, such as making sure the e-mail address, phone, and fax is correctly formated, on many many rows of a spread sheet. If you do this by looping for each row, the& ...Show All
SQL Server The schema script 'Course_2.sch' could not be propagated to the subscriber.
hi, I made a merge replication and used a pull subscription , i always got the following error: The schema script 'Course_2.sch' could not be propagated to the subscriber. -in Articles option at publication side i put the property (Copy XML Index to false) Please any idea to solve that I am using the final release of sql server 2005. Thanks, Tarek Is there any additional error that you can post If not, can you locate this file "Course_2.sch" in your snapshot folder, and manually run it at the subscriber to see what the error is ...Show All
Visual FoxPro delete record
this question seems to be ... but I tried many times to do it but I couldn't . I'm using VFP 6.0 . I created a form and take data from mytable . After that I created Del button and wrote a small code in Click event . This is my code : if messagebox("Do you want to del this record ",36,"Notice")=6 delete thisform.refresh and the result is 0 record deleted . I don't know why . Is this related to "primary key" from mytable . If someboby know , please tell me . Thanks so much . This is my email : mrbxp@yahoo.com . If you have some help files of VFP about form , event , class , .... please send it to me . Thanks so much . -^^- : Now I' ...Show All
Software Development for Windows Vista Windows Workflow Foundation Runtime Components Beta 2_2 Installation Issues
Hello. I am working on installing Office SharePoint Server 2007 and this is one of the pre-requisites. The issue I am having is that when I attempt to run the "Windows Workflow Foundation Runtime Components Beta 2_2(EN) for x86.exe" file, it fails when it tries to run the WinWF_3.0_x86.msi file. The error I get is as follows: A network error occured while attempting to read from the file: C:\docume~1\Admini~1\Locals~1\Temp\IXP000.TMP\WinWF_3.0_x86.msi Here is a little info on what my environment looks like: I am running in a Virtual PC with Windows Server 2003 (Fully Patched), SQL Server 2005, and all the web server app ...Show All
