Here is a tutorial for using the LCD Smartie easily with Visual Basic 6.
LCD Smartie program must be configured to read an external file.
Sorry but I can not put links to images, the forum refuse it!
1) Configure LCD Smartie:
imageshack.us/photo/my-images/543/smartieinvb6.jpg
Open LCD Smartie, go to setup.
Then select the tab "MISC." and chose $File(C:\file.txt,1)
In the sreens settings type:
$File(C:\file.txt,1)
$File(C:\file.txt,2)
$File(C:\file.txt,3)
$File(C:\file.txt,4)
And select Apply.
The LCD Smartie is ready to read and external file!
2) Routine for Visual Basic:
imageshack.us/photo/my-images/856/vb6ot.jpg/
Create 4 Textbox.
Create a button.
In the button, the routine is:
Private Sub Command1_Click()
Open "C:\file.txt" For Output As #1
Print #1, Text1.Text 'Text box line 1
Print #1, Text2.Text 'Text box line 2
Print #1, Text3.Text 'Text box line 3
Print #1, Text4.Text 'Text box line 4
Close 1
End Sub
Now type something in the textbox, click "Write".
The LCD displays the 4 lines!
This is an example! You can of course replace the textbox with variables!
3) Download:
depositfiles/com/files/nj2g726mx
In the rar, there are:
1) PDF with Tuto and pictures
2) Software in Visual Basic 6
3) Software in EXE
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
[TUTO] Use LCD Smartie in Visual Basic (6) easily
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351
-
- Posts: 1
- Joined: September 5th, 2012, 5:22 pm