Answer Questions
Brendan Egan At this point, is it safe to assume that WMPLIB is the replacement for MCI?
Any thoughts Hello JRQ, Media Foundation is the new multimedia platform that we are shipping in Vista . It consists of the new audio and video pipeline, Protected Media Path, and DXVA 2.0. This forum has been created to answer questions pertaining only to Media Foundation. It looks like your question isnt related to Media Foundation. We have started documenting about Media Foundation on MSDN and you c ...Show All
Sun_Shine What's this error???
When I try to changed the name of the control then I received this kind of message. "The name cannot be changed when there is a reference in the markup. Do you continue " Does anybody know where to fix this problem Thanks and Regards, Julia Hi zapacila89 , Thanks for your response. My problem is ok now. When I opened my project again, then the problem goes away.. ...Show All
ACAnghel Attribute on same line as method
Hi, This may seem like a trivial question, but I write a lot of code and... I like to write test methods like this: [Test] Foo_DoesntThrowException() { ... } I like to outline up all my test so they look like this: [Test] Foo_DoesntThrowException() [...] [Test] Foo_ReturnsRightValue() [...] [Test] Bar_WorksRight()[...] This way I can see more and there isn't so much white space. Unfortunately, Visual Studio al ...Show All
Nootn import external classes
Hi. I'm really new in the .net world and I would like some help with this problem. When I did some programming in PHP did I use to put classes in separate files so I could use the classes for diffrent applications. Is this possible with C# and how would a simpel code look like I would be really greatfull for some code, pointers in rigth direction or a direct link to some tutorial for this issue. Se below for description how I mean (m ...Show All
VuDZ Running C++ from a C# app (.NET detection)
I have a c++ script which detects if .NET is installed and what version. I would like to put this c++ script in a C# .NET app so every time someone tries to start the C# app, the c++ code is run, and then the C# app is started if the c++ code returns true. Can I use the c++ code in the C# project Or does this code need to be based outside the project, and it will have to trigger my C# app My only goal is to give the user a nice Message if ...Show All
bdorman Partial Class For a Form Problem
Hello! When I create a partial class for my form the "View Designer" button is shown for my partial class. For the MyForm.Designer.cs partial class it isn't shown and that's the kind of behaviour I want and what I expected, especially as the "View Designer" button show another form, not the form that my partial class extends, but at the same time it overwrites entries in the MyForm.Designer.cs file, destroying my original Form. I looked in ...Show All
Harsimrat C# File signature
Is there away in C# to search or get the signature of a file This is a simple explanation of file signatures: "On a windows system a file signature identifying the type of file is normally contained in the first 20 bytes of the file. For example a Windows Bitmap file with the file extension .bmp would contain "424D" hexadecimal in the first 20 bytes." File signatures are also used in antivirus programs. An antivirus ...Show All
Anthony at Beckman Threaded Controls
I'm a little confused on how to show a progressBar with style continious on a seperate thread. Do I need to create the progressBar at runtime...or can I pop one on the form and just invoke it Style Continious can just be set in properties...with nothing really to do in the threadproc...know what I mean My form is also getting very "crowded"....mucho hidden panels groupbox, etc. Rather create at runtime and just bringtofront....let i ...Show All
Katana displaying ms access reports in VC#
how to display the reports generated by ms access in VC# in windows forms and webforms. You lucky guy ... I just happen to have this link handy to solve the problem for WinForms: http://support.microsoft.com/ scid=kb;en-us;317114&spid=2509&sid=98 FYI - This of course means you'll have a dependency on MS Access with your application. As for WebForms ... that's another problem. I can recommend that you look at http:// ...Show All
AKazi Files on servers
Hi, Asume that an ASCII text file exists on a server, I know the path, for instance http://www...../file.txt and I have the Read access for this file. How have I to enter the path Thanks for your answers, Valentin And what would you like to do WebClient client = new WebClient(); using (Stream responseStream = client.OpenRead( "http://www.mydomain.com/file.txt" )) using(Stream ...Show All
silverfrost How to Read XP_Sendmail output
Hi, I want to read the output of xp_sendMail storeprocedure. (which shows in the result panel of query analyzer while executing the storeprocedure. Like: "Mail send") How can i read this result. or how can i ensure that mail has been sent. plz do reply asap. thanks in advance. Hi there, Glad it all worked out OK for you. From my understanding, in terms of the actual language there's no difference between Express and other editi ...Show All
joniba WIN32 API Problem
Hello All I am trying to do some animation using WIN32. I have a form and I want first copy the form to bitmap in the memory,then hide the form and then show the bitmap that was in the memory on the same location as the form I have shown the code which basically does copy the forms image to bitmap in memory.However but it does Bitblts the image to the screen. I think this is a refresh problem or am I doing anything wrong IntPt ...Show All
ArieK How To Return Null From Class Instantiation
I usually answer the questions, not ask them .... but today I'm asking : If I have a class to instantiate and there exists the possibility that there may be problems instantiating that class, how can I have the instantiation return null I know that one way out is to throw an exception in the constructor, but we all know how expensive exceptions are. I'd rather have the instantiation be null and have to test for a null: MyCla ...Show All
MrZkitten sending a message from one thread to another !!
Greetings... I know it's an incredibly simple question but in C# i just can't find how to do it... And the MSDN help system is giving a lot of information about everyting ...except the simple topic for which i need info on. I have a main window that launches worker threads and i need to know when they finish their jobs... In addition to knowing when a working thread finishes, it must be capable of receiving some completion value ...Show All
EPISWarren socket exception
ok made a very very good class server it can handle to 3879 clients but when it reach 3880 it throwes an exception like that says that it cant perform operation on a system socket because the socket`s quenque is full So, my bad i overlooked that statement. Have you debugged the process and checked that BeginAccept will called multiple times In you code i can't really see bottlenecks. " or initialize a listning socket on the s ...Show All
