Jul 25, 2008

Need Some Help With The Com Port

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > VB Programming

free web hosting

Need Some Help With The Com Port

spy_charly
hello guys! i was wondering if someone know how to connect the COM port or knows how to receive data from it, my situation is:
I have a program that has some games, and the games are controlled via the keyboard, but i can also add a DLL that detects the COM port entries (data) so that i just tell the program which data(like simulating a pressed key) is doing certain things, the problem is that I am not familiar with VB or C, so does anyone has a DLL that can be executed from outside and return the value?

thanx in advance guys rolleyes.gif

Reply

Inspiron
I don't think a keyboard uses a COM port anymore. COM port is pretty obsolete already. If your device uses a COM port, then it should come with a driver. Simply install the driver and your device will be recognised on the COM port. After that, data will be able to transfer successfully, even in your games.

Reply

spy_charly
nop buddy i mean, i want to create another "mini" keyboard through the com port, so do you know where i can find a DLL that detects the data that enters to the computer...

Reply

Inspiron
Wow.. so you are trying to create your own compatibility between your computer and the keyboard through the COM port? That's pretty interesting as no one will look into this obselete port again.

Anyway, you can try looking to Linux drivers to see if they have COM port drivers as well. Usually they will work. Here is one site which I think might be useful to you.
http://freedos-32.sourceforge.net/showdoc....e=index-modules

Reply

spy_charly
or any ideas on using a usb port, any drivers?

Reply

Inspiron
You probably will not need any drivers if you use a USB port. Windows will automatically detect your device after plugging into the USB port.

Reply

Galahad
Here's a question for you: How are you going to make a mini keyboard, or other controlling device for use via COM port? If you plan on using few wires and contacts, then I'll have to crash your dreams. You will need to design your own PCB, with your own electronic components, and micro controllers, and you will have to programm that microprocessor by yourself.

I work with a company that uses COM ports for out basic communications in our products, and we have engineers design our PCB's, and programm micro controllers, so we can use standard MSComm control within Visual Basic. Working with COM ports is quite simple, once you've got the hardware and have that hardware programmed well. For example, communication with our main computer, is done with a little over 10 bytes! And we have all the information we need.

So, just answer me this question, were you planning to design your own hardware controller for this game, or were you to buy a complete solution. If you are making your own controller, it's puzzles me how you are not familiar with either C or Visual Basic.

And since you didn't make that particular game, I'm assuming you need a DLL that will take the input from COM port, and simulate key presses to that program. This way too, you need heavy programming, and I'm afraid, you'll have difficulty finding who will do it for you.

