Vladimir Chtepa's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision
Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All
SQL Server If WCF can communicate with ServiceBroker?
hi, I want tomake wcf and service broker communicate with each other,Are there some resources about that thanks in advance Awesome, please keep me informed as well. I'd like to use it too. Thanks CZ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Embedded resources, Xbox 360, and the ContentPipeline.
I have an IDrawable (DrawableGameComponent) that I wish to include in a windows/360 game component library for use by other developers or even personal reuse. To make the component more friendly and useful I would like to include some resources that are to be used by default without having to force the end user to not only include the component library, but also include any resources that the component would offer by default. Now under XNA on windows I have already figured this problem out and can embed and access embedded resources. However when my example is moved into a XBox 360 game project the function I rely on under windows, Texture2D.FromFile() is not exposed (I use a resource manifest stream to access the embedded data). I have lo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A question regarding content not explicity included in the project
My apologies if this has already been asked, but I seek guidance on a conceptual problem I am having. I am attempting to write an engine that would exist as a stand alone executable and then read in a script file which would direct it's actions. However the problem as I understand it is that all assets must be included in the XNA project. Is there a way to set things up so that an XNA executable can access files using a relative path I thank you for your time. On Windows, you can read any files you like from anywhere you like. On Xbox, you can obviously only read files that were deployed to the Xbox. The deploy copies everything that it finds in your project output directory, so as long as you arrange for your files to e ...Show All
Visual C# how do you put a license key in your project
How can you put a license key in your project so when run the application you have to intewr the product key before the application can be installed Sorta like how microsoft windows does or any of microsoft products has! Thanks well its easily done inside the application but a bad idea as you are storing keys in your application which means the hacker can reflect the assembly and look at those keys! There have been many topics about this on the forums, you may want to check out the SharewareStarterkit website. The other way is to create a webservice at your Server end. The webservice will connect to a database (SQL Server) which contains all the product keys and a list of "blacklisted ...Show All
Visual Studio Team System Plans for Work Item Hierarchy?
In reading the "MSF for CMMI Process Improvement" Process Guidance is says "If a change request is accepted, it is used to generate tasks to implement the change." We plan on following this guidance closely and for the most part think it will work fine. The one issue we see is, a Change Request can be closed with out it's Tasks being finished, giving false impressions to our over caffeinated project management team. Ideally we'd like to have a hierarchy so that a Change Request stays "Active" (or in an Implement state in our case) until all it's children tasks are complete. I know this is not possible now (at least with out a lot of customization), but is a work item hierarchy (specifically change req ...Show All
Visual Basic Raise SaveFileDialog's FileOK event?
Let say my application have two buttons, button to open file and save file. When the open button clicked, the open dialog will open and let user select a file, after selected, user will need to click the save button to save the opened file to given (coded) location, I do not want the save dialog to open, instead, I wanted the file to be saved when user click the save button, is it I need to raise the FileOK event of SaveFileDialog or is there any other better way Thanks in advanced. Thanks Tall Dude, I'm using VS2003, and I seems like didn't notice there a File.WriteAllText, instead, I found File.WriteText, is it the same ...Show All
SQL Server Replication Failed: MSmerge_genhistory getting too big?
Hi All, We have a SQL server 2000 merge replication and it has been running for couple of years. We were even fine too at the beginning after upgraded our publisher SQL Server 2000 to SQL Server 2005. Now we are starting have problems. I just found there were two files seem to be too big, MSmerge_genhistory.bcp (1,830,287K) and MSmerge_genhistory90.bcp (1,977,746K). I have no idea why these two files are so big. My questions are: 1. Why these two files (we do have a mix of SQL Server 2000 MSDE and SQL Server 2005 Express as the subscribers) 2. Can (Should) I clean the MSmerge_genhistory table How ( sp_mergemetadataretentioncleanup ) 3. ...Show All
Visual C++ How to contain a modeless dialog in View Frame
Hi, I created a modeless dialog (it's just a common one created with CDialog::Create). The dialog is located at a random position in the desktop window each time when it is created. I want to have it restricted within the View Frame though. Does anybody have any ideas about a solution Thanks in advance. I have figured out a solution to the problem: the Style of the dialog should be set as Child instead of Popup or Overlapped, and the Clip Siblings option true. Thanks. ...Show All
SQL Server Remote update having a linked server takes forever to execute
UPDATE CD SET col1 = SR . col1 , col2 = SR . col2 , col3 = SR . col3 , col4 = SR . col4 , col5 = SR . col5 , col6 = SR . col6 , col7 = SR . col7 , col8 = SR . col8 , col9 = SR . col9 , col10 = SR . col10 FROM LNKSQL1 . db1 . DBO . Table1 CD join Table2 USRI on USRI . col00 = CD . col00 join table3 SR on USRI . col00 = SR . col00 Here, I'm trying to tun this from an instance and do a remote update. col00 is a primary key and there is a clustered index that exists on this column. When I run this query, it does a 'select * from tabl1' on the remote server and that table has about 60 million rows. I don't understand why it would do a select *... Also, we migrated to SQL 2005 a week or so back but before that ...Show All
Visual Basic Buttons not responding to click event
Hey there. I'm running a VB ASP.NET app in VS2003.NET and im having a weird problem with my app. For some reason, a couple of the buttons i have on a page arent responding to their click event handlers when i run the app, whereas on a coworker's pc they ARE responding. Other buttons on the page are working fine on my machine, its just these 2 buttons that arent responding on my machine, but on another machine. Both machines are using VS.NET 2003, save version, same IE version, same everything. Any idea what might be wrong Thanks in advance. jason ...Show All
Visual Studio 2008 (Pre-release) Control unload event raised when the application exits
Is the control unload event raised when the application is closed I just tried it and it doesn't seem to be called. Not sure if I'd expect it to be based on the documentation of the event : Occurs when the element is removed from within an element tree of loaded elements. -Drew ...Show All
Visual Studio Team System Development enviromnet setup
Hi, We are tried to dsign a new developmnet enviromnet and upgrade from VS2003 to VS2005. In order to benefit from the features that VS2005 Team edition has, we think to have one release VS2005 team edition to benefit from the architecture release and many Profesional release. In this design, will the architecture be able to manage the code of all the developers I understand that you want to buy some Team System Archtecture Edition licenses and some Professional Visual Studio licenses, you won't have any problem with the code, the only "problem" you will have is that you won't be able to use the architecture diagrams on the professional editions, but the code and the projects are th ...Show All
Visual Studio Express Editions how to save files
Hi! I have tried this code (from Spotty) for saving and opening files and it works perfectly with my program but i need to add more TextBoxes, one ComboBox, one RichTextBox (text and picture from paint). How can i solve the problem I'am useing WinXP and VB Express Grateful for answers. I.HJ Public Class Form1 Private Mod_strFilename As String = "" Private Sub BtnLoad_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLoad.Click Dim ObjFileBrowser As New OpenFileDialog If ObjFileBrowser.ShowDialog() = System.Windows.Forms.DialogResult.OK Then Dim str_Filename = ObjFileBrowser.FileName TextBox1.Text = My .Computer.FileSystem.Re ...Show All
SQL Server what are the different ways of comparing Sql Server databases
Hi can anybody tell how to compare two databases on sql server thank u vizai That depends on what you want to compare: schema / data / metadata. There are tools for comparing SQL Server database which might fit your need (if we would know more in detail what you need), one of them is the Data Dude which is called Visual Studio for Database professionals. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
