Search results for query: *

  • Users: Drache
  • Content: Threads
  • Order by date
  1. 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...
  2. 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.
  3. 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?
  4. 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.
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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.
  10. D

    Change WMP Brightness

    Can someone please tell me how to access the brightness/contrast settings on the windows media player control. The SDK lists the properties, but I cannot find any way to access them. Any help would be appreciated.
  11. D

    How to Add Column to untyped dataset?

    I have an untyped dataset(DataSet1) into which I read a XML file DataSet1.ReadXml(Fpath1) What I need to do is add a column to DataSet1 and fill it with a string variable. I am a novice with datasets in vb.net, so any help would be appriciated. Thankyou. Thankyou for...
  12. D

    How to Check time is between values?

    Can someone please tell me how to check if a time is between two other times. Time a: 15:00 is between time b: 14:00 and time c: 16:00 In addition, can you use time in a for loop for a = 09:00 to 22:00 step 01:00 Thankyou.
  13. D

    How to play a video clip without the letterbox effect

    Can someone please tell me how to play a video clip on a form without the letterbox effect (bars on the top and bottom), no matter if the video is 4:3 or Widescreen? Is there some predefined object that I can use like the WMP control or will I have to write the whole thing myself? Thanks for...
Back
Top