Search found 32 matches

by lcrltd
Thu Aug 04, 2011 3:11 pm
Forum: Beginners
Topic: Combo Box disable manual entry
Replies: 3
Views: 8916

Thank you ! Works a treat.

Is there any way to get a drop box to automatically go to another field, for example if I select from a drop down a name, for it to then set focus on another edit field?
by lcrltd
Thu Aug 04, 2011 12:26 pm
Forum: Beginners
Topic: Combo Box disable manual entry
Replies: 3
Views: 8916

Combo Box disable manual entry

Is there a way to disable being able to type any value into a combo box, in other words restrict it to only the items I tell it to?

At the moment , if I have Item1 item2 item3 in the drop down, I can type UYIUYIUY or anything in the box.
by lcrltd
Thu Jul 14, 2011 11:45 am
Forum: Technical / Scripting
Topic: Base64 to populate Combo
Replies: 13
Views: 13430

Its a bit of a mess, sorry but its part of a larger project. Basically what I did is, look at the cards.txt file, read each line , decode and store in a new txt file, then work of that. ** Note the script always wanted to decode the last "blank" line hence the Lines_count-1 ReadFile>%vpath%\cards.tx...
by lcrltd
Thu Jul 14, 2011 11:40 am
Forum: Beginners
Topic: Basic Date comparison
Replies: 1
Views: 10524

Basic Date comparison

I am trying simply to see if a date entered is valid . I.e. any date input is less than or greater than Today GetDate>vdate Let>askdate=14/02/2016 if>askdate>vdate mdl>greater than todays else mdl>lesser than todays endif But this only seems to look at the month portion and ignores the year.
by lcrltd
Tue Jul 12, 2011 1:29 pm
Forum: Technical / Scripting
Topic: Base64 to populate Combo
Replies: 13
Views: 13430

I had used Readfile BUT using a combination of the 2 solutions, I got it working . Thanks for all your help.
by lcrltd
Tue Jul 12, 2011 8:28 am
Forum: Technical / Scripting
Topic: Base64 to populate Combo
Replies: 13
Views: 13430

That works fine, if I have 1 line in the txt file.
However I have several , as soon as I add line 2 , it comes back with 1 item in the combo box thats lots of weird characters.
by lcrltd
Mon Jul 11, 2011 1:42 pm
Forum: Technical / Scripting
Topic: Base64 to populate Combo
Replies: 13
Views: 13430

to write to the txt Let>Line=hello world Crypt>abc,%line%,cryptval Base64>cryptval,ENCODE,%newline% WriteLn>c:\CCUI\cards.txt,nWLNRes,%newline% to decrypt ReadFile>c:\CCUI\cards.txt,cardslist Base64>%acardslist%,DECODE,cards_crypt Crypt>abc,cards_crypt,clean Then populate the dialogue with %clean%
by lcrltd
Mon Jul 11, 2011 1:35 pm
Forum: Beginners
Topic: Detect CR
Replies: 2
Views: 6189

Perfect , thank you.
by lcrltd
Mon Jul 11, 2011 12:21 pm
Forum: Technical / Scripting
Topic: Base64 to populate Combo
Replies: 13
Views: 13430

Base64 to populate Combo

Hi, I`m trying to store encrypted items in a TXT file, and to get those to appear un-encrypted in a combo list. So basically the txt file is unreadable unless you run this routine to view the items in the combobox. The items are going into the txt file , line by line, but when i reverse the encrypti...
by lcrltd
Mon Jul 11, 2011 10:25 am
Forum: Beginners
Topic: Detect CR
Replies: 2
Views: 6189

Detect CR

I have a dialog with an edit box which I populate from a card swipe. The card swipe enters the details fine, but I want the code to detect when the card is entered and pop up a message.

The card swipe automatically enters an end carriage return , but how can I get this CR to trigger a message box.?
by lcrltd
Tue Jul 05, 2011 6:57 am
Forum: Technical / Scripting
Topic: Email fonts and signature
Replies: 2
Views: 3983

Email fonts and signature

Using the smtp send command ( or other method ) can you change the default font in the email?

I would like to call up a txt file to send in an email, and if possible add a signature logo .
by lcrltd
Tue Feb 15, 2011 11:55 am
Forum: Beginners
Topic: Changing HTM file
Replies: 4
Views: 7283

Thank you very much, that worked a treat!
by lcrltd
Tue Feb 15, 2011 11:39 am
Forum: Beginners
Topic: Changing HTM file
Replies: 4
Views: 7283

Any pointers would be mightily appreciated.
by lcrltd
Tue Feb 15, 2011 10:41 am
Forum: Beginners
Topic: Changing HTM file
Replies: 4
Views: 7283

Changing HTM file

Is there a way to use Scheduler to change the background colour on a local html file.

It is being exported by a 3rd party with the background colour always set to white, I would like to change it to black.

""

Is the line
by lcrltd
Wed Oct 21, 2009 7:19 am
Forum: Technical / Scripting
Topic: POS Printers
Replies: 1
Views: 3530

POS Printers

I am trying to create a script to send print to a com port ESC/POS printer. The VB commands that EPSON say use are Public Sub cmdPrint() Dim sPrinter As String sPrinter = "COM1:" 'local printer Open sPrinter For Output As #1 Print #1, Chr$(27) & Chr$(64) 'ESC @ = initialize printer Print #1, "Page 1...
cron
Sign up to our newsletter for free automation tips, tricks & discounts