Hope this helped some, and I'll see your reply soon.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : port

  1. Open Port 80?
    (3)
  2. Port Checking Test
    Shields Up from Gibson Research (1)
    Here ya go, a free security check that tests how accessible your computer is on the Internet. Highly
    recommended. Shields Up from Gibson Research Port Checker: https://www.grc.com/x/ne.dll?bh0bkyd2
    ....
  3. Opening Port
    (0)
    Hello! Can you please open UDP port 27015 on my hosting account? I need it, couse of "Live
    Server View" part of Psychostasts 3.....
  4. A Port Scanner
    software (8)
    I'm searching for a port scanner software so I can scan my computer and see which ports are
    open.. if anyone knows a free one please post it here and thanks in advance /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  5. Apache Default Port
    How to change it? (4)
    I need help to know how to change the port number of Apache server which is I think Port:80, note
    that I'm using XAMPP Control Panel. and thanks in advance /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  6. Skype / Xampp Port Conflict
    How to overcome the problem (3)
    XAMPP is a software package which installs a copy of the Apache Server, Mysql, PHP and Perl onto a
    Windows computer and allows for local development of PHP and Mysql scripts without the need for
    uploading onto your Hosting account to test for errors, etc. A really simple to install set of
    softwares for those who need it. The manual install of all of these softwares can be difficult, but
    the Installer supplied by XAMPP reduces the difficulty factor down to a single download and
    essentially a one-click install. SKYPE is a software which allows using the Internet to make p....
  7. Phpmyadmin Port?
    (1)
    does phpmyadmin have a specific port so that admins on my site can login to an SQL database without
    needing to login to cpanel? thanks.....
  8. Cpanel Port [resolved]
    please help (2)
    Hi i cant access cpanel on the port that you gave, is there a way to access it through port 10000 ? ....
  9. Open Port Check
    (6)
    I have a server for a game on my computer, and want to put a server status code on my website. I was
    wondering if something like this would work: CODE <? $ip = "IP"; // IP Here
    $port = PORT; // Port Here if(fsockopen($ip, $port, $errno,
    $errstr, '10')) echo "The game server is <font
    color='green'>Online</font>!"; else echo "The game server is
    <font color='red'>Offline</font>!"; ?> ....
  10. Checking For Open Ports From Php
    If you want to check the status of a server at a specific port you can (3)
    Some days ago, i needed to check ports of a server from a webpage, for advising of its status. I
    simply used a great php code that's fsockopen . I'll explain it in the following example:
    (Imagine a file called 'checkports.php', containing the next) CODE <? $address
    =" trap17.com"; //Here you can specify the address you want to check ports $port =
    "80"; //Here you can specify the port you want to check from $address $checkport =
    fsockopen($address, $port, $errnum, $errstr, 2); //The ....
  11. Opening A Port Other Than Port 80
    Need an open port not 80 (3)
    I need to open up a port which is NOT port 80. It cannot be in use right now. The preferable port is
    6667. Can this be done?....
  12. To What Port Do You Add Nvidia Sli!
    (0)
    To add a Nvidia Sli graphics cards (ike towo of them. Do you need two 16x PCI express ports or can
    you add the graphics cards to the pc ports?....
  13. Ssh And Port Forwarding
    (0)
    Hello, Is it possible to port forward the mail port:110 with your server using ssh? Thanks in
    advance for your answers.....
  14. Enabling Port Forwarding Using Adsl Modem With Built-in Router
    How to point traffick to computer behind the Prolink ADSL modem? (11)
    Dear all brothers and sisters, /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> I am now looking for help on How to point traffics to a computer behind the
    Prolink ADSL modem I know that for traffick sending to computer behind router, we use the Port
    Forwarding! However, i didn't see any Port Forwarding Section in my ADSL modem. Could
    Anyone co....
  15. The Best Port Scanner And O.s. Enumeration
    TCP/UPD Port scanner,not only tcp ports! (4)
    Here's the best scanner of the www, and i could write down all his features but i've already
    said the main two, wich are: network exploration; security auditing; tcp and udp port scanner;
    operative system and application enumeration (version, name, etc...); It also as the abilitie to
    scan large networks or single hosts, servers, whatever... . Well, there's many other cool and
    usefull functions in NMap, but visit the site: www.insecure.org And there download the version for
    your operative system. Notes: In windows versions, the nmap can work in a ms-dos....
  16. Adsl Routers Are Bad
    Port Blockers (2)
    Oh man. I just switch from 56K Dial Up to a 1.5MB/256KB ADSL Account and I use IRC Chat and man I
    had how the Router Block the Ports and then my ISP company has NO IDEA how to allow ports 6660 -
    7000. And the Router came from them in the first place. To my ISP Company: Learn how to use the
    routers that you supply your customers. It is annoying when you need help and you cant tell me
    anything. I have to contact NetComm directly to find out what to do. You should know this already.
    Anyway I have had enough venting for one day.....
  17. Novell Edirectory Imonitor Remote Buffer Overflow
    running on port 8008 (4)
    Here's the advisory: http://www.frsirt.com/english/advisories/2005/1403 package
    Msf::Exploit::edirectory_imonitor; use strict; use base "Msf::Exploit"; use Pex::Text; my
    $advanced = { }; my $info = { 'Name' => 'eDirectory 8.7.3 iMonitor Remote
    Stack Overflow', 'Version' => '$Revision: 1.1 $', 'Authors' =>
    , 'Arch' => , 'OS' => , 'Priv' => 1, 'AutoOpts' => {
    'EXITFUNC' => 'thread' }, 'UserOpts' => { 'RHOST' => ,
    'RPORT' => , ....
  18. Joystick Problem
    Converting Game Port to USB (3)
    This looks like the closest matching forum for my problem; apologies if it's not. I have an old
    MS SideWinder Pro Plus joystick that I've had forever, mainly to play X-Wing vs. TIE Fighter. I
    recently got the urge to play it again, but when I dragged the trusty SideWinder out of the storage
    box, I discovered my Abit NF7-S2 mobo doesn't have a game port. It does have onboard sound, so I
    don't have the usual sound card game port either. I bought a Belkin DB-15 joystick game
    port-to-USB adapter off the net. It's supposedly specifically for SideWinders,....
  19. Port Checker, Status
    (0)
    Look at this cool script, Check ports on diff sites. Pm me and ill add ures(site). It checks to see
    if a servise is up or down, None are down at the moment, If its got a red dot then the site doesnt
    support or have it. Its gr8 for checking multiple sites to check if there down or up. In this
    version u get a error message, Just refresh the page if you get those(normally fopen errors). Heres
    the site; Click here to go there ....
  20. Chat Port?
    Java (3)
    I have made a small piece of code for a java chat and i need a port to connect to, i tried the
    cpanel display (2082) and port 21(as seen in many posts when using search), but both seem to give
    errors in the chat, in the sense of displaying really strange things (html code for cpanel and for
    port 21 it continuously returns 500 ? ). I have installed the chat the following way: base root
    directory/chat-folder/chat-client/webpages/chat-client12.html (wich is in the same directory as
    where www/public_html and public_ftp are located) and public_html/chat-folder/chat-client/w....
  21. Missing Ltp1 Port Can't Install Printer
    Missing LTP1 Port Can't Install Printer (8)
    I have problem installing my printer, the LPT1 Port is missing before it is visible but for unknown
    reason it disappeared. Please I Need Help on how to reinstall my LTP1 Port on my computer.....
  22. ? Port Scanning ?
    (4)
    hello there .. i might need some help from u guys.. actually this problem existed a long time ago ..
    but nothing serious happens so i ignore it often .. my sygate firewall often detects incoming port
    scan from a remote host .. everytime when i connect to internet .. there comes the port scanning ..
    but i've my norton n spybot updated n scanned very often and couldnt find any trojan or anything
    .. i've tried to backtrace the ip but failed .. is there any thing i can do ? i just try to ping
    the remote host .. anyway i can send a msg to the ip ? now im just pinging....

    1. Looking for port

Searching Video's for port
advertisement



Need Some Help With The Com Port



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE