Search results for query: *

  1. D

    How to Play a MP3 file?

    Thank you for the idea, I had never come across ILMerge. I am also looking into the idea of using the winmm.dll file that is part of windows. Quick Link: How To Play Mp3 With Winmm.dll - C# | Dream.In.Code
  2. D

    How to Play a MP3 file?

    Thank you for trying.
  3. D

    How to Play a MP3 file?

    I am not sure if I fully understand your idea, but if it what I think and I use the WMP component I would still have the extra dll files in the program folder I know it may not seem a big thing but I am trying to keep the package as compact as possible.:subdued:
  4. D

    How to Play a MP3 file?

    Thanks for responding It is a good idea, but I do not like the idea of relying on an external program, plus you loose control of how the file is played. I know VB can play uncompressed WAV files natively and I may have to fall back to that, but I would prefer to use an MP3 file.
  5. D

    How to Play a MP3 file?

    I am looking for a way to play an MP3 file using VB.NET in windows 7 I know I could use the WMP component, but I would rather not have the additional dll files in the program folder Using Managed DirectX is also an option, but it is already two generation out of date. Any ideas would be...
  6. D

    Question Net Program Unexpectedly Using TCP & UDP Ports

    Can anyone shed light on why a program I have recently written has a TCP and UDP port open. It is just a simple alarm clock program which should not be using any network ports. If it is of any help the program was written in Visual Studio Express and uses the v3.5 of the NET Framework.
  7. D

    Question Referencing an external DLL, Path

    I am writing a program which uses an external DLL file. I have added a reference to the file, but the file path is stored as a absolute path which means I must always keep the file in the same place. Is there any way to make that referenced DLL path relative to the project folder?
  8. D

    Question Terminating a Thread

    Terminating a Thread - AppDomain Solved Thank you for all your help. I am not sure how to mark a thread as solved, but nevertheless thank you.
  9. D

    Question Terminating a Thread

    Terminating a Thread - AppDomain I have never used AppDomain's so you will have to excuse me if I have made a mistake, but I have just looked at MSDN and it shows the following regarding unloading an AppDomain. Unload Performs a graceful shutdown of the domain. The application domain is not...
  10. D

    Question Terminating a Thread

    Can anyone tell me how to kill a thread immediately. I have tried MyThread.Abort, but it seems to do nothing. Someone told me it's because 'Abort' waits for the current operation to complete, but my thread will run for over 30 minutes before that happens. Any help would be appreciated.
  11. D

    Question Receive keyboard events without application having focus

    I am posting today as I would like to know how to capture keyboard events\keys pressed when my application is running but does not have focus. To allay any fears I am not trying to create a key logger or anything malicious. I have written a media player and would like it to be controlled by the...
  12. D

    How to listen to a TCP port for broadcast?

    Thankyou for your help Thanks for all your help, without your help I would have been in a canoe without a paddle. Cheers.
  13. D

    How to listen to a TCP port for broadcast?

    I have an external program which broadcasts a string on localhost, port 2456 whenever a event occurs. What I want to do is connect to and listen to this port and when a string is received save it to a variable so I can do something with it, I have tried searching the usual places, Google, vb...
  14. D

    Redirecting Console program Output

    Thank you for taking the time to reply to my post, unfortunately I had already tried the suggested post on the vb forums. The suggested code did work on some of the console programs, but not on some others. Thanks again.
  15. D

    Redirecting Console program Output

    Let me try and explain my problem. I am trying to write a front-end for several console programs to make them slightly easier to use. I am using the standard code to launch the console program and redirect the output to my front-end, the problem is that when the console program starts the...
  16. D

    database help and video file help

    Problem Two Try this for your second problem. 1. Make sure DirectX extensions are available in visual studio, if not you can get them from Microsoft. 2. On your form add a reference to Microsoft.DirectX.AudioVideoPlayback 3. Add the following line to your forms onload sub. Dim MYvideo As new...
  17. D

    How to delete duplicate records in DataTables

    Further information I should have put this in earlier, but anyway both data tables are internal to the program with no external database connections. The data is read in from csv files and after processing is sent out into a Excel spreadsheet. Thanks for taking the time to reply.
  18. D

    How to delete duplicate records in DataTables

    I have two DataTables, T1 and T2 both contain a Date field. T1 contains around 5000 records and T2 contains around 400 records. What I want to do is check if any of the records in T2 are in T1 (checking the Date field) and if they are delete them from T1. I have tried using a for loop, but it...
  19. D

    Create Link to file.

    Thankyou for your help.
  20. D

    Create Link to file.

    Please can you tell me how to create a link to a file in windows explorer using vb.net Thankyou.
Back
Top