VulturGryphus's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DrawableGameComponent.GraphicsDevice
I added a class I called Quad, that I hope to use as a rectangle. I butchered the code used to draw the cube and I inherited from DrawableGameComponent in order to make use of the GraphicsDevice property to do the drawing. Any reference to the property throws an "Object reference not set" exception. Any help just a guess, but I think Initialize is not the right place to add your object to the Components list. I'm not at work so I can't be sure, but my guess is that your Initialize is never being called. You can put a breakpoint in there to check. A better place to add an object to the Components list is in the game's constructor. ...Show All
Visual Studio Team System Resolved!
Hi everyone, I am trying to create a TFS project from my visual studio on the client machine. I connects to the server and starts the creation wizard, but just at last steps, suddenly fails with this message: Cannot connect to Sharepoint services, the reason cannot be determined now. Here is the log from project creation wizard: 2/6/2007 11:48:48 AM | Module: Engine | Task "VersionControlTask" from Group "VersionControl" completed with success | Completion time: 12.2533712 seconds 2/6/2007 11:48:48 AM | Module: Engine | Thread: 8 | Running Task "" from Group "" 2/6/2007 11:48:48 AM | Module: Engine | Task "" from Group "" completed with success | Completion time: 0 sec ...Show All
Windows Forms MultiThread Visual Application
I have TreeView on my Form. This application has 2 threads and I want to make changes with my treeView in 2nd thread, but here is such exception: name: InvalidOperationException and Message: "Action being performed on this control is being called from the wrong thread." what can I do with it thanks for your help Yes, thanks , this example work, but let me understand something: This thing "Invoking" again call my method, but in another thread, and this do again all operations witch was made in that thread,right ...Show All
Windows Live Developer Forums vista and live messenger
hi, i dont know if im posting this in the right place but ive recently bought a new laptop ACER Aspire 9300 with Vista. It will not let me run Live Messenger and says something about a DEP (Data Execution Prevention) Can anyone tell me how i can get Messenger to work because as soon as it opens it get shut down again. Thanks. i have the same problems too! I just bought a new acer laptop with windows vista.... I downloaded the new windows live messenger but i cant seem to open it! can someone help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture without shaders
Is it posible to texture a primative without the use of a shader (Like in managed DirectX) All the tutorials seem to use a effect to accomplish this. I'm asking this becouse I want to keep the system requirement for my program as low as possible. ...Show All
Visual Studio Express Editions Counting An Array for Numbers
Hi I was trying to make a program to calculate a poker hand in the form of card values ranging from 1-13. I was trying to see how many 5's or 8's etc were typed in by the user but I cant seem to get a counter up and working, I have notes so ill show my notes and hopefully someone can tell me how to declare or use what im attempting to use. hand = the array with which the users cards are stored. count = the array which counts and stores the amount of each number in the hand array. Code Notes: declaration. int[] count int[] hand hand = new int[5] count = new int[14] Loop for counting numbers. for (i = 0; i < 5; i++) count(hand[ i ]) = count(hand[ i ]) + 1; for some reason i get a error sayting that c ...Show All
Smart Device Development Transparent Label
Hi all, I am putting together a small PPC demo that has one screen with an image on the background. I need to overlay some label controls onto this image expect I cannot find a way of giving the labels a transparent background, these the opaque area overlays the background image :( Is there anyway to do this thanks Compact Framework doesn't support transparent backgrounds in controls. You can do this using System.Draw and draw a text in place where You got label. To do this You have to override OnPaint method : protected override void OnPaint(PaintEventArgs e) { e.Graphics.DrawString(necessary parameters); } This is the simplest way (but not only) to make the label transparent. Next time use search befo ...Show All
Software Development for Windows Vista Certified for Windows Vista - Test Cases (test 31)
Performing the test case 31 and running the application under the "Application Verifier 3.3" with the check necessary for the test, I receive from "Application Verifier" the error reported in the log: < xml version="1.0" encoding="UTF-8" standalone="no" > <avrf:logfile xmlns:avrf="Application Verifier"> <avrf:logSession TimeStarted="2007-01-17 : 16:53:32" PID="1724" Version="2"> <avrf:logEntry Time="2007-01-17 : 16:53:32" LayerName="Handles" StopCode="0x301" Severity="Error"> <avrf:message>Invalid TLS index used for current stack trace.</avrf:message> <avrf:paramete ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PC to 360 with creators club
I was wondering if an internet connection is required to load your own games made on your PC to 360 after purchasing a creators club subscription. My small team and I are working on a game for the 360 and will be buying the creators club subscription once it is available. We are also in the navy and about to make a deployment, where most of the development will take place in our off time. Internet is not available for personal PCs or 360s, so transferring from one to another with that medium wont work. Is transfer directly from PC to 360 disabled when not connected to Xbox live I believe it's been stated that you have to have a connection to Live to run XNA games. I also believe to get the game from your PC to your 360 they ...Show All
SQL Server Storing calculated measures into existing measure groups
Apologies if this is a really obvious question, but how do I put calculated measures into existing measure groups I have a calculated member Z that's defined as Measures.X / Measures.Y. I want to put Z in the same measure group as X, but I don't see an option to do so on the "Calculations" tab. Thanks! In the calculations tab in the cube editor you have a small properties button. Click on that button and choose the measure group. It is the calculation properties dialoge box that will appear. I think it is called associated measure group HTH Thomas Ivarsson ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA on IRC
Join us on IRC in #XNA on efnet We are growing a community where people can get real time help on their issues and work on projects together! Thanks, Ziggy Found a good web client: http://chat.efnet.info/irc.cgi adv=1 Enjoy! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is the XNA Game Studio Express supposed to look exactly like Visual C# 2005 Express Edition?
I just downloaded XNA Express 1.0 and I looks just like Visual C# Express Edition that I downloaded a week ago. It even says Visual C#.......... and I dont understand why. Also I could never start a new project because there were no templates to select. Does anyone know what my problems are and how I can fix them. XNA Game Studio Express shortcut is nothing more than a different shortcut for VC# 2k5Express renamed "XNA Game Studio Express" ...check the shortcut path for both- you'll see theyre the same. as far as it not actually adding the templates, what someone suggested of running VC# at least once before installing GSE might help. I'm new to it, so I can't help you tehre. ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. I have both Navigation Bar and WordWrap turned off, but my CPU still stays pegged at 100%. Wha ...Show All
Visual Studio 2008 (Pre-release) Disabling binding based on visibility
I have an ItemsControl with a binding on ItemsSource and I was wondering what is the easiest way to enable/disable that binding based on visibility property of that control. I don't want the control to be updated when it is invisible. Right you are. I should have said re-assign. My experience was that I could not tweak (I think I was trying to swap out the converter or something) a binding and re-apply it. ...Show All
SQL Server Mix Relative and strict dates
I am trying to write a report where I can have a drop down with values like yesterday,today,lastweek. But I also want the user to be able to select a specific range, say 7/1/2006 to 7/5/2006. Also why can't i update the value of a parameter through to an expression Like set the value to =Today(). It throws an error about the type. Can someone point me in the right direction here I am trying to get the user be able to select either the relative dates, yesterday, lastweek... OR select a strict date range in a linked report. Also do you know if there is a control which only displays the parameters of the report, which can be used to display them. ...Show All
