Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: VB6 help: Kill Winamp VIS/Video

  1. #1
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053

    VB6 help: Kill Winamp VIS/Video

    Hi all, I need a little help on how to kill/close winamp video/visulizations windows if it is currently running. I was able to close winamp all together but not just VIS or Video windows.

    I have a hard time getting the VIS and Video window caption so the app can close it. Instead, it just close winamp which I don't want.

    The purpose? I am currently writing a small apps that monitor the status of a serial port to restrict some applications (video/moving image) from running or close it if it is running. This is for legal issue of having video playing within the driver view (illegal in CA and most states, and will be illegal everywhere).
    With this application, you can show the COPS that the video can't be play if the hand brake is NOT engage. Of course there is always a switch to override the hand brake if you are in a long trip.
    Thanks
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  2. #2
    Constant Bitrate Jeep's Avatar
    Join Date
    May 2004
    Location
    Sweden
    Posts
    153
    Do a search at: http://www.vbcode.com/

  3. #3
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    Cool Thanks
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  4. #4
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    Quote Originally Posted by MatrixPC
    Hi all, I need a little help on how to kill/close winamp video/visulizations windows if it is currently running. I was able to close winamp all together but not just VIS or Video windows.

    I have a hard time getting the VIS and Video window caption so the app can close it. Instead, it just close winamp which I don't want.

    The purpose? I am currently writing a small apps that monitor the status of a serial port to restrict some applications (video/moving image) from running or close it if it is running. This is for legal issue of having video playing within the driver view (illegal in CA and most states, and will be illegal everywhere).
    With this application, you can show the COPS that the video can't be play if the hand brake is NOT engage. Of course there is always a switch to override the hand brake if you are in a long trip.
    Thanks
    Seems like this might be easier/cleaner if done from the hosting application.

  5. #5
    Maximum Bitrate owenjh's Avatar
    Join Date
    Nov 2003
    Location
    NC
    Posts
    604
    hmm maybe use the winamp API and write a plugin to do this.
    CarComputer Status: New Car & Broken (Motherboard Fried)
    Owen JH | My Linux Blog | The Tech Fellows

  6. #6
    FLAC Pudge's Avatar
    Join Date
    Sep 2003
    Location
    AZ
    Posts
    1,007
    how would the brake be wired into serial port? I think the easiest way would be through the BRAKE LED on your dashboard. When it gets current, maybe that could operate as a switch?
    My Carputer! (More Car Pics at the end)
    2 Kicker Comp 10"
    Epia M-9000, 256 MB DDR, 120 Gig HD
    Lilliput 7" VGA Touchscreen
    Check it out?!

  7. #7
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    Quote Originally Posted by Pudge
    how would the brake be wired into serial port? I think the easiest way would be through the BRAKE LED on your dashboard. When it gets current, maybe that could operate as a switch?
    Simply serial input circuit

  8. #8
    FLAC Pudge's Avatar
    Join Date
    Sep 2003
    Location
    AZ
    Posts
    1,007
    Seems to complicated for me, but great if it works for you, wouldn't current on the LED be an easier switch method?
    My Carputer! (More Car Pics at the end)
    2 Kicker Comp 10"
    Epia M-9000, 256 MB DDR, 120 Gig HD
    Lilliput 7" VGA Touchscreen
    Check it out?!

  9. #9
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    Quote Originally Posted by Pudge
    Seems to complicated for me, but great if it works for you, wouldn't current on the LED be an easier switch method?
    You've got a CarPC and hooking up a relay to your COM port seems complicated? If you want to tap a dash LED and just plug it in to a COM or Parallel port, go for it. The relay method is simple and provides isolation from any stray voltages that might be lurking around your car.

    In any case, the circuit(s) in that post are the ones that Matrix is building his software for. Truly any circuit that triggers an input line on the serial port would work. It's hard to imagine one with fewer components than 1.

  10. #10
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    As of now I am not using any host application (MediaCar, FrodoPlayer, MediaEngine nor VOICE). I am just using Winamp, WinDVD/Win Media Player, and GPS stuff. I want this application to run as a service or just like any application so that I have control what applications to run or not to run at the OS level. It is much easier to have it code directly in the host application because the author have complete control over which and when to run a particular player. But this is limit to the host player only.
    Quote Originally Posted by Pudge
    Seems to complicated for me, but great if it works for you, wouldn't current on the LED be an easier switch method?
    I am not sure how you get the puter in the car but wiring 1 relay doesn't seem that hard nor complicated than take off the dashboard to look for the Ebrake light.
    The Ebrake light is connect directly to the batt (with fuse of course) for positive and the ebrake and/or brake reservor for negative (that is how it work in my 2 toyotas).
    As for setting up the relay for comport, refer to rando post above for the wiring he has. For trigger(+) wire directly to the batt w/fuse, and tap the ebrake signal to the trigger(-). To bypass, get a toggle switch and wire one side to DTR and the other side to DSR. When switch is on, ebrake has no effect and when switch is off, ebrake take over.
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

Page 1 of 2 12 LastLast

Similar Threads

  1. Winamp Problems
    By Axis_Inc636 in forum Software & Software Development
    Replies: 5
    Last Post: 05-12-2004, 11:16 AM
  2. How to remove winamp AVS border. - Sample VB6 code
    By Fusion-One in forum Software & Software Development
    Replies: 1
    Last Post: 10-03-2003, 07:55 PM
  3. Need help with winamp
    By dikke in forum Software & Software Development
    Replies: 6
    Last Post: 12-04-2002, 02:01 AM
  4. C++ or JAVA for controlling winamp? (long)
    By MikeHunt79 in forum Software & Software Development
    Replies: 14
    Last Post: 06-05-2002, 06:51 PM
  5. WinAmp 3
    By Rob in forum Software & Software Development
    Replies: 1
    Last Post: 01-26-2002, 08:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •