do you know how quick it would be to try it for yourself and see?AndyGable wrote: ↑Sunday 4th July 2021 9:12pmThanks grayghost4 do I need to change the font to a mono spaced one for that to work?grayghost4 wrote: ↑Sunday 4th July 2021 7:08pm
sitem#1 = "Amount" sitem#2 = "102.65" sItem#1 & Space(30 - Len(sItem#1)) & sItem#2"]
Search found 1562 matches
- Monday 5th July 2021 8:59am
- Forum: General
- Topic: [Sloved] Change Listbox list size
- Replies: 10
- Views: 6077
Re: Change Listbox list size
- Saturday 3rd July 2021 12:08am
- Forum: General
- Topic: Help Converting From VB.net to Gambas
- Replies: 12
- Views: 8773
Re: Help Converting From VB.net to Gambas
no your error is in passing the credentials. have you tried setting Request.Password and Request.User ? (maybe before setting URL?) also there is simply using HttpClient.Download ( URL As String , Headers As String[] ) As String also .Headers is String[] should be in angle brackets even if only one ...
- Wednesday 30th June 2021 9:15pm
- Forum: General
- Topic: Help Converting From VB.net to Gambas
- Replies: 12
- Views: 8773
Re: Help Converting From VB.net to Gambas
If Global.TerminalIDNumber is not a string you must use Str(Global.TerminalIDNumber)
- Wednesday 30th June 2021 7:40pm
- Forum: General
- Topic: Help Converting From VB.net to Gambas
- Replies: 12
- Views: 8773
Re: Help Converting From VB.net to Gambas
Try something like ... Dim Request As New HttpClient Request.URL = Global.PS_URL & "/terminals/" & Global.TerminalIDNumber I tried that and now I am getting Null object (PSConnect:14) on the Request.URL line but the URL is being made correclty (https://**.*.*.paymentsense.cloud/*/...
- Tuesday 29th June 2021 10:15pm
- Forum: General
- Topic: Picture slide show
- Replies: 7
- Views: 3888
Re: Picture slide show
Should be simple. Something like.. Add a PictureBox called PictureBox1 and a timer called PictureTimer... Public ListPos As Integer Public dirList As String[] Public Sub startshow(Folder As String) ListPos = 0 dirList = [] Dim files as String[] = Dir(Folder) For Each s As String In files Dim ext As ...
- Tuesday 29th June 2021 9:15am
- Forum: General
- Topic: app from terminal or gui? [SOLVED]
- Replies: 3
- Views: 2448
Re: app from terminal or gui?
Many Thanks to Tobias Boege on the Gambas m/l for this reply... If anyone else want's the answer to the question..... File.In.IsTerm is true if and only if the standard input of your program is connected to a (pseudo) terminal. This will be the case when you launch the program in a terminal emulator...
- Tuesday 29th June 2021 8:19am
- Forum: General
- Topic: app from terminal or gui? [SOLVED]
- Replies: 3
- Views: 2448
Re: app from terminal or gui?
MAYBE something like so: Try Debug Me.h If Not Error Then Debug "GUI Programm ..." Else Debug "Konsolenprogramm ..." Cheers, but alas that's no good. The application starts from a startup class not a form so none of the usual Me. things exist. also if no args it loads it's gui o...
- Monday 28th June 2021 11:26pm
- Forum: General
- Topic: Help Converting From VB.net to Gambas
- Replies: 12
- Views: 8773
Re: Help Converting From VB.net to Gambas
Try something like ...
Dim Request As New HttpClient
Request.URL = Global.PS_URL & "/terminals/" & Global.TerminalIDNumber
Dim Request As New HttpClient
Request.URL = Global.PS_URL & "/terminals/" & Global.TerminalIDNumber
- Monday 28th June 2021 6:33pm
- Forum: General
- Topic: app from terminal or gui? [SOLVED]
- Replies: 3
- Views: 2448
app from terminal or gui? [SOLVED]
Does anyone know if there is a sure fire way of telling if an app has been launched via terminal or gui? basically i ned to provide shell output to the user and the app could be launched from terminal or desktop drag n drop (or other methods that may not have a terminal) So my plan is to output to s...
- Sunday 20th June 2021 6:25pm
- Forum: Lounge
- Topic: We've got help searching :) (offline help only)
- Replies: 4
- Views: 9940
Re: We've got help searching :) (offline help only)
bruce, you know i appreciate you very much but your comment is *censored*,as well as*censored* and furthermore it is miles below your mental abilities ... 1. in my opinion it is massively schizophrenic to put a website online and then expect nobody to use it ... 2. i wish for 6 correct numbers in t...