mshvw's Q&A profile
Audio and Video Development Protected Content (PMP) and tee node
Is it possible to play a protected media file in a topology using the tee node. I modified the ProtectedPlayback sample and I get MF_E_TOPO_UNSUPPORTED error after setting the topology. Thanks! Actually I was talking about a protected WMA file. It plays fine in WMP11 and in the ProtectedSample as is. But not when I insert a tee node into the topology. Thanks ...Show All
Audio and Video Development About ShutdownObject() of IMFActivate.
I have made OriginalSink and implemented IMFActivate, I could create instance of mySink in the PMPProcess. When the PartialTopology was sent to PMPHost, ActivateObject() of mySink(IMFActivate) was called from PMPSession. And then I have two questions. 1. Although ActivateObject() of mySink was called from PMPSession, ShutdownObject() of mySink was not called from PMPSession . This is why 2. When PMPSession was called Shutdown(), Shutdown() of mySink was called synchronously. And mySink shut down myStreamSink. Is there any problem about that ShutdownObject() has never been called Hi Becky! Thank you for your answer! I ...Show All
Architecture Pattern to choose
Hi, I have worked for several years as a developer/analyst and now I am trying to improve my design knowledge... I hope my question is right for this forum... I have a very large XML file (in excess of 350Mb and can probably get even bigger) that contain some hierarchical data (nested elements). I also have the XML schema that specifies the allowed hierarchical relation between the various elements (well, a schema…). This imply, for performance reasons that I have to use a XML reader of some type. Writing a "prototype" I ended up with a class that contains the reader and has several HandleElementXXX function that work on the reader… Starting from a main loop (while (!reader.EOF) the reading/parsing is delegate ...Show All
SQL Server Is SQL Server CE really the solution?
Hi, So far, with other programming platforms, I used to have the facility, embedded within application .exe, to: 1- Interface with already existing "multi-user" database (ex: Oracle, Access, etc.) 2- Create/access "local"/"Single-User" files for processing purposes. (try to minimize network trafic...) So far, I've read a lot about SQL Server products (SQL Server, Sql Server Express, SQL Server CE), at least all articles I could find, and would like to have your opinion on what would be the best approach 1- What SQL version to use for "multi-user" databases &n ...Show All
.NET Development VS 2003 in 64 bits server
Please, somebody can help me ... i get this error when i try to view a crystal report (VS 2003 web app) in 64 bits server Invalid export DLL or export format. Thanks, Have you looked at this http://www.thescripts.com/forum/thread47148.html ...Show All
.NET Development SMTP Errors - unable to trap SMTP exception
I am trying to send email using the .net 2.0 SMTP client asynchronously using the SendCompletedEventHandler to see if the email is sent (the example is found in MSDN) SmtpClient c= new SmtpClient(host); c.sendCompleted += new SendCompletedEventHandler (mymethod); MailMessage m = new MailMessage(from,to); (from and to are valid e-mail address) c.SendAsync(m,userState); Then method mymethod will get called and I check to see if there is an error or a cancelation if not I know it is sent . However I am not able to trap the SmtpExceptions (if any ) using this asynchronously method if i use just: c.Send(m); I am able to trap the SmtpException (if any) Any ideas why -jawahar ...Show All
SQL Server Pie chart styling issue
Hi, I want to change a couple of styles on my 2005 report: 1 - The colours used on the chart (I don't like the palette ones). 2 - The width of the separator lines used in the pie chart. I can't seem to find the settings for the second one, can anybody please help Cheers, Dan You may want to read the following white paper: http://msdn2.microsoft.com/en-us/library/aa964128.aspx Particularly, check out the pie chart related samples and the custom color palette sample. -- Robert ...Show All
Visual FoxPro How to fix grid headings?
Can we do that It does not help if I set: AllowHeaderSing=.f. I think you meant AllowHeaderSizing. If you set it to .F. header height is not allowed to change. It doesn't have anything to do with column positions (I think you meant it). To do that: thisform.myGrid.Setall('Movable',.F.) ...Show All
SQL Server Copy Database Wizard Error
I am trying to copy a database from our company's external SQL Server(production) to our local SQL Server(development). The Copy Database wizard fails on the step "Execute SQL Server Agent Job". Following is the error in the log file.. Please advise InnerException-->An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) Have you verified that both servers have the remote connections allow ...Show All
.NET Development unable to process request -> No connection could be made because the target machine actively refused it.
Hi there, I have a thin client (windows) on the front and some web services on the server. When we have multiple simultaneous connection hitting the service we are getting this error: Server unable to process request -> Unable to connect to remote server -> No connection could be established as the server actively refused it. It only happens for 3 or more connections simultaneous using the server. Could this be a Windows license limit issue on the server, not allowing users. When I connect alone there is no problem the client talks to the server just fine (which reinstates the connection and port settings are all fine). Since the connection is over http, I dont see a firewall issue too. Please comment on what could be causin ...Show All
Smart Device Development Supplying name for incoming call
Hi, when a call comes in, the device's phone application will - somehow - try to display the name of the caller by using the addressbook. How could I add my application as a primary resource for that, i.e. how can I supply the caller's name for an incoming call (WM2003/WM5 both PPC and SmartPhone) I've been looking at the RTC documentation, but it is unclear whether this will work. Thanks in advance for any pointers, Daniel Hi Daniel The registry notification APIs are new to Windows Mobile 5.0. To support Windows Mobile 2003 as well you'd need to monitor the GSM TAPI line directly.There are a bunch of forum thread dealing with this. There's a good chance that your notification baloon (popup) will o ...Show All
Visual Studio Express Editions Urgent pls help!! All suggestions/help are welcome!!!
Hi, how do i create a new excel workbook and write data into it cell by cell using a button Beside referencing Microsoft Excel object library are their other references needed Thank you. Regards, SCK aka dragoncells I was just giving you the method to display the workbook for debug purposes instead of saving, anyways... If you just want to modify the workbook then you simply do m_objExcel.Workbooks.Open ...Show All
Visual Basic Is it possible to create a delagate that points to a property of a class?
Hello, I am trying to create a delagate that points to the property of an object. I am trying to create a class that can be created from a number of different types of objects that contain the "Item" property. Many classes in the .NET Framework support the Item property, but there is no interface that defines this property, so I cannot seem to figure out how to make a generic method that will accept a number of different object types. Here is a sample of my code: Class SomeClass Private Sub New() End Sub Public function FromDataReader(ByVal Reader As SQLDataReader) As SomeClass Dim Value As new SomeClass() Class.[propertyname] = Reader.item([ItemName]) Return Value End Function Public function FromDataRow(ByVal ...Show All
Visual C# creating new project and then need to do some my actions
Hi All, I have build a small plugin in VS, and i am creating small utility I want to do action like : when user create new project, i want to ask user to do some action and if he select it that action then i want to start action. f.x if i select new project->console application then after creating project i want to ask him do you want to add xxx file in your project if yes then just follow some steps else back to project. can i do this after each new project Please help me waiting for reply Thanks, Niku You'll probably want to have a look at Visual Studio Extensibility . Questions on Visual Studio extensibility can be directed at the Visual Studio Extensibilty Forum . ...Show All
Visual Studio Express Editions using api in vb.net
Hi, I am migrating an application from VB6 to VB.NET at the moment. There is a Windows API call in one of the subroutine which will not run through, see below (words in red are added by VB.NET): Private Sub hook() ' UPGRADE_WARNING: Add a delegate for AddressOf WindowProc Click for more:... lpPrevWndProc = SetWindowLong(gWH, GWL_WNDPROC, AddressOf WindowProc) End Sub my question is how can i add a delegate for windowProc how does a delegate work Thanks You can override the windows messaging procedure as follows Protected Overrides Sub WndProc ( ByRef m As System . Windows . Forms . Message ) MyBase . WndProc ( m ) End Sub Not sure if you actually need the d ...Show All
