Thaedrys'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 VSS 2005 and VS .NET 2003? (for HTTP support)
Hi, Apologies if this has been answered, but I can't find any information on this topic. Can we use VSS 2005 (I am especially interested by HTTP support) with VS.NET 2003 I think we cannot but I would like to have a confirmation. (BTW: if it's not I think it's really stupid) Thanks. Cool. Somehow I had got hold of the idea that the new plug-ins only worked with VS 2005. I assume I just install the VSS 2005 client on the VS 2003 system and the plug-in for VS 2003 is installed too Is the regular SourceSafe plug-in also updated so it can take advantage of the LAN Helper service Will these new plug-ins work for Visual Studio .NEt 20 ...Show All
Windows Forms Making a form fade in
Hi, Can I use the opacity property to make a form fade in (Make it smooth though) Thnx. Thanks so much for posting that code. I have been wanting to incorporate that into one of my apps for about a year now and never got around to figuring it out. ...Show All
SQL Server Problem with multi-valued parameters since SP1
Hi, after the installation of SP1 I have a problem with multi-valued report parameters. The option to select all values are gone. Is there a bug within SP1 Before the installtion of SP1 multi-valued report parameters works fine, the option to select all values was added automatically within the preview in Visual Studio 2005 and in published reports on the server. The server was migrated from SQL2000 SP4 to SQL2005. So long Lemmi This was a breaking change in SP1 - documented in http://msdn2.microsoft.com/en-us/library/ms143380.aspx (scroll to: Adding the ALL member for multivalue parameters" ...Show All
.NET Development Update an Oracle table with VWD 2005
Hello to all Visual Web Developper Guru’s We’ve got a very simple problem to solve here. We’re using Visual Web Developer 2005 with an Oracle Database 8.0. To make it simple, I’ve created a table my_table with 2 nullable fields. Here is the script: Create table my_table ( Field1 NUMBER, Field2 VARCHAR2(50)); SQL> insert into my_table(Field1, Field2) Values (1, 'Hello World'); 1 row created. SQL> insert into my_table(Field1, Field2) Values (2, 'I''ve got a problem ^_^'); 1 row created. SQL> insert into my_table(Field1, Field2) Valu ...Show All
SQL Server Possible to Limit the Export Formats
Is it possible to limit the export formats from the Report Viewer control Specifically the options that appear in the dropdown box. I'm using it in an ASP.NET environment (RTM) and remote mode of the ReportViewer control. In remote mode, we can edit the rsreportserver.config file on the Report Server to limit the available export formats but that will enforce for all the reporting applications running on that machine. Can we restrict it for one of the reporting application deployed on the reporting Serv ...Show All
Visual C++ Program runs slower when compiled with Visual Studio 2005 (in Release with optimization)
Hey, I have a performance problem with the new Visual Studio 2005. My code (which is a genetic algorithm) is 3 times slower when compiled under Visual Studio 2005 compared to when I was compiling it under Visual Studio 2003. With Visual Studio 2003, it used to run in 3.0639 seconds, and now it runs in 9.0031 seconds. I run both code in Release. I tried every optimization option, and adding the /D_SECURE_SCL=0 compiler command to the project options with only minor differences. Is there any other way to get back to the speed Visual Studio 2003 It is a bit absurd to upgrade to a new compiler and get lesser performances. Thanks a lot!!! Antoine ...Show All
Visual Basic Caption -> Text
ok in vb 6.0, you could easily define library's (for lets say GetTickCount) and easily set the main caption on any form. Me.Caption = "Blah" i just got visual studio 2005, and dont understand how Me.Caption doesnt work and i have even tried Me.Text. i get syntax errors, something here im not understanding for the conversion factor The VB6 coding is different from VB.net.... In Vb6 you could use forms without instancing them, in versions of vb.net prior to 2005 you couldn't so you would always have to do something like dim x as new form1 form1.show .caption was replaced with .text for all controls for consistency. ...Show All
SQL Server retrieve SQL Server version using SMO
How can I retrieve SQL Server version (SQL Server 2000 or 2005) using SMO , same manner as SERVERPROPERTY('ProductVersion') Also take a look at the Server.Information class. This also carries a few properties, such as Version and VersionString, but also ProductLevel, and Edition. ...Show All
Windows Forms Possible Bug of the TableLayoutPanel?
Try this to duplicate the possible bug: 1. Drag a tablelayoutpanel on a form inside the VS 2005 IDE. 2. Make it two rows and two columns. 3. Put a textbox in the seond column on the seond row 4. Set the textbox's columnspan = 2. Since the default grow behavior of the tablelayoutpanel is to add rows, our textbox will now move to the newly-added row to occupy two columns. Everything is fine, right But wait, we cannot drag our textbox to anywhere any more. No matter how hard you try, the textbox will stay in the newly-added row. This behavior seems not right to me. Is this by design Could you please che ...Show All
Visual Studio vstemplate error
I have implemented a vstemplate to create a new project type. When I select the template under my project type I get and error stating that it tried to load an untrusted component and references my vstemplate assembly. This is the error I get in the application event log: One or more Visual Studio templates do not match any installed project packages. I am signing the assembly with a strong name key file through the project settings and I installed my assembly into the GAC. I also tried using the strong name in the <assembly> tag under the <wizardextension> tag in the .vstemplate file, but this didn't help ...Show All
Windows Forms Merging ContextMenuStrip to ToolStripMenuItem
I have a context menu which defines a basic set of items(add, remove, properties). I would like to add these items to a ToolStripMenuItem. Using the MainMenu and ContextMenu from .Net 2003 this was very simple to do using the following code: MainMenu1.MenuItems(1).MergeMenu(ContextMenu1) I have tried the ToolStripManager.Merge function but the incoming types are different. There is very little documentation still for Whidbey, as expected since it is still in beta. Can anyone help me out Am I just goin at this with the wrong approach now, has the architecture changed radically You can merge on opening and re ...Show All
SQL Server International SSRS Info
We are reviewing the use of Sql 2005 Reporting Services to drive an International Applications in multiple languages. What are the best resources that are available for this. Thx. Chris You can start from here http://msdn2.microsoft.com/en-us/library/ms156493(SQL.90).aspx ...Show All
Visual Studio Express Editions Error: The page you have requested is unavailable or you do not have access.
I have Visual Basic 2005. I got an email about the benefits. I clicked the link and it brought me to Microst Connect, eventually I got an error that the page I requested is unavailable or I don't have access to it and I am signed in. How can I get the benefits Hi, Can you give us some more details of the error so that we can help you out... Thank you, Bhanu. ...Show All
Visual Studio Visual Studio 2005 ToolBox not showing Reporting Services tools
Hi, I've been using RS for some time in VS2003 and have had no problems. I tried installing RS2005 tools to VS2005 (release version). I can create a BI project, create a dataset and drag fields onto the Design Body. My problem is that I don't see the ReportingServices items in the Toolbox so I can't create a table, cross tab etc. Am I missing an install step Thanks for any help... Try rebuilding your toolbox items. Locate the directory %USERPROFILE%\Local Settings\Application Data\Microsoft\VisualStudio\8.0 and delete the four (hidden) files: toolbox.tbd, toolbox_reset.tbd, toolboxIndex.tb ...Show All
