Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. That unfortunately is not likely to happen because the top of the page is a strategic place for ad banners.
  2. I believe we already considered compact framework forum, but there was never really enough traffic to warrant adding another section.
  3. That will not work because even if there are no files matching the pattern, the method will still return an array (an empty one). Check the size of the returned array, if it is 0 then there are no files that match the requirement, if > 0 then you got some files.
  4. I don't disagree with your general idea, as I would like to use my computer excatly the way I want to with a good software support, but you make it sound like Microsoft is preparing a government overthrow and will rule the earth. I just don't agree with the idea that everything Microsoft does is a conspiracy.
  5. Look over the StreamReader object. This link to MSDN will help you and also give you an example of using the class: http://msdn2.microsoft.com/en-us/library/system.io.streamreader(VS.80).aspx
  6. End of discussion indeed... nothing valuable besides the given examples will come out of this.
  7. First of all I would not suggest using Modules but that is a topic for another discussion ;). Are you sure you called the initialization sub for all the forms in your array? This error is most likely occuring due to not initialzing some form objects in the array and trying to use them.
  8. Can you provide some more details about your app? That is a very vague question.
  9. This article over at MSDN might help you: http://msdn2.microsoft.com/en-us/library/5ey6h79d.aspx
  10. Close the form which your application uses to start the message loop, and it will end because the message loop will be terminated. That is the only one you need to explicitly close.
  11. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfstaticpg.asp
  12. Check out this short intro with code sample on MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vaconSharedMembers.asp
  13. You could build the log class using static methods if you only need one log application wide. Then you would be able to access it like you want: ClassName.LogEvent("Hello World")
  14. You should research interaction between forms, and the following tutorial will help you: http://www.xtremedotnettalk.com/showthread.php?t=83092
  15. Current download on the MS website lists Managed DX components as a part of the redistributable download, but that is through the web installer. If I remember correctly, the Managed components used to be an optional install, ran after the installation of the "normal" DirectX. It appears as though that was changed. The reason that this is not working for you/test computer is your DX version could have been installed from a redistributable which did not include MDX.
  16. The Microsoft.DirectX DLL must be included as it contains shared classes used by all DirectX components. But why would it be a problem? If the user needs DX/MDX then it should already be installed on the system and you shouldn't be distributing single DLLs from it.
  17. DirectSound is only meant for WAVE files/sounds and that is what it will play. It provides you with a great toolset for manipulation of sounds. Are you sure you can't use WAV files in your application? You would be able to achieve much greater effects and efficiency even if your application is very simple. AudioVideoPlayback is not supported anymore either (and it is also very basic), so it is very much a waste of developement time when looking from a future perspective.
  18. This example is straight from the MSDN documentation. All you have to do is in your second part of the filter separate them using the semicolon instead of a comma. Image Files(*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|All files (*.*)|*.*
  19. How about you tell us what your program does :).
  20. Yes, Nerseus is right. I should have been more clear about that.
  21. His honesty went over the line unneccessairly the last time he posted.
  22. Why would you really need to know what kind of a database you use beside of course deciding during instantination? This is the beauty of abstraction that you can have :). You could force the class to return some form of an identification, like a string using the interface if you need it. And yes, you can add different methods to a class that implements an interface, but you just wouldn't be able to access it directly without casting. But then again, if you need many different public methods for different databases (which shouldn't really happen) then this level of abstraction might not help you.
  23. I personally can't wait until the new Windows comes out, I'm all for it and the features it brings (even if its all eye candy :)).
  24. http://www.xtremedotnettalk.com/showthread.php?t=49597
  25. While all those may be true ;), no one can deny your professionalism when it comes to writing code and responses.
×
×
  • Create New...