poon23's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. VersionNotFoundException
I get this exception in XACT from August DXSDK. This looks like .NET related error. I've found it's raported by other .NET users. I can repeat it: I play two cues in repeat mode and watch variables in Variables Settings window. I change one of the variables by slider and sort rows by "Scope". One of the variables is monitored. ------------- Begin Dump Exception ------------- Exception Type: System.Data.VersionNotFoundException Source: System.Data Message: There is no Original data to access. Clickable StackTrace: (Unknown Source Location): System.Data.DataRow.GetOriginalRecordNo() (Unknown Source Location): System.Data.DataRow.GetRecordFromVersion(DataRowVersion version) (Unknown Source Location): System.Data.DataRowView.GetColum ...Show All
Visual Studio Express Editions Mock CD Root
Sorry for the poor Subject Title I'm going to try and explain this as best as I can. What I'm doing is making an autorun.inf program. Well that's easy. 6 minutes of programming and I'm done. But what I want to do is make this a little more that just an autorun program. I'm going to make it so you can add directories and files then "build" the folders. Well I know how to do this too, not a real problem. Now what I do need help on is this: autorun files are placed on root of the CD, But what my program does is gathers all the files and creates a Folder for them. The folder (project folder) is like the CD. Now let's say setup.exe is the autorun program. Well to add this as the open= the user will browse for this file. But when the f ...Show All
Windows Search Technologies Can't Uninstall Windows Desktop Search
I'm having trouble uninstalling Windows Desktop Search 2.06.5000.5373. It probably has to do with my installing and uinstalling Windows Live Toolbar Beta. I've looked through several threads here, but nothing seems to work. In the Add/Remove programs area, I click the remove button and I get the following error message: Windows Desktop Search Setup Error The update could not be removed because newer updates are installed. Please remove the newer updates first. I don't see any newer updates anywhere in the add/remove programs related to the toolbar or desktop search. The Windows programs I see in Add/Remove programs I see are: Microsoft .Net Framework 1.1 Microsoft .Net Framework 1.1 Hotfix (KB886903) Microsoft .Net ...Show All
Visual C++ Profile Guided Optimization and Inline Assembly Code
Does anyone know what needs to be done for PGO instrumentation to work with inline assembly code I have some inline assembly code that works fine with normal debug and release builds, but gives an access violation when compiled for PGO instrumentation. This code makes extensive use of FPU instructions. Are the inline assembly rules different with PGO instrumentation Thanks for any suggestions. After further research, I don't believe this is my problem at all. I think it is the compiler generating bad code. The problem is the same as the one I reported here in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=924444&SiteID=1 . I believe the compiler is not pr ...Show All
Visual Studio A hard one - Unable to attach to the process. Access is denied.
Hi We have a problem debugging for a few months now, with no solution. I went through allot of posts here and elseweher and could not find a solution. we have a web application that is written mostly with ASP, some DCOM proccesses, .WSC and some new ASP.Net pages, and also .NET dll exposed to com. the web application runs under its own application pool that runs as the local system. i think that's about it :-). alas we cannot attach to w3wp of that application with managed code debugger we get "Unable to attach to the process. Access is denied." I added just about all users to debugger users and still no debug. no logs, no nothing. we run sysinternals filemon and regmon to see if something was locked and came up empty. an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Viewport depth buffer / draw order issue?
Apologies in advance if this question has been covered elsewhere. I've searched through literally hundreds of posts here, but couldn't find anything relevant to my issue. I'm working on some code to simultaneously display a 3d model from several different camera angles in several different viewports. Unfortunately, I've run into a rendering problem whenever I draw the model in a viewport. For reference, here is a perspective rendering in 3DS Max of what the model looks like: http://www.hph-tech.com/modelPerspective.jpg This is a screenshot of the model (as seen from above) when I render it normally (i.e. not in a viewport): http://www.hph-tech.com/modelNormal.jpg And this is a screenshot of the model from the same angle, but when rendered ...Show All
Software Development for Windows Vista Appverifier and VB6
Hello, we are currenty in the certification process for the "Certified for Windows Vista" Logo Program. One Test Case is: "Verify application does not break into debugger with the specified AppVerifier checks". We discovered that the Debugger (WinDbg 6.6.0007.5) stopps when a VB6 application uses the "On Error Resume Next" Exceptionhandling (I know that this is not good coding, but it is valid). At runtime, the exception is handled by the VB6 Runtime and everything is OK. When using the debugger, it reports an error at the exception handling of the application. Sample: Private Sub ExceptionTest() Dim myRecordset As ADODB.Recordset On Error Resume Next myRecordset.Close ' Debugger breaks here! ...Show All
Windows Forms Slow User Defined Control
I'm creating a custom control that has contained within it a large number of buttons. The code is extremely slow (taking about 12 seconds to display). I've had no success in making it faster. The problem seems to be centered around a single statement: Controls.Add(my_button_ctl); I tried to use the Controls.AddRange(...) member instead of Add(), but there was no speed improvement as was implied in the documentation. If I remove the Controls.Add() call (or AddRange), the display is almost instant. Is anyone aware of a way to speed up a user defined control that contains a large number of button controls In my case there are up-to 550 buttons contained on the control and I would like to get them displayed in under 1 second. The custom ...Show All
Visual Studio VSS automation
Hi, I have created a small automation program to get my projects from a VSS database. the problem is when I try it in my machine everything works without problems but when I try to run it on another machine (a server with Windows 2003) I get the HRESULT code -10550 that corresponds to: Bad username syntax: "%s" can you help me please Thanks this is the code I'm using Note: the errorMessage function is used only to print the error code CLSID clsid; IClassFactory *pClf; IVSSDatabase *pVdb; BSTR bstrPath = SysAllocString(_iniFile); BSTR bstrUName = SysAllocString(_userName); BSTR bstrUPass = SysAllocString(_password); CoInitialize(0); if(S_OK == CLSIDFromProgID(L"Source ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom processor with additinal data - Content pipeline
I understand one can use the Tag property to add custom data while processing a model. Is that the only way Meaning, do I have to create a whole hierarchy of user defined classes with the Tag property as a root I though of something like deriving ModelContent but that's sealed. Create a collision skin (other than the supplied bounding sphere), add hard points to attach weaponry or any other thing that would require processing of the original geometry or exporting custom data directly from the modeling tool. ...Show All
SQL Server Decimal Places error on opening SQLServer table from Access Project
One single table when openen from a MSAccess project file gives error: The setting for DecimalPlaces property must be from 0 through 15, 255 for Auto (default). After which the table is openend normally. I don't recall setting Decimal Places to the table. The only numeric fields are two INTs that are also ID's (PK and FK). This error occurs also when recreating the db project. These fields can not be edited eitther from MSAccess nor Enterprise Manager. What can be done on the table, resp. MSAccess to change this You can see and edit or remove this property using MS' SQL Query Analyzer. Open the 'object browser', navigate to each column, right click on it and check the 'extended properties'. Find ...Show All
SQL Server SP1 Integration Services update package fails
Hello, the SP1 update of the Integrations Services failed, the rest was fine. Here is the log: 07/20/2006 19:46:56.914 ================================================================================ 07/20/2006 19:46:56.914 Hotfix package launched 07/20/2006 19:46:58.648 Product discovery successfully completed during the install process for DTS 07/20/2006 19:46:58.648 SP Level check successfully completed during the install process for DTS 07/20/2006 19:46:58.648 Product language check successfully completed during the install process for DTS 07/20/2006 19:46:58.664 Product version check successfully completed during the install process for DTS 07/20/2006 19:46:58.664 Command-line instance name check completed during the install process 0 ...Show All
Windows Forms Taskbar Problem
When application startup, the application taskbar button doesn't appear on the task bar, any suggestion to fix it Check that the property "ShowInTaskBar" in the section "Window Style" in your form is true. Regards. PD: Sorry chettu, whil i was open the VS to view the property you replie :P ...Show All
Visual Studio 2008 (Pre-release) Importing a DirectX mesh (.x file) into a Xaml file
Hello, I'm trying to import a .x DirectX mesh in a Xaml file, using the MeshPrimitive3D tag as explained on http://www.codeproject.com/dotnet/3D_in_XAML.asp which gives the following example: <code> <MeshPrimitive3D> <MeshPrimitive3D.Mesh> <Mesh3D XFile3DSource="TorusKnot.x"/> </MeshPrimitive3D.Mesh> </MeshPrimitive3D> </code> However this page is old (2004) and it seems that this tag does not exist anymore (I'm using the may CTP). I did not find a new equivalent tag do to the job, so I was begining to wonder of it was still possible at all. That would be nice. Thanks, Dave Perry That API was in the product a looong time ago but it was never supporte ...Show All
.NET Development Word Interop - System.InvalidOperationException in System.Windows.Forms.dll
Context: Microsoft Visual Studio 2005 Version 8.0.50727.42 Microsoft .NET Framework Version 2.0.50727 Word 2003 Interop Problem: I am trying to recreate the "AmbiguousMember" example from p. 31 of Whitechapel's "MS .NET Development for MS Office" using VB instead of VC#. This involves implementing an event handler for the Word Quit event. In the event handler, I need to toggle the Enabled state of two buttons. This causes the following error: A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll The code behind the Form1 form is shown below. Form1 has two buttons: Button1 "Run Word"; Button2 "Quit Word". The event handler is intended to clean u ...Show All
