DaPosh's Q&A profile
Visual C# Enable Parent Menu from Custom control in Child Form
Hello I have one MDI Application where i have attached a delete menu in MDI form.In child form i have used a Custom text control to display wave Spectrum.When someone select a portion of it then delete menu should be enable.I dont know how to notify parent delete menu from custom control so dat it knows user has selected some portion now delete menu should be enable. Mind it dat my custom contorl is above a child form .So if any event generate i have to passs dat even to child fomr and den to its MDI parent.Plz help me how to do dat Sorry, the previous code must not work, since you do not have access to mainForm in this manner. Declare this: public static Form1 GetForm() { return ma ...Show All
Software Development for Windows Vista filter graph of a running application
Hi, Is there any utility to view the filter graph of a running directshow program I would like to find out all codecs and filter used by a particular video application. Thanks. You can only do this if the application has registered the filter graph in the Running Object Table. You might do that for debugging, but it is unlikely that a released app would do this. If the graph is registered in the ROT, then you can use graphedt to "Connect to remote graph" and view the filters, connections and media types. G ...Show All
SQL Server Need help to Create SSIS package to send mails
Hi All, I am new to SQL Server 2005, I need Help to create a SSIS package for the below taks, My task is Refer a Column [Status] in the Logtable which is used to maintain the logs for the running processes, When ever any Rows with the "FAIL" status in Status column occurs in the LogTable then get the Respective ErrorRowNumber and get the Details of the Error from other 2, 3 tables which will be a simple SQL statements, when you get the Error Details then mail these details to the given Email id. For this I need a help In creating a SSIS package which will continuously check the Status and if any FAIL status occurs then the Error details need to mail to mail id which are stored in the config files of SSIS package. ...Show All
Smart Device Development Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)
The DeviceEmulator 2.0 Community Tech. Preview has gone live, at http://www.microsoft.com/downloads/details.aspx FamilyId=13F5DE85-30CD-4506-9C5B-A2068FA1EE9E&displaylang=en . V2 has: Much improved performance DEComInterfaces.idl - the COM interface to the emulator, along with sample code showing how to use DMA to communicate between a Windows app and an app or driver running inside the emulator. This is the DeviceEmulator's equivalent of the "Building DMA Drivers for the Windows CE.NET Emulator" article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncenet/html/builddmadriver.asp . An eXDI driver for Windows CE Platform Builder 5.0, giving you a hardware debugger interface to the emul ...Show All
Visual Studio 2008 (Pre-release) Multi-Monitor... no hardware drawing support
Hi, as a split off from this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=679032&SiteID=1 I'm working in the financial industry and virtually every deployed client machine uses a multi monitor setup. However, I noticed that as soon as I move a WPF application from the "base" screen to another screen it loses all hardware accalerated drawing support and everything is way laggy. Is this a known issue that is going to be addressed or what's going on here This even happens with the Expression Designer. Right now this makes WPF totally useless for multi monitor setups. Thanks, Tom If i have 2 monitors connected to my PC i can only run windowed DirectX-apps on the primary monitor, ...Show All
.NET Development What is the connection string to write for importing mixed data from excel sheet to data grid
Please help me about this issue, so that I ll be glad to u.I used IMEX=1.but it is working for some limited rows I can't reproduce this problem. When I use IMEX in the connection string the mixed mode columns display just fine. Could you post your code ...Show All
SQL Server Merge Join vs. Lookup vs. Custom Script - which is fastest?
Very often we have 50'000+ rows which you need to pull values from different source (e.g. CityNames from citycode in Excel file). Currently we are using Lookup - but the questions is which of those 3 options is best in performance wise Ken - is your script performing a lookup from another source in pipeline <boy i'd like to know how to do that > Also - any suggestions how to improve performance of OLE DB Update command ...Show All
Visual Studio Removing margins
Hi!! I have designed a report with C.Report 9, and I want to show it in a web application developed with ASP.NET; but there's 2 problems: - There's a column that doesn't appear in the report; I fill the report using a dataset, and the column contains data in the dataset, but it doesn’t appear in the report. It's a varchar(2) data in the data base, and I have defined it as string in the data set. -when the report is shown in a web form a margin appears on the left, and I can't remove it. I have remove the left margin in the section Page setting in Crystal Report, and I've tried to remove the right margin in the web form but the margin doesn't disappear. Help please! and excuse me for my engl ...Show All
.NET Development By-pass DBASE IV index file
Hi all, I experienced "Index file not found" when I use OleDB to load DBASE IV table files (dbf). Is it possible to control OleDB/ODBC to ignore DBASE IV mdx files when it reads dbf files Thanks ...Show All
Software Development for Windows Vista Windows error 32 (can't delete, move, rename...) after play file with DES
Hello people, I have a problem when I try to access files: I build a timeline loading an xtl file, then a run the graph. When media is stopped, I release all resources (I think..) but when I try to modify some image files (need masks in timeline), I can't made any disk operation (save, delete, move...) on those files. Need upgrade DX (I'm using DX8.1 with VC++6.0) Please help me. Alessandro Paperini Yes, I do. The actions are very very simple: CComPtr< IAMTimeline > pTL = NULL; CComPtr< IRenderEngine > pRE = NULL; CComPtr< IXml2Dex > pXML = NULL; CComPtr< IGraphBuilder > pGB = NULL; CComPtr< IMediaControl > pMC = NULL; CComPtr< IMe ...Show All
.NET Development Retrieve the current UtcOffset?
What is the "right" way of retrieving the UTC offset of the local machine A dirty way would be, for example, to compare DateTime.Now and DateTime.UtcNow but it's a rather indirect method. Is there a method in the .Net framework to directly retrieve the UtcOffset (expressed in hours, minutes, whatever) Thanks in advance, Joannes http://www.lokad.com Found another indirect way TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now)) Joannes ...Show All
Game Technologies: DirectX, XNA, XACT, etc. minimum requirements
Hey im new to this forum and i was wondering what will the minimum system requirements be. My computer's a bit out dated and I'm thinking about updating soon but not until after Vista is realesed most likely. From the FAQ: Q: Will the XNA Framework require D3D9 hardware A: A Direct3D 9.0 card, capable of supporting Shader Model 1.1, is the minimum. The recommended level is a card that supports Shader Model 2.0, since most samples and starter kits will require a Shader Model 2.0-compliant card. If you don't have a good enough card, chances are the rest of your hardware is outdated as well. ...Show All
.NET Development FTP Error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
Hi, I am using a FTP client in my application. This FTP client is a freeware for .NET version1.1. It works fine for all files except two files. But these two files are required to FTP to a mainframe machine. I am able to FTP these two files in command prompt but getting error if I am trying to FTP through my c# application. These two files are giving two different errors mentioned below: 1. Index (zero based) must be greater than or equal to zero and less than the size of the argument list. 2. Input string was not in a correct format. But strangely, if I am trying to FTP these files to a Windows platform then it's getting FTPed successfully. I am also giving right SITE command for mainframe requirement. I am gettin ...Show All
.NET Development Windows Application Login Authentication over network
How do you create a windows application login to authenticate with windows username and password over an internal network to enable a secure entry in to other .net programs. Do you mean that you want to determine the currently logged on user to enable you to restrict access to your program, or that you want to impersonate another user (e.g. runas.exe) ...Show All
Visual C++ why i can't find the definition of the function throw()?
LONG_PTR SetWindowLongPtr(int nIndex, LONG_PTR dwNewLong) throw() { ATLASSERT(::IsWindow(m_hWnd)); return ::SetWindowLongPtr(m_hWnd, nIndex, dwNewLong); } it is included in the <atlwin.h>,vs2003.net,please help me! Brian Kramer wrote: The throw() in this declaration is part of the C++ syntax. throw is not an identifier, hence there is no definition. I don't know what you mean by definition , but it is documented. ...Show All
