Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Writting code in VB to control a LCD?

  1. #1
    Newbie
    Join Date
    Sep 2001
    Posts
    22

    Post Writting code in VB to control a LCD?

    Does anyone know how to do it? I know vb, but have no clue how to do it? Know of any tutorials? Or dll's that can be used with vb to work with lcds?

  2. #2
    Variable Bitrate
    Join Date
    Nov 1999
    Location
    Ishoej, Denmark
    Posts
    310

    Post

    I assume you mean a Character base lcd, these can be controlled two ways either by parallel port or by serial port. VB doesnt really allow you to utilize the parallel port. It may be possible to do it by api calls i'm not sure. The only true way is serial but it will require that you put a small controller to handle the serial inputs (i can remeber where i saw it but it is doable).

    Your best shoot will be using a dll to handle the parallel communication, however my experience is that very few of the people that has made this type of code will make it available, however i know there is at least one, because i messed around with it.
    However i wanted to do a bit more than the dll was able to handle (i wanted to use inputs on the parallele port, but reaction times where just to high)

    i have one of the few available dlls, but i cant remember where i found it. i have two names you can search for directio01.dll and ximp. i believe this is the name of the site, i dont know where it is located but try searching for ximp, if you cant find it ill try'n make it avail to you

  3. #3
    Newbie
    Join Date
    Sep 2001
    Posts
    22

    Post

    Yea, I figured I was going to have to go through some kind of DLL.. I'll se if I can find it, thanks..

  4. #4
    Retired Admin Aaron Cake's Avatar
    Join Date
    Jan 2000
    Location
    London, Ontario, Canada
    Posts
    2,464

    Cool

    See http://www.aaroncake.net/electronics/vblpt.htm for parallel port stuff.
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

  5. #5
    Variable Bitrate
    Join Date
    May 2001
    Location
    Toronto, Canada
    Posts
    355

    Post

    If you do decide to go serial, check out this link. Haven't tried it myself, but it looks interesting.

  6. #6
    Newbie
    Join Date
    Sep 2001
    Posts
    22

    Post

    Thanks you two, I think thoes are exactly what I needed..

  7. #7
    Constant Bitrate
    Join Date
    Nov 2000
    Location
    VA , USA
    Posts
    193

    Post

    if it is a serial LCD let me know since I have done quite a bit of programming in VB for the serial LCD display for winamp.

  8. #8
    Newbie
    Join Date
    Sep 2001
    Posts
    22

    Post

    I am hoping to use serial, since it's faster correc..

    Any help would be great. I was going to write my own media player also, to include everything I need.

  9. #9
    Registered User
    Join Date
    Apr 2000
    Location
    New Concord, OH, USA
    Posts
    157

    Post

    I wrote a VB app to control winamp and use an LCD class module to display info on the LCD when winamp doesn't have control of it (ie.. in car ripping) It's been awhile ago but the web site in the source is www.mscar.cjb.net I think you also need a dll (WIN95IO.dll) to control the lpt port. I don't think it works on NT or 2000 but I'm running it on 98 with no problems. Let me know if you need more info.

  10. #10

Page 1 of 3 123 LastLast

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
  •