AvalonNewbie's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Space Wars no weapon 4
When I play The Space Wars starter set, I can play it without problems, till i try to fire the $4,000 weapon. then it gives an error on the modelMesh.Draw(); line You'd need to fix the source model that is displayed for that weapon. An easy hack would be just to copy one of the other weapon graphics over the one that is causing the problem. ...Show All
Visual C++ Fatal error LNK1104: cannot open file 'd3dx9.lib
I am trying to compile DirectX code from a book, and I get the error listed in the title. I have all the linker settings correct I believe, but if someone could give me any additional info on why this may be happening, I have checked virtually every option, and I'm drawing blanks. You guy's are fast.. I'll sure appriciate this. ~Nate~ if u have installed DirectX 9 , then go to tools -> options->directories->Library(combo box) and add the path where this resides on ur machine. Regards, Sudeesh ...Show All
.NET Development Not able to export Digital Certificate Data programmatically
Hi All, I think I have a unique problem. I am trying to read a certificate file, add a new extension to that, and save that to some other certificate file. I am able to read the certificate, add the extension to it successfully. However, when I use the export method of X509Certificate2 object, it loses the new extension that I add. I can see that extension in the memory thru watch window. But when I save it, it is lost. When I create a new certificate object from newcert.cer, the new extension is lost. Even when I create a new certificate object from the existing one in the memory, still it is lost. Code is given below try { cert = new X509Certificate2("C:\\certificate.pfx"); /// add extension ...Show All
Visual Studio upgrade vb 2003 solution under source control from 2003 to 2005 in other source control db
Hi, I have a VB.NET 2003 solution under source control(VSS), that I want to update to 2005. Both VS2003 and VS 2005 are installed on my pc. I would like to keep the 2003 version in the 2003 vss db for a few months until I am certain that everything works in VS2005. I have several 3rd party .NET components that are not certain to be 100% compliant. My upgrade path would be: make an xcopy of the entire 2003 solution to a new folder start vs2003 , open the solution that was copied in the new folder in file/sourcesafe/change sourcesafe: unbind all projects and the solution from the VSS 2003 database. close VS2003 start VS2005, open the solution that was copied in the new folder follow the upgrade wizard to convert ...Show All
Visual Studio Team System If I want to install TFS and Visual studio.net 2005 Team Suite what is the order to do it?
I want to do it on the same computer. Is it neccessary to install virtual server Can I do SQL Server 2005 Enterprise and my own db on the default instance Do I need to do development on a virtualised os or can do on the Windows Server 2003 whis TFS I have it in Virtual PC and no problems, the steps I followed are: Install TFS, folowwing the last updated installation guide. and then install Team suite with the options you want And this should work without problem ...Show All
Smart Device Development Can't Start New Smart Device Projects
Please Help....anyone... I have just successfully installed MS Visual Studio 2005 version 8.0.50727.42. When I click FILE - NEW - PROJECT - click on any of the Smart Devices - click Device Application and click OK, I expect to begin a new Smart Device project. But instead, I receive the error ..."error HRESULT E_FAIL has been returned from a call to a COM component". I can successfully begin any other New Projects, just not any of the Smart Device projects. Any ideas Hello Manav I'm encountering exactly the same problem as Dan descibed in this topic. I can't create any Mobile Device Projects, error: HRESULT E_FAIL has been returned from a call to a COM component. Got the same ver ...Show All
.NET Development Auto Postback
In visual web developer, when we enable autopost back for some controls like combo box, then we compile & view it in browser , if we see its soucre we will find that the functionality is implemented through javascript code. Why Javascript, it should use vb script to accomplish the tasks or wheather vb script is not supported by client side browser if my question is wrong then sorry.. your question is not "wrong"... actually vb script runs in the client.... But Javascript is more powerful in some aspects and is the only scripting language supported in all browsers.... so that's why it uses JS.... it is like a standard. Rgsd Rodrigo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using DirectX Input with Interactive Whiteboards
Hi, I am looking for a good source of knowledge on how to use DirectX Input with Interactive Whiteboards. As far as I know they just plug into a PC via the mouse and monitor connections. I would like to know exactly how to create a direct input device for gathering the input from one of these whiteboards. Currently I am using directx 9.0c, with Visual Studio Express C++. One example of the whiteboards we are targeting is... - SMART Board Interactive Whiteboard 600 series. Unfortunately I do not have regular access to a whiteboard, so I need to work from documentation. I have tried emailing support at Polyvision, Hitachi and Smart Technologies, but have not had any response so far. Any good leads would be appreciated. Che ...Show All
Windows Forms Windows Forms userControl Communication Interface?
Hi, I have a very simple windows app that contains one windows form that contains a splitter control. This form loads two userControls into each panel of the splitter: Control cLeft = new LeftSpine (); cLeft.Dock = DockStyle .Fill; splitContainer1.Panel1.Controls.Add(cLeft); Control cRight = new RightSpine (); cRight.Dock = DockStyle .Fill; splitContainer1.Panel2.Controls.Add(cRight); My Question is what is the best way for me to pass a string (etc) from the usercontrol: LeftSpine to the other usercontrol RightSpine() I've read a lot about interfaces, would I create an interface that would be used by the two usercontrols Can anyone point me in the right direction thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??
im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All
Visual C# Newbie in C#, the problem about 2 dimension array descending sort.
Hey all, I met the problem about 2-dimension array descending sort. E.g. int [,] intarry = new int {{0,1,2},{0,3,4},{0,2,3,}} I wanna have this intarry in terms of descending sort, as the 2nd item. E.g. the expected result will be intarry = {{0,3,4}, {0,2,3},{0,1,2}} From the information that I got from webstie, the 1 dimension array can be applied by reverse method of array. However, for the multiple array, the Comparer should be written. Furthermore, there are few information availble and one even with the commerical application, e.g. you have to pay for it in order to see the possible solution. :0( I am a little new in c#. Therefore, I may need some helps from you.... According to my case, can you do k ...Show All
SQL Server Roles & Limitations
Hello, I would like to limit the access to a cube and it dimensions by using several roles. One role would give the user the right to some for a given dimension a value, another role wich dimensions to see. More in detail .. we have (for other security reasons) AD-groups that place our users in a geographical-ordening, groups as SSRS_All, SSRS_Belgium, SSRS_Poland, SSRS_COMPLEX_Gent. I created a role Users_Gent that on dimension data gives only a complex Gent to bee seen. In a second role-type i'm grouping the users depending on their function, Sales, Market, .. in these roles im setting the dimension to bee seen. Of course when you 'AND' both roles everybody can see everything, as in the second role there is no limitation on c ...Show All
Windows Forms cannot lauch application on other systems
Hello, I am quite new to Windows Forms programming. My problem is that I can't launch the Windows Forms applications I create with Visual Studio Express 2005 on other systems, where Visual Studio and the .NET framework are not installed. The error message I get (translated from german) is something like this: "cannot lauch the application, because the application configuration is not correct. Try reinstalling the application..." What am I doing wrong Do I have to link some libraries someway I am confused... would appreciate some help... ciao, Pascal Thank you Richard, I will have a look at it, but the application I am writing is for people with analog modems or ISDN, they would need almost 1 hou ...Show All
SQL Server Reporting Services Select All
When Building a report in the Business Intelligence Studio /w a select parameter it gives you a select all option. When you publish the report to your report server you no longer have this option Most likely, SP1 has been applied to your server and not to your client. See http://blogs.msdn.com/bwelcker/archive/2006/08/14/700189.aspx for the story of "Select All". ...Show All
SQL Server Views and Indexes in SQL2005
I'm trying to clarify a situation I have dealing with indexes and views. Let's say I have Table_A and Table_B, both contain a column [name] which is indexed in both tables. I also have a view vw_Table_AB that unions Table_A and Table_B. If I write a query like: select * from vw_Table_AB where name = "Dobbs" are the indexes of the base tables used for this query ...Show All
