Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 15th, 2004, 06:19 AM
Meza2 Meza2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Australia
Posts: 8 Meza2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Microsoft Comm Control 6.0

Hello,

BACKGROUND -
I've made a little circutboard with 6 little buttons on it 6 diodes one resistor and a Bi-Colour LED and have solderd it to a serial port cable....... using three inputs, IN-1 IN-2 IN-3, one PWR and one GND to make a remote control sorta thing...

OBJECTIVE-
Using the remote i wish to make a VB program to change what buttons mean and do...... e.g. Using it to skip tracks one day or changing it the next to skip chapters in a dvd.....
I can program all the skimpy stuff like "Open WINAMP" and stuff like that but i am having trouble with the hardware side, i have added the Microsoft Comm Control 6.0 and started to fiddle.
BUT HOW ??? when i recieve the data (and which form is the data in e.g TEXT or BINARY) how do i tell which button is pressed...??? Get me?
e.g. If button 1 is pressed what data do i recieve compared to button 3 or 4 etc "what is the diffewrence between Button2's data and button 3's data??"..............
i hope u can help.............

oh and heres a lookup table i made

B1 B2 B3 B4 B5 B6
BIT 1 1 0 1 0 1 0 In-1
BIT 2 0 1 1 0 0 1 In-2
BIT 3 0 0 0 1 1 1 In-3

THANKYOU..................... -::Meza2Meza::-

Reply With Quote
  #2  
Old January 15th, 2004, 06:22 AM
Meza2 Meza2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Australia
Posts: 8 Meza2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
B1 B2 B3 B4 B5 B6
BIT 1 1 0 1 0 1 0 In-1
BIT 2 0 1 1 0 0 1 In-2
BIT 3 0 0 0 1 1 1 In-3
Is what i meant
-::Meza2Meza::-

Reply With Quote
  #3  
Old January 15th, 2004, 06:25 AM
Meza2 Meza2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Australia
Posts: 8 Meza2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
---------B1 B2 B3 B4 B5 B6
BIT 1 | 1 0 1 0 1 0 | In-1
BIT 2 | 0 1 1 0 0 1 | In-2
BIT 3 | 0 0 0 1 1 1 | In-3

is what i actually meant

Reply With Quote
  #4  
Old January 15th, 2004, 08:46 AM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,194 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 13 h 57 m 53 sec
Reputation Power: 142
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
hey< meza - try enclosing your predefined spacing in ['CODE']['/CODE'] tags, it will preserve what you have created.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Microsoft Comm Control 6.0


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT