Search found 1049 matches

by Gablea
Feb 05, 2019 8:58
Forum: DOS
Topic: Shell command
Replies: 2
Views: 3313

Re: Shell command

I am not actually updating the exe it is just the data files that the system uses

I am copying from a Network Drive to the local RAM Drive. I am using the RAM Drive to hopefully speed up the data recall function
by Gablea
Feb 04, 2019 23:13
Forum: DOS
Topic: Shell command
Replies: 2
Views: 3313

Shell command

Hi all, Just wanted to make sure I was remembering this correctly Can I run a batch file from with in my dos application? Example shell update.bat /update The update.bat file hold xcopy commands to copy over files and depending on the / option it would either just update files or copy all files no m...
by Gablea
Jan 13, 2019 20:33
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

... html basic attenuation ... What is that? DDG and Google weren't much help here. I may have spelt it wrong this is a sample of the code I use to get the terminals status Try Dim Request As HttpWebRequest = HttpWebRequest.Create(PS_URL & "/terminals/" & TerminalIDNumber) Dim cre...
by Gablea
Jan 13, 2019 20:13
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

yea that folder is empty I was trying to get it to work on a Windows OS but I Like to have this now only on Linux (as I would be moving to that at some point in the near future) My Plan is to fully move my applications over to linux but one of them talks to a web interface and it uses html basic att...
by Gablea
Jan 13, 2019 17:39
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

I could post the source code here if anyone could translate it to FB. I volunteer. Hi grindstone, Here is the C program that takes either weight or barcode data from the scanner This example writes the data to a table within a MySQL database but i am sure there are ways to send data to a Freebasic ...
by Gablea
Jan 13, 2019 16:48
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

grindstone wrote:
Gablea wrote:I could post the source code here if anyone could translate it to FB.
I volunteer.


Thank you so much grindstone I’ll upload it once I get to my PC
by Gablea
Jan 13, 2019 11:56
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

Thank you for the other examples. And badidea I’ve never had a problem with the scanners as they have always sent the end chr (chr(13) they can do a lot more then just send a barcode as they also have a scale connected. I was sent a small C program that reads the scanner data and splits off either t...
by Gablea
Jan 12, 2019 20:27
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

The Scanner commuicates to the system via RS232 but outputs acual ascii codes This is what i have used in the past to control the scanner Sub SaleScreen ScannerFucntion = "SaleScreen" ScreenLock SalescreenDisplay 'Displays the graphical bmp image of the sale screen DisplaySalescreenMenu(Me...
by Gablea
Jan 12, 2019 20:17
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

No screenset nor threading: Time keeps running while typing :-p That was just want I was looking for (could I use that to control a RS232 scanner) Now I just have to work out how to use your code badidea :D or could I throw the Scanner code into a thread on its own? (I know threads would mean I cou...
by Gablea
Jan 12, 2019 20:13
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

Keeping it dead simple Gablea, forget screenset, I see no flicker here. #include "fbgfx.bi" #include "vbcompat.bi" Using FB '' Screen mode flags are in the FB namespace in lang FB Declare Sub DisplayBackground(as string)' (ByVal CurrentTime As String, ByVal CurrentDate As String...
by Gablea
Jan 12, 2019 19:11
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

fxm wrote:Yes.


Well i never know that I have learnt something new today :) Thank-you fxm.

For some reason I have found this way is smoother then with screen lock and unlock (the seconds are always correct)
by Gablea
Jan 12, 2019 18:50
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

First, not necessary to put 'ScreenSet 1, 0' inside the loop: Sorry i must have assumed I would have to set the none active screen each time So would any print go to the non viewed screen? if I used Put (0,0), BackGround_Loading, PSet would thet print be put on the none viewed screen and wh...
by Gablea
Jan 12, 2019 18:48
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Re: Where to put keyboard code

Do you want to do things (e.g. handle user input) while the DisplaySignedOnScreen is shown? Or is it just some pop-up info screen until some key (e.g. escape) is pressed again? And should other things in the main loop continue to work, or is it ok is this is disabled/halted while the DisplaySignedO...
by Gablea
Jan 12, 2019 16:57
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 1682

Where to put keyboard code

Hi all I am doing some experiments with FreeBASIC (so I can work on a better program) and so Far I have this #include "fbgfx.bi" #include "vbcompat.bi" Using FB '' Screen mode flags are in the FB namespace in lang FB Declare Sub DisplayBackground (ByVal CurrentTime As String, ByV...
by Gablea
Jan 11, 2019 19:04
Forum: General
Topic: Capture Ctl & Alt & Insert
Replies: 5
Views: 377

Re: Capture Ctl & Alt & Insert

Ok I’ll try it and let you know :)

Go to advanced search