oaix's Q&A profile
Audio and Video Development HD DVD project questions
Hi all, I've been making a lot of SD DVD's the past 5 years so I want to give it a try to author a HD DVD. A client is releasing a 2 DVD box with 6 episodes that have been shot in HD 1080i and asked me if it's possible to author it for HD medium. I want to suggest to release it as a standard DVD box with 2 extra discs containing the HD version of the filmedit. Since there are no players available yet in Europe I'm not very eager to release it on a true HD-DVD medium but to compromise I would like to replicate it on 2 x DVD-9 . The footage is about 2 x 2.5 hours with 5.1 audio. To be on the safe side I would also like to rebuild the project in Director with the same assets so I can include an executable people can use on their PC's because ...Show All
SQL Server error while attaching database
hi all i am working on sql server 2005 When i am trying to attach database in my server i am getting following error. Plz help me to fix this error. the error as as follows : Attach database failed for Server 'myserver'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ Could not find row in sysindexes for database ID 10, o ...Show All
SQL Server Association Scenario
Hi, I have a product basket scenario in where I have to recommend contracts to a customer based on the product and the quantity he/she buys. Product Quantity is an important factor which administers the user in the purchase of a particular contract I have the following tables with me. Customer product transaction table, Customer Contract transaction table but there is no direct relationship between contract and product in the database. The only way the two can be linked is through the customer. If I create a mining structure with Customer-Product information as the nested table and Customer-Contract information as the nested table with customer being the link between the two, the model is showing some irreverent contrac ...Show All
.NET Development New to XML and want to learn.
I am currently on a developing team for a game. I know many codes, such as C++, HTML, PHP, and C#. My team leader was asking me, if I knew XML, I said no I do not. So I wish to learn it. Are there any recommended books or tutorials that you suggest Also, what is used to edit XML Thanks, Tyrael Depends on which language you would like to use for non XML related development, if none just download C# one: http://msdn.microsoft.com/vstudio/express/visualcsharp/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.
The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All
Windows Forms Click Once: How to specify application folder?
Hi all. I want to use click once deployment to upgrade window application. I made deployment package installing app to Program Files/MyApp. I want to upgrade application to the Programe Files folder. However, Click once put all the time the application to sub folder of Document Setting. This is none sense to me. Why does it install on the Document setting And I couldn't find the way to specify the location of folder. Isn't it the common sense it upgrade and put exe and dll files to application folder which is Program Files How to specify click once application folder If it's not possible, do we have to use it or just go with 3-rd party upgrading solution Any comment helps. Thank you. You can't control this ...Show All
Visual Studio 2008 (Pre-release) How to handle failed logons
Hi, With a secured service, what is the usual means of handling a logon failure Should I just catch an exception Should I define a separate unsecured Logon service that returns true / false depending on whether a credential set is valid And is there a way to detect whether a service proxy has successfully authenticated with the server Thanks, Kent That is a little odd. I've got the same code here and it works as expected. Can you trace/log at the verbose level and see if there's something we've missed Thanks! Scott ...Show All
SQL Server Cannot Deploy Report - Please Help
I am trying to set up Reporting Services. I am using SQL Server 2005 on Win XP Pro. I installed service pack 2 for SQL Server 2005. The database looks to be set up in the configuration manager. When I try to deploy the report I get the following message: A connection could not be made to the report server http://localhost/ReportServer When trying to open the ReportServer folder in IIS I get another message: An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Exception has been thrown by the target of an invocation. Could not load file or assembly 'Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Regarding my Career
Sir, I am doing my B.E Computer science(3rd year).I like to extend my career towards game programming.For this i need information about the basic requirements(like the languages that i should specialise in) and what course to do after my engineering.Can you plaese suggest me some ideas regarding this If we talk about industrial game development C++ is still the language of choice. Lately managed languages like C# gain some interest too. But this is currently more in the systems surround the core game engines. In this area you can find script languages like Lua, too. But the language is only a part and it would be a high plus if you are able to learn the syntax of unknown language in a short time. The other part that is much mor ...Show All
Visual Studio 2008 (Pre-release) fisheye effect transformation, is it possible?
Hi, Is it possible to apply a non linear transformations like fish eye effect on WPF widgets thanks Have you looked at the dock bar sample shipping with Expression Interactive Designer Amir Khella wrote that one too and it uses a gaussian function to get something like a fisheye effect. The startup screen in EID should have a link to it. ...Show All
Windows Forms Show dialog after main window appears
I have a dialog window and it shows before the main window. win.ShowDialog() is in Form_Load(). How do I get the main window to appear first the in the load method before showing the dialog box call the Me.Show() ; Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Show() Dim dlg As New YourDialogForm() dlg.ShowDialog() End Sub ...Show All
SQL Server validating sequence container freeze
I am attempting to open up my ssis integration project but when I try to open up packages it says @ the bottom "Validating Sequence Container" and it just stays there. I cannot click on anything and nothing is responsive. Does anyone know why this is happening Normally, it would be validating all what is inside fo the sequence container; including the connections used; database object definitions; etc. This may be affected if you are working off-line of if SSIS cannot get connection to those sources/objects. ...Show All
Smart Device Development Object Store
Hi, I am using Property Databases to store data in Win Mobile. I am not not able to retrieve all the records I get only the first record even thought i have many. I use CEDB_AUTOINCREMENT when opening the database. i use the following API's to perform the operations. ppDBHdl = CeOpenDatabaseEx2(&ppObjStore, &ppDB,dbName, &sort, CEDB_AUTOINCREMENT,NULL); ceoidRec = CeWriteRecordProps(ppDBHdl,0, cPropID, propval); /* Api call to read the data from the database */ ceoidRec = CeReadRecordPropsEx(ppDBHdl,CEDB_ALLOWREALLOC,lProps,NULL,(LPBYTE*)props,dwBuf, NULL); ...Show All
.NET Development Anyone has a solution about it?
I have question here.I can access paradox database using c# with oldeconnection which has connectstring as "this.connect.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Application.StartupPath +@"\table;Extended Properties=Paradox 5.x;";",but I couldn't 't access a paradox database with password protection.Anyone has idea to solve it thanks in advance! " Below is an example that uses the ODBC driver. Give it try: Dim ConnectionString As String ConnectionString = "Driver={Microsoft Paradox Driver (*.db )};DriverID=538;Fil=Paradox 5.X;DefaultDir=C:\Documents and Settings\...\My Documents\My Database\Paradox;Dbq=C:\Documents and Settings\...\My Documents\My Database ...Show All
Windows Forms DataGridView: One double click calls both CellMouseClick and CellMouseDoubleClick
Now I see that my question was very badly writen so I re-write it. I am writing in C#. I have a DataGridView and two functions: One to handle the CellMouseClick event and one to handle the CellMouseDoubleClick event. The problem is that if the user double click a cell, BOTH events are called! First the CellMouseClick and then the CellMouseDoubleClick directly after. They are both called by the VERY SAME double click! It would have helped if I at least could tell if the "CellMouseClick" is caused of a double click or a single click. Anyone that knows how Isn't it alltogether a bug I do not think that a CellMouseClick should be raised by a double click at all. Thanks in advance, Keren PS: This is a car booking system. A single click on a bo ...Show All
