Michael Mockus's Q&A profile
Software Development for Windows Vista Is simultaneously displaying live captured video and its processed version possible?
I want to write a video capture application which can display the original video and the processed version in real-time. For example, display video feed from a webcam and a monochromatic version of the feed. Is this possible Thanks. I think it's possible as following; Capture filter ---> Infinite Tee filter ---> VMR9 (windowless mode, original video) +---> Monochrome filter --> anot ...Show All
Visual Studio 2008 (Pre-release) Force Image to native resolution?
Is there a simple way to force an Image to be displayed without scaling That is one image pixel for every screen pixel. It is alright, untill the image DPI is 96, if the dpi is less than that, the panel, or viewbox end up enlarging the image. How to handle it in XAML ...Show All
SQL Server ERROR: The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used
As the title indicates, I'm having this error during installation. It occurs when I try to install the "Management Studio" part of the program. I've tried a bunch of things like copying to hard drive and installing, but to no avail. To isolate the problem, i've even tried removing Reporting services, since at the time of failure it seems to be trying to install/configure the Microsoft.Reporting Services dll. Additionally, I have SQL Express ...Show All
.NET Development Problems bring the MEM USAGE down on my program...
Hi I'm using VB.NET, and I think that some of my objects have to many open references, and instances, but I don't know which one holds a reference to the other one. Is there a way that I can dynamically program it to show me which connection is still open, whick datareader is still open, which StreamReader, or StreamWriter is still open. My program was running at almost 450MB MEM USAGE, and while the program are open, the memory usages ...Show All
Visual Studio Team System How do I programmatically start a WebTest?
Given the path to a valid WebTest (xml) script, how do I programatically run the WebTest script (from within Visual Studio) I am creating a Visual Studio plugin, and one of the features is to automatically run selected WebTest scripts, very much like how users can use the TestManager to select & run the WebTest scripts. To clarify, I read that webtests can only be run from within Microsoft's WebTest Engine/Visual Studio. So the ...Show All
Windows Live Developer Forums FireFox bug in V3
I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. ...Show All
Visual Basic snippet editor problem/bug
I've downloaded snippet editor and i found a problem during startup, the follow code path return string.empty instead of "Visual Basic": Public ReadOnly Property LocalisedName() As String Get If Me .m_LocalisedName Is Nothing Then Me .m_LocalisedName = SnippetPathsManager.getLocalisedName( Me .Name) End If Return Me .m_LocalisedName End Get End Property ...Show All
Visual Studio Express Editions UserDeletingRow in Datagridview
Ok here is my issue, I have my datagridview bound to my DB, but when I go to delete a row the row disappears from the datagridview, but when I go into the backkend of the DB the data is still there. Here is the code, any help is apperciated. I am quite new to VB, so I am still learning thsi stuff. Private Sub DataGridView1_UserDeletingRow( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewRowCancelEventArgs) ...Show All
Visual C++ MFC newbee problems to create worker thread
I am new to MFC. I am just trying understand threading. I tried to create a worker thread, and I get a linker error when I compile the code. in CMFCThreadingDlg.cpp I put... void CMFCThreadingDlg::OnBnClickedBtnStart() { HANDLE hThread; hThread = AfxBeginThread(foo, this ); } static UINT foo(LPVOID lParam) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); return 0; } I have put the foo prototype on ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Vs. OpenGL
Im just getting into computer games programming and have become quite familiar with C++ in the last month. However having done some research these 2 names keep cropping up DirectX and OpenGL Can anyone tell me what these two do and which is the best to start learning. Are they both linked with C++ or have i been wasting my time learning c++. Thanks Craig I have just come across a Wrapper for OpenGL written for . ...Show All
Windows Forms Forms / Web Integration
I have stumbled into the deep end of the pool and could use some help. I have a VB.Net 2003 WIndows Forms app that I need to integrate into a web environment. I need to perform the following: a) Validate that a good Internet connection exists b) Programmatically log onto a web site using userid & password provided by the windows app user. c) Authenticate that this is a valid account d) Pass data fields to a "program" on the web site to updat ...Show All
Visual C# how do i prevent "show desktop" or "windows key+m" from minimizing my program?
hi, i don't want my program to be on "TopMost" but i also don't want it to minimize. Never. even if i disable the minimize feature, the program can still be minimized by clicking on the "show desktop" icon or pressing Windows Key+M. I'd like to prevent that. Can someone tell me a possible way to do it btw, the "show desktop" button doesn't trigger the 'resize' or 'changesize' event in the form. Thanks, For the ...Show All
SQL Server How to sort that does not include duplicates in display?
Hi everybody, I like to asked anyone who is very good at sql to help me display this data in a table format that duplicate headings, subheadings or other columns won't appear twice or more. Can anyone help me I need to sort them and load them in a Datatable. Loop thorugh all records and display them in a label control created at run time. Thanks in advance. Sample Data: Topics Table TopicId TopicLevel Topic  ...Show All
Visual Studio Newbie question about debugging Add-in
Hi, I downloaded "Microsoft Visual Studio 2005 Automation Samples" and want to run FielNav in debugger (I set path and command line arguments as in read me is written) but when I start debugging, new Visual Studio is opened but that's all. How can I know invoke this add in to start its Thank you very very much. Hey, In the properties of your project, set the executable of the host appliction as the external program ...Show All
Visual Studio Sometimes I'm unable to debug Windows Forms for more than 60 seconds
I seem to be unable to debug my Windows Forms 2.0 project in Visual Studio 2005 for more than 60 seconds, sometimes. While stepping through the code, and I do this for more than 60 seconds, Visual Studio will throw this exception: "The CLR has been unable to transition from COM context 0x1b2420 to COM context 0x1b2590 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or pro ...Show All
