Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 09-12-2001, 03:35 PM   #1
Newbie
 
Join Date: Sep 2001
Posts: 22
Dr.Sparkle
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?
Dr.Sparkle is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 09-12-2001, 04:11 PM   #2
Variable Bitrate
 
Join Date: Nov 1999
Location: Ishoej, Denmark
Posts: 310
darkwingduck
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
darkwingduck is offline   Reply With Quote
Old 09-12-2001, 07:32 PM   #3
Newbie
 
Join Date: Sep 2001
Posts: 22
Dr.Sparkle
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..
Dr.Sparkle is offline   Reply With Quote
Old 09-13-2001, 09:14 AM   #4
Retired Admin
 
Aaron Cake's Avatar
 
Join Date: Jan 2000
Location: London, Ontario, Canada
Posts: 2,464
Aaron Cake is on a distinguished road
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."
Aaron Cake is offline   Reply With Quote
Old 09-13-2001, 12:11 PM   #5
Variable Bitrate
 
Join Date: May 2001
Location: Toronto, Canada
Posts: 355
mtmsol
Post

If you do decide to go serial, check out this link. Haven't tried it myself, but it looks interesting.
mtmsol is offline   Reply With Quote
Old 09-13-2001, 02:37 PM   #6
Newbie
 
Join Date: Sep 2001
Posts: 22
Dr.Sparkle
Post

Thanks you two, I think thoes are exactly what I needed..
Dr.Sparkle is offline   Reply With Quote
Old 09-13-2001, 02:40 PM   #7
Constant Bitrate
 
Join Date: Nov 2000
Location: VA , USA
Posts: 193
moxnix
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.
moxnix is offline   Reply With Quote
Old 09-13-2001, 03:03 PM   #8
Newbie
 
Join Date: Sep 2001
Posts: 22
Dr.Sparkle
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.
Dr.Sparkle is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Old 09-13-2001, 07:27 PM   #9
Registered User
 
Join Date: Apr 2000
Location: New Concord, OH, USA
Posts: 157
mp31500
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.
mp31500 is offline   Reply With Quote
Old 09-17-2001, 04:45 AM   #10
Dan
Newbie
 
Join Date: Mar 2000
Location: Odivelas, Portugal
Posts: 25
Dan
Post

I wrote the LCD CLASS in vb to control a parallel port lcd (it works in win95/98) you can download from http://homepage.oninet.pt/400mjj/download.htm

The mscar system is almost finish.
__________________
MSCAR - Multimedia System Car
danbar@oninet.pt
danbar.mscar@oninet.pt
Dan is offline   Reply With Quote
Old 09-17-2001, 01:38 PM   #11
Retired Admin
 
Aaron Cake's Avatar
 
Join Date: Jan 2000
Location: London, Ontario, Canada
Posts: 2,464
Aaron Cake is on a distinguished road
Cool

Instead of controlling WinAmp, you may want to consider controlling Media Player through it's COM object. This is what I have done for my player, and it works very well and is very stable. Not very draining on sysem resources either. And you don't need "plugins", because you are basically custom writing the player to your specifications.
__________________
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."
Aaron Cake is offline   Reply With Quote
Old 09-17-2001, 08:26 PM   #12
Newbie
 
Join Date: Sep 2001
Posts: 22
Dr.Sparkle
Post

I am going to write a custom player anyway. And have the LCD stuff built in.

I just need to find a low resources audio coontrol now..

Also, I will try that VB object, thanks.. Is it fast though?
Dr.Sparkle is offline   Reply With Quote
Old 09-17-2001, 08:38 PM   #13
Newbie
 
Join Date: Sep 2001
Posts: 22
Dr.Sparkle
Post

Quote:
Originally posted by Dan:
<STRONG>I wrote the LCD CLASS in vb to control a parallel port lcd (it works in win95/98) you can download from http://homepage.oninet.pt/400mjj/download.htm

The mscar system is almost finish.</STRONG>

If it is possable, you think I could get the source of your package? Or maybe we can talk about this? Maybe I can help you out some? My icq# is 36232576 and email is drsparkle@zdnetonebox.com

Contact me.. Either way, cause I might need some help with yous module..
Dr.Sparkle is offline   Reply With Quote
Old 09-17-2001, 09:53 PM   #14
Constant Bitrate
 
Join Date: Nov 2000
Location: VA , USA
Posts: 193
moxnix
Post

if you want to talk about the serial port one my icq/aim/e-mail is in my profileand you are welcome to contact me on any one of them.
moxnix is offline   Reply With Quote
Old 09-18-2001, 01:12 PM   #15
Retired Admin
 
Aaron Cake's Avatar
 
Join Date: Jan 2000
Location: London, Ontario, Canada
Posts: 2,464
Aaron Cake is on a distinguished road
Post

Quote:
Originally posted by Dr.Sparkle:
<STRONG>Also, I will try that VB object, thanks.. Is it fast though?</STRONG>

Quite fast. Takes a sec to start up (loading VB runtime and Media Player) but after that it's quick.
__________________
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."
Aaron Cake is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT -5. The time now is 08:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics