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
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:
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.
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...
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.
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?
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...
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.
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...
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...
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.
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...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.