Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How To Detect If The Spaeker\headphone Jack Is Inserted Or Removed Using Vb6?


  • Please log in to reply
4 replies to this topic

#1 hizuka007

hizuka007

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:13 AM

Posted 16 November 2007 - 11:03 PM

hello again,

Does anyone here know how to detect if the spaeker\headphone jack is inserted or removed using vb6?
Because i plan to make one so that i can monitor if a headset is being removed or not. bcause it happens to me that a headset is being stolen by the student.

.pls if anyone knows how pls tell me.... THANK YOU VERY MUCH.

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:13 PM

Posted 17 November 2007 - 07:35 AM

Soundcards are not programmed in VB, and you will only be able to tell if headphones are inserted or removed if the soundcard tells you. That is providing that the soundcard is using a software control in the first place. Most headphone jacks are simply two pieces of metal that break contact when the jack is inserted.

#3 hizuka007

hizuka007
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:13 AM

Posted 17 November 2007 - 10:20 PM

so its impossible to program a vb6 that can tell if the headphone is remove? .....

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:13 PM

Posted 18 November 2007 - 07:36 AM

I can not see any possible way to do it. Hardware is not programmed in Visual Basic.

#5 hizuka007

hizuka007
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:13 AM

Posted 20 November 2007 - 07:43 AM

ah.... ok so its not possible... thanks anyway




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users