ParityBit267563's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Whats the difference VS 2005 Pro + DirectX and XNA?
Hello! Whats the difference between having VS 2005 Professional and installing the DirectX SDK to the XNA framework Is it that with XNA you can develop to XBOX Since I don't have an XBox I can just as well just stick to using DirectX from VS Pro Thanks in advance! Regards, -Martin Hello Martin! So, XNA is a framework to make easy create games in both plattaforms, xbox and PC. And not is only it. It show for us lots of classes to make easy the coder job. XNA comes to make coding in MDX a deprecated action. go to http://msdn.microsoft.com/xna and see in xna website all info you need about it. Go too to XNA Blogs and see what are new in coding in XNA. Hope help and sorry my bad english... ...Show All
Visual Studio Express Editions Capturing form dimensions
Hi all, One of the things I'm trying to do with my current project is to preserve the most recent dimensions (x, y, w, h) of all the forms upon user exit. And then, when the user runs the program again, the settings are restored. Currently, I'm using the StreamWriter to send the form dimensions to a text file. This seems to work fine for my "main" window ("Me." below), but for some reason my other form ("OutputConsole") only holds the orginial values for the form when it was instanced. In other words, the values don't seem to be changing when I resize and reposition the window. What ends up happening is, the main form settings are captured, but the "OutputConsole" is only capturing the initial ...Show All
Visual Studio Express Editions Microsoft's Web-based registration fails for VS 2005 Express
September 7, 2006 Visual Studio 2005 Express only runs 30 days without registration. Registration page fails to login with an existing Passport account. Registration page fails to login with a newly created Windows Live account. Registration information page provides no option to register. The error message from the Microsoft registration page reads: "The Microsoft Passport Network is unavailable from the site...." We are running only valid, registered Microsoft software on a nearly new computer under Windows XP Pro SP2, with all upgrades. We have no known problem with any other software or Web site. Registration page entered from Visual Studio 2005 Express -- https://login.live.com/ppsecure/secure.srf lc=1033&id= ...Show All
Software Development for Windows Vista Dynamic Update from Custom Activity
How can I do Dynamic Update from Custom Activity I could not access ApplyWorkflowChanges() from within the Custom Activity. Any ideas to solve this are appeciated. Thanks Thanks Serge, I have tried your suggested solution in the past BUT when I ApplyWorkflowChanges() (when the Workflow Instance is not suspended/idle) I get this error "Instance operation is not valid on workflow runtime thread"! In the past I have also posted this problem in the forum but I got no answer ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=684011&SiteID=1 ). Any further ideas are appreciated. Thanks ...Show All
Visual C++ Problem using boost::thread in CLR Class Library in Debug Mode
I've written a simple CLR object to wrap a boost::thread and have referenced this object in a C# console app. If I run the C# app in release mode everything works perfectly. If I run the debug version I get the following - A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll An unhandled exception of type 'System.BadImageFormatException' occurred in mscorlib.dll Additional information: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) I'm pretty sure I had this working before I installed SP1 along with the beta Vista Visual Studio patch. I haven't uninstalled everything yet but I'll be trying that next. I have rebuilt boost after installing SP1. I can post a zip of th ...Show All
Visual Studio Team System tf resolve: does it work?
Hi all just now we have tried to use "tf resolve" from the command line and it does not work as we expected. Following is a snippet from a command file and its output. First "tf resolve" tells us there are no conflicts. Next thing "tf checkin" reports is that we should resolve a conflict. c:\test>tf resolve file.txt /noprompt There are no conflicts to resolve. c:\test>tf checkin file.txt /noprompt Checking in edit: file.txt Conflict: A newer version of $/XTplus-Testprojekt/shelvetest/file.txt exists on the server. TF10141: No files checked in: resolve the conflicts and try again. Are we doing something wrong Btw: The "Resume Conflict Resolution" command in Visual Studio ...Show All
Visual C++ GDI+ v1.1
This may sound odd but, where do I acquire GDI+ v1.1 I tried downloading the latest platform SDK but it only includes version 1.0 of GDI+. Am I the only one with this problem Kindly F.Ahlman On this page: http://msdn.microsoft.com/library/default.asp url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/classes/effect.asp Surely it should state that it requires GDI+ V1.1, not GDI+ V1.0, as GDI+ V1.0 doesn't support Effects ...Show All
Visual Basic Power Pack - MSN Messenger Component
Not sure if this is the right forum to post this but I'd sure like to see Microsoft release a power pack that allows us to integrate MSN Messenger with Visual Basic 2005 (establish conversation, send and receive data would be the basic functionality). An "Office Communicator 2005" component would also do. Thanks Microsoft! ST Done! Please vote for Feedback ID # 209404 - MSN Messenger Power Pack: I'd like to see Microsoft release a power pack that allows us to integrate MSN Messenger with Visual Basic 2005 (establish conversation, send and receive data would be the basic functionality). An "Office Communicator 2005" component would also do. I've seen several requests both on the VB forums as well as ...Show All
.NET Development Express Editions and SQL Server MSDE 2000
Is there a way to connect to a database using MSDE with the express edition of C# I tried to use connection string ="Data Source='Data Source Computer Name' Integrated Security=yes" and I get an error that the connection string was wrong. Since it is native .NET Managed provider, you cannot use Provider property in a connection string, it already knows that it is SQL Server. Your connection string should look like System.Data.SqlClient. SqlConnection _conn = new System.Data.SqlClient. SqlConnection ( "Data Source=(local);Integrated Security=SSPI" ); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple Models
Does anyone know how to create multiple models on demand like by pressing a key or clicking the mouse. I want to be able to create a model at the exact position of the mouse when I press the spacebar. I thought that I would use an array of models to be able to create as many as I want. Wherever you see the lightbulb, that is a [ i ] for the array of models. Here is the code that I have but it does not work: #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; ...Show All
Visual C++ openning a ms word document and reading its contents
Hello I want to read a ms word document into my MFC program. how can I do that when I search openning a word document, "word automation" examples and informations come. however, I simply need to read a word document's content. s there a way to do it simply if so, how I will be very thankful for any reply! Note: there may be any topic about this problem, but I could not find it and it is very urgent! thanks... hello For such questions there is a better place that you can get better served and more valuable response, I'd recommend you to post it in one of newsgroup listed here: http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/008/topic.xml See als ...Show All
Visual C# Creating controls at runtime vice dropping Controls at Design Time???
I'm not so new at C# but I'm still a beginner! I'm very confused about the above subject ... I am a former VB (and COBOL) programmer and, I'm confused as to why or when to drop controls on a windows form and when to create them at run time Are there do's and don'ts for this, or is this feature available for the "hard-nosed" programmer who likes to fully control the app When I wrote VB apps for instance, I would not use the Data control (unless I absolutly had to) because I wanted more control over the data and how it was displayed and edited. Yeah, more coding and work but I knew what was happening when. Any information that will help clear this muddled mind of mine would be appreciated! Thank you Greg ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Missing DirectX features
Is there a list anywhere of the major features from DirectX 9 which are currently missing from the XNA framework I have in mind core D3D features, D3DX-related functionality not included. So far I noticed that there is no support for occlusion queries. Anything else Is support for occlusion queries planned -Per Thanks David, that's very useful. Also, seeing MDX and XNA framework equivalents side by side makes me appreciate even more the strides in API design you guys have made with this release. It finally feels like an API designed for the .NET platform rather than a 1-to-1 port of the C API. Great job! ...Show All
Windows Forms That cool buttonin Windows media player 11
Hi All! You know that cool blue sphere "play" button , and it glows when you have a mouse go over it. How do you do that ! Thanks! Rudy Hi Try the code below private void button1_ MouseEnter (object sender, System.EventArgs e) { button1.FlatStyle = FlatStyle.Flat; } private void button1_ MouseLeave (object sender, System.EventArgs e) { button1.FlatStyle = FlatStyle.Standard; } Whenever you place your mouse over the button it will show flat style, where as when the mouse is out of button it will show standard style. But i dont assure this will ...Show All
Visual Studio Express Editions Array of text boxes
I need to organize some text boxes into an array. Assume I have six text boxes names A0 through A5. I have some data to display in each. The code to do this looks a bit like this: A0.Text = Convert.ToString( data[0] ); A1.Text = Convert.ToString( data[1] ); etc By the time we code up all six, and when more processing is needed, it gets rather ugly. I would like it to look more like this: for ( x = 0; x < 6; x ++ ) text_box[ x ].Text = Convert.ToString( data[x] ); Is there any way to do this with a fairly small amount of code Following up on Figo's answer; I do *not* create new text boxes in the array, I just store references to textboxes on the form into the array. The "hello world" assig ...Show All
