Search found 1104 matches
- Jul 09, 2022 20:41
- Forum: General
- Topic: Advise on the following example
- Replies: 22
- Views: 1758
Advise on the following example
' Coded by : Andrew Gable ' Designed by : Andrew Gable ' Software owned by : Andrew Gable and algPoS, Northampton ' This is a Example of how to use the Page copying mode to smooth out the graphics and Hopefully make the application ' More stable 'Screen copy example #Include "string.bi" #...
Re: Database
So o write it to a file on the hard drive defined by a
Type end type
Example
Type Products
Dim barcodeNumber as string * 13
End type
Type end type
Example
Type Products
Dim barcodeNumber as string * 13
End type
Re: Database
How would I load the database into memory?
Re: Database
Maybe you could provide a sample CSV file with at least 20 data rows and the header row? Sorry for the delay in posting this I had to re create the data file as I could not remeber the layout lol so the format is as follows barcodenumber, posdescription, salelocation, agerestricted, agelimit, price...
- Jul 02, 2022 22:33
- Forum: DOS
- Topic: DOS drivers in FreeBASIC
- Replies: 8
- Views: 4027
Re: DOS drivers in FreeBASIC
Header: file mydll.bi declare function AddNumbers alias "AddNumbers"( byval a as integer, byval b as integer ) as integer Hi angros47 So from what I have read of your example (Thank you for that by the way very helpful) the function Name can be the same for all the printers dll (dxe files...
Database
Hi All, I would like some advise please on what would be the best database to use in DOS As you all know I am working on a DOS Version of my Point of sale software and I am at the moment using a CSV file to hold my data and I am using the Type Function to load that into But I am sure there Must be ...
- Jun 05, 2022 12:03
- Forum: DOS
- Topic: DOS drivers in FreeBASIC
- Replies: 8
- Views: 4027
Re: DOS drivers in FreeBASIC
I have the source code to a DLL that I want to use (this adds promotional support to my windows app)
And i would be creating new dlls for the printers I support
How would the application know what DLL to use? Or do I have to compile it with every DLL included and then work that code internally?
And i would be creating new dlls for the printers I support
How would the application know what DLL to use? Or do I have to compile it with every DLL included and then work that code internally?
- Jun 05, 2022 7:53
- Forum: DOS
- Topic: DOS drivers in FreeBASIC
- Replies: 8
- Views: 4027
Re: DOS drivers in FreeBASIC
Hi @angros47
Does that mean I could use a DLL that was written for windows in my FreeBASIC program?
If so do you know any examples that I could look at? And any example code of how to access the DLL functions?
Does that mean I could use a DLL that was written for windows in my FreeBASIC program?
If so do you know any examples that I could look at? And any example code of how to access the DLL functions?
- Jun 04, 2022 20:39
- Forum: DOS
- Topic: DOS drivers in FreeBASIC
- Replies: 8
- Views: 4027
DOS drivers in FreeBASIC
Hi everyone, I want to ask a question. As most of you know I am writing a EPoS application in FreeBASIC and I want to ask a question. Can I move all the function for example of my printer into a separate driver file or TSR that is loaded when my systems boots? I ask this as I am struggling to keep a...
- Dec 16, 2021 18:22
- Forum: General
- Topic: Convert Windows Web Call to FreeBASIC
- Replies: 4
- Views: 897
Convert Windows Web Call to FreeBASIC
Hi Everyone I was hoping someone smarter then me could show me how I can convert a Windows VB.net 2008 Web function to work in FreeBASIC (Linux and Windows would be great) Private Sub GetTerminalStatus(ByVal DontSendDataToPoS As Integer) Try Dim Request As HttpWebRequest = HttpWebRequest.Create(PS_U...
- Oct 23, 2021 22:09
- Forum: General
- Topic: Advice needed on how to convert this function from VB.net 2008 to FreeBASIC
- Replies: 3
- Views: 841
Re: Advice needed on how to convert this function from VB.net 2008 to FreeBASIC
#INCLUDE Once "mysql\mysql.bi" dim shared MySQLOut Function MySQL_DB(FURL as String, FDBName as String, FSVRUserName as String, FSVRPassword as String, FSVRPort as integer, FQuery as String) as Integer 'DIM Shared MySQLOut As MYSQL_RES PTR' DIM Conn As MYSQL PTR DIM Row As MYSQL_ROW Dim E...
- Oct 11, 2021 11:52
- Forum: General
- Topic: Embedded graphics
- Replies: 17
- Views: 2755
Re: Embedded graphics
@Gablea if you use ScreenSet 1,0 and use Put (x,y),image,ALPHA on the hidden work page normally you have to use the Flip command to refresh the visible page with the hidden work page ! You used the WAIT command also looks like QBASIC not FreeBASIC for me. Joshy Hi Joshua What would be the command I...
- Oct 10, 2021 22:24
- Forum: General
- Topic: Embedded graphics
- Replies: 17
- Views: 2755
Re: Embedded graphics
If you cannot trust the hard drive in a computer, then you have a big problem. Add some debugging code. Check if file exists. Check if image pointer is zero. Etc. No the hard drive is fine on the machines I use (as they are SSD or DOM (Disk on module)) I am more worried about myself forgetting to c...
- Oct 10, 2021 22:23
- Forum: General
- Topic: Embedded graphics
- Replies: 17
- Views: 2755
Re: Embedded graphics
Thanks for teh replay everyone I have updated my code to use BackGround_Loading = LoadRGBAFile(ExePath & FileSeperator & "images" & FileSeperator & "boot.png") And this loads fine but I get no text showing on screen This loads my screen Sub StartupScreenBackground...
- Oct 10, 2021 20:45
- Forum: General
- Topic: Embedded graphics
- Replies: 17
- Views: 2755
Embedded graphics
Hi everyone, Is it possible to embedded within a program a graphical image and display this when the app is running I ask as at the moment I am loading images from file but for some reason they are black at the moment. If I could embed this into the application I know the graphical screen layout wil...