AdrianWoods's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. moving camera around the world.. like a 3D shoter first person look
Hi I`m a new it direct x and struguling to learn it in managed code..c#... i have a box at 0,0,0 i want to move camera foreward.. backword lef right ... the camera... and rotate around with mouse i had looked at c-unit.com... and other sites.. but some of them do operations in math that i dont understand.. like the do.. cos of an angle.. or sin.. of mouse posion or 0.01f.. things like tthat Of course first error obtained was: "Error : Your mathemathic does not support Direct X 9.0c, please upgrade or contact your brains" Can anyone explain simply.. i know that i have to rotate on x axis to obtain the up and down look or rotate on y axis to obtatin left right views... but dost work vwery vell Btw.. my english is already bad.. and they use ...Show All
Windows Forms Can I store a bitmap file in a globally accessable file, instead of a form's imagelist?
Hello, I am aware of the methods for storing images in an imagelist that resides on a form. But sometimes my tree node does not have the form's pointer. I would like to store some of my bitmaps in a globally accessable singleton object. Has anyone done this Thanks for the help! Bob Thanks NoBugz that helps a lot! I did not realize you could create an imagelist that is outside of a form. ...Show All
.NET Development Decimal - trig and power support for System.Decimal?
I want to ask when support for System.Decimal might be expanded Specifically, it'd be nice if the power function and trig functions of System.Math would natively support System.Decimal (a big change from not at all). This has been done in some commercial and non-commercial libraries, so it is do-able. I really need the extra Accuracy and Precision afforded, but cannot sacrifice the power and trig functions. IEEE 754 revision one link to check out would be http://www2.hursley.ibm.com/decimal/ I'm sorry, I don't think we'll ever agree on this. Adding support for complex numbers would be quite defendable too. If not more, there's (arg ...Show All
SQL Server If or Case Statements
Does anyone know if there is a way to look at a value in a variable and based on that value run different Data Flow Tasks For example, let's say I have an SSIS package that contains a variable named Client and 3 separate Data Flow Tasks. I would like to do this: if Client = 1 then run Data Flow 1 else if Client = 2 then run Data Flow 2 else run Data Flow 3. Is this possible Thanks. Danielle Yeah, it's okay to provide just a link, but it is rude to hijack a thread for your own gain.... Typically if no one answers, they are either busy or don't have anything to contribute. Fair enough... apologies but desperation can drive you to do things you woulnd't do otherwise. Still, I'm not ...Show All
SQL Server ALTER PARTITION SCHEME
Hi How do I alter the PARTITION SCHEME to include a new range I can alter the PARTITION FUNCTION but how do I alter the PARTITION SCHEME to include the new range I added in the PARTITION FUNCTION /Many thanks Hi, Why do you need to specify a new range in ALTER PARTITION SCHEME As you have already specified the new range in ALTER PARTITION FUNCTION. Now you only need to specify the NEXT USED filegroup. Ravi. ...Show All
Visual J# how to create DLL file in J# or convert J++ dll into J# dll
Please help me...I know nothing about J#. The following code is written by J++ for dll file. I need to either convert those code into J# or create new J# dll file. However, I have no clue how to start it. Could someone help me as soon as you can. I really appreciate it. I only have one day to finish this assignment. import java.io.*; /** * This class is designed to be packaged with a COM DLL output format. * The class has no standard entry points, other than the constructor. * Public methods will be exposed as methods on the default COM interface. * @com.register ( clsid=5BD97072-819B-4FFF-A6BD-6980F93EBA49, typelib=842EE387-31B5-4F8F-AECC-F449F5204038 ) */ public ...Show All
Visual Studio Creating a Menu and Submenu Items
Hi, I’m having a hard time trying to create a Menu and Submenu items for my addin. I know it should be simple, but somehow it doesn't work as I want. What I'm trying to achieve is that when my addin starts it creates a Menu (let say AddInSample) and some SubMenu items (lets say Item1, Item2 and Item3). Then when I want to handle the clicks on the items. The wizard of Visual Studio generates something like this, adding the Menu in Tools, but I don't know why the item is only enabled when the addin is disabled. And when I enable my addin, the item is disabled. I hope that some could help me with this, it's supposed to be simple. Thanks why not go to Carlos's site www.mztools.com . lots of resour ...Show All
Visual Studio Resgen: References root node unavailable
Hi, I have a VS2005 build failing with an error thrown saying "References root node unavailable". I have attached a diagnostics log below but I can't see any error that points to anything in particular. Has anyone seen an error like this before or have any suggestions to diagnse what might be causing it Thanks, Dave Target "CoreResGen" in file "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets": Task "GenerateResource" "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\Resgen.exe" /useSourcePath /r:CHChart.dll /r:C:\_cvs\ViewPoint\_PPC_DataEngineDotNet\bin\Release\DataEngineDotNet.dll /r:C:\_cvs\ViewPoint\_PPC_DataEngineHelper\bin\Relea ...Show All
Windows Forms how can i run a windows form control without a web server
If I have a webbrowser control hosted in an MFC application, how can I load a web page that embeds a windows form control and run the control without IIS or any other web server Hi, This is caused by the fact that the IE host managed user control did not support file protocol, that is to say, we must use the http to host winform user control. We can not host the user control on the hard disk direct, we need a Web Server. Controls Hosted in Internet Explorer You can use Internet Explorer to host controls created using the .NET Framework. Controls must be contained in a library with a .dll extension. To use the same Windows Form control as both a standalone and hosted in Internet Explorer, the ...Show All
Software Development for Windows Vista Metadata contains a reference that cannot be resolved:
HI, I'm trying to use the Sample STS server on a Windows 2003 EE machine. The server runs fine on http://sts.mycompany.com:7000/sample/trust/smartcard/sts https://sts.mycompany.com:7001/sample/trust/smartcard/mex etc... but when trying to contact it I get the following error. There was a failure making a WS-Trust exchange with an external application. The Identity provider end point was not found. Inner Exception: Metadata contains a reference that cannot be resolved: 'https://sts.mycompany.com:7001/sample/trust/usernamepassword/mex'. Inner Exception: The underlying connection was closed: An unexpected error occurred on a send. Inner Exception: Authentication failed because the remote party has closed th ...Show All
Visual Studio Tools for Office Best practices for server-side generation of spreadsheets
Hi, we make a web application (ASP.NET) which among other things generate many reports we export to Excel. We must support Excel 2000 and newer versions. A few years back I read on MSDN about Office Development and noted that MS discouraged the use of the Office applications on the server side, since they were designed for desktop use and consequently expect an interactive user and offer limited scalability. We chose to generate Excel 2003 XML files and use the spreadsheet component (from Office Web Components, it's an ActiveX), to export to Excel 2000 clients. Alas, the component exports by generating an HTML representation that it then brings into Excel via the clipboard (so a cut and paste, basically). This means we had to use ...Show All
Game Technologies: DirectX, XNA, XACT, etc. will i need to learn the basics for c#
before i can start developing games or will the software help for new begginers. i am learning (supposedly the basics of c++ this year) but not c#, althought microsoft just donated sum stuff to my high school so i imagine it will be microsofts visual c++. i was just wondering if im going to haft to go through the hardships of learning c#. I would aprreciate it if anyone could give me a good website to learn the latest version of c# or atleast were u learned i would appreciate it thanks I run the www.learn-XNA.com site, over there we have 2 videos up so far. The first is about geting C# and MDX installed (pretty easy to do) and the second video was just put up today and it is the first of three videos on le ...Show All
.NET Development Decimal - trig and power support for System.Decimal?
I want to ask when support for System.Decimal might be expanded Specifically, it'd be nice if the power function and trig functions of System.Math would natively support System.Decimal (a big change from not at all). This has been done in some commercial and non-commercial libraries, so it is do-able. I really need the extra Accuracy and Precision afforded, but cannot sacrifice the power and trig functions. IEEE 754 revision one link to check out would be http://www2.hursley.ibm.com/decimal/ Anyhoo, I did some more searching on VS2005 Product Feedback. The sequel to VS2005 (Orcas) will not have a higher precision floating point type, n ...Show All
Smart Device Development Windows Mobile 5.0 with MSFP Emulator Images
Hi, After installing VS2005, Virtual Machine, 5.0 SDK, I tried to install "Windows Mobile 5.0 with MSFP Emulator Images for Device Emulator 1.0" from this URL ( http://msdn.microsoft.com/mobility/downloads/Emulator/default.aspx ) but I don't see them in Emulator Manager in VS2005 Dev Ed (I see only the one from 5.0 SDK). FYI, after launching from the shortcut in Programs menu, I see it running in the "Others" category of the Emulator Manager Question : how to see the images from MSFP package listed in the Emulator manager TIA, barry, I see the behavior you have mentioned with the emulator and manager however don't see how to direct Visual Studio 2005 to deploy to the cradled emulator with MSFP . ...Show All
SQL Server Recommended Daily Database Maintenance
Some of our databases have many transactions (a million or more) a day. I have read that every so often I need to rebuild indexes, update statictics for all tables (however that is done), and shrink the transaction logs. I'm confused by all this. What are the daily recommended database maintennace steps steps for database "health" and how can they be done TIA, barkingdog. In general there are several areas of maintenance to be addressed for a SQL Server once it has been initially configured and running in production (these are the essential ones): Database Files Indexes and their distribution stats Backups & Recovery Models DB Files Database Files should ...Show All
