Nadeem16464's Q&A profile
Visual C++ WMP9 DSP Plugin: Modify CC Text
I'm trying to make a DSP plug-in for Windows Media Player 9 using the SDK provided by Microsoft (I also have DirectX SDK). WMP9 SDK included a wizard to set up a sample DSP Plugin that would adjust the audio volume. I'm trying to modify the code to read the Line21 closed caption data from a DVD and edit it before displaying it. Here is the spot that it writes the text: HRESULT CTest2::DoProcessOutput( BYTE *pbOutputData, & ...Show All
Windows Forms How to disable right click in textbox..
Anyone knows how to disable right -click on a textbox.... Basically i dont want the cut, copy paste menu to pop up when i right click on the textbox... thnks in advance... Just don't let the textbox to process the WM_RBUTTONCLICK: class MyTextBox : TextBox { private const int WM_RBUTTONDOWN = 0x0204; protected override void WndProc(ref Message m) { if(m.Msg&nbs ...Show All
Visual Studio Team System Problem when changing status from active to closed
Hi, We have Agile based team project which contains the bug.xml file from CMMI process template (Beta 3). When opening a bug, and changing the bug status from active to closed (in all other cases work fine), we get an error message: "tf20012 field 'closed date' cannot be empty" "tf20012 field 'closed by' cannot be empty". What is the problem Thanks, Michael Hi there! I've got beta 3 refresh and I can change from active to close status. Take a look at Bug.xml file and see if you have this xml code bolck in workflow: < TRANSITION from = " Active " to = " Closed ...Show All
Visual Studio crystal report in asp.net
Hi all, I am very new to asp.net(vb). I need to make some reports using crystal from a web form. I have to pass some values from the form, and based on that values the reports needs to generate from an oracle database. Can anyone can help me to do this if you can please provide with code or url's. I appreciate your time. Thanks! Try this: The Business Objects Developer Resource Center has links to Code Samples and a Developer Library for detailed tutorials. http://www.businessobjects.com/jump/xi/ ref=devzone_xiresources ref=devzone_main ...Show All
Windows Forms Backgroundworker job hogs memory...
So I have to run scripts every now and then in my code that reads through a db table, loads objects, and updates those objects. The code is usually something like this: // get a datareader and run it while(dr.Read()) { // Load the Order and Update it Order o = Order.Get((Int32)dr[0]); o.SomeProperty = SomeValue; o.Update(); } But running a data reader this way hogs memory like crazy after just a few seconds, making my computer completely unusable. It starts racking up 150,000 K. I have also tried to load everything into a dataset, and then read through that, but that still doesn't work. Can anybody help me out with this and tell me w ...Show All
Software Development for Windows Vista Problems with state persistence and timer services
Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress is evident every time: With the state and/or timer service enabled, the flow gets stuck on ListenForManagerApproval and then after a while the workflow gets the status "aborted". Any ideas why ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using controls as a textbox in dx9?
Greetings! :) I'm programming a game in dx9 and now and then you need a textbox, listbox or some other control for userinput. If you add normal controls it does not work. So the question is: how do I use controls in directx games I cannot find any information on this subject anywhere.. I might be missing something but I don't know what, if it is the case. Nb. Also I might say that I'm programming it in .Net with C# under Windows XP Pro Thank you. Regards, SirErugor A few options: 1) Use SetDialogBoxMode (or the Managed equivalent) and pop up a dialog box with your controls on it. 2) Check ou ...Show All
Visual C++ Multiplatform build
Is there any way to build a solution for more than one platform (i.e. Win32 & x64) with a single command I currently have to select a platform, build the solution, select the other platform and build again. I've tried devenv /build from the command line but it crashes during the build. If there is no direct support for multiplatform build perhaps a macro could do it Thanks, Flavio. What VS version are you using. My tip would have been to use DEVENV from the command line! But you can use "Batch Build" from the Project menu. You can build all platforms from here too! ...Show All
Visual Studio How Do I Set A "Release" Build for ASP.NET 2.0 Applications Using MSBuild?
We are using VS2005 RC1. In "Build | Configuration Manager", we no longer have a "Release" configuration in the drop-down list. We only get "Debug". How do we specify a "Release" configuration so that we can specify the /p:flavor="release" parameter for MSBuild Thanks. Hi Alex, ASP.NET projects only have the Debug configuration in the IDE, and don't support adding other configurations. You'd have to ask on ASP.NET forums for a more detailed explanation of this decision. You can build a "Release" configuration with MSBuild by using the AspNetConfiguration property, but even then it's not exactly a real c ...Show All
Visual Studio 2008 (Pre-release) Many-to-many relationship keys in DLinq
When mapping a many-to-many relationship, if the two foreign-key holding fields on the joining table are marked IsIdentity="true" then DLinq throws an error when attempting to traverse the relationship: A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.DLinq.dll at System.Data.DLinq.ProviderBase.DeferredSourceReader`1.QueryableLink.BuildQuery() at System.Data.DLinq.ProviderBase.DeferredSourceReader`1.QueryableLink.get_Expression() at System.Data.DLinq.ProviderBase.DeferredSourceReader`1.QueryableLink.GetEnumerator() at System.Data.DLinq.EntitySet`1.GetEnumerator() at LinqManyToMan ...Show All
Visual C++ VC++ migration problems
I'm trying to bring a project from VC6 to VS2005 Pro. When I first imported the project there was, not unexpectedly, a long list of compiler errors and warnings, and I modified the source code to get rid of all of them, and am now left with 2 problems I'm not sure how to fix. 1) I get an error during the html help phase of compilation to the tune of "windows can't find hcw" - that's the executable for the help workshop. I see that hcw.exe was installed in the Tools/ directory of VS6, but I can't find a comparable executable anywhere in the VS2005 directories. (This problem does not stop compilation) 2) Much more disturbing t ...Show All
Visual C++ Print Preview Issue
Hey, Heres the problem. I use the OnFilePrintPreview and OnEndPrintPreview methods of the various views. I have overridden these methods just for some appilication specific calls, but at the end of that i still call the base class for these methods. That all works well but when I preview a document and then open another document it fails, basically i want to be able to call the OnEndPrintPreview method when i open a new document (just in case) but dont know what the message call is can you help Thanks Will Get the parent frame window and the active view with CFrameWnd::Get ...Show All
Visual Studio 2008 (Pre-release) Funclet expression gives "No overload for method 'Lambda' takes '1' arguments"
The following code gives "error CS1501: No overload for method 'Lambda' takes '1' arguments": Expression<Funclet> exp = () => 123; Is this by design The same happens with: Expression<Func<Object, Object>> exp = (x) => 123; Would you have a workaround ...Show All
Windows Live Developer Forums Worlds Best App Contest Winners
It’s time to announce the winning applications for MSNR Messenger’s Worlds Best App Contest , which MSN ran from September through December 31 st , 2005. There were a lot of great entries, hard work and interesting new ideas for building new applications and games within Messenger. Submitted applications were judged based on the official rules and judging criteria which included creativity, launches during the contest, suitability for the medium and best use of other MSN services. The following identified winning applications still subject to verification and acceptance of their winning prizes : Grand Pri ...Show All
Windows Forms Default values of control properties
Hi all, I don't understand how to correctly implement default values for controls properties, and can't find anything in the docs or any of my manuals about it! I have something like: <CODE> private string _HeaderText = "MyControl"; [DefaultValue(typeof(string),"MyControl")] public string HeaderText { get{return _HeaderText;} set{_HeaderText = value; drawHeader();} } </CODE> This&nb ...Show All
