Message requires a string and vNew is a variant ... try this :
Message(Str(vNew["notifications"]))
Search found 187 matches
- Wednesday 17th August 2022 12:14pm
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4565
- Monday 15th August 2022 3:08am
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4565
Re: Help With JSON formatting
Try this : Dim transAmount As String = "2345.45" Dim TraType As String = "SALE" Dim jsonString As String = "{\"transactionType\":" & Quote(TraType) & ",\"amount\":" & Quote(transAmount) & ",\"currency\":\"...
- Sunday 14th August 2022 7:17pm
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4565
Re: Help With JSON formatting
I know nothing about what your are doing
Do you want the 153 to be double quoted ? and there are spaces between each element except the 153 and the comma following it has no space.
If it does require double quotes .... does it need spaces between the quotes ?
Do you want the 153 to be double quoted ? and there are spaces between each element except the 153 and the comma following it has no space.
If it does require double quotes .... does it need spaces between the quotes ?
- Saturday 13th August 2022 7:20pm
- Forum: General
- Topic: format, cfloat, math operations
- Replies: 4
- Views: 1345
Re: format, cfloat, math operations
how i can make math operations from variables with format??? the simple answer is : integer_variable2 = (Val(Right(Replace(tableview1[row,col].text, ",", ""), -1)) * 100) * 2 or : integer_variable2 = (CFloat(Right(Replace(tableview1[row,col].text, " ", ""), -...
- Saturday 13th August 2022 2:25pm
- Forum: General
- Topic: format, cfloat, math operations
- Replies: 4
- Views: 1345
Re: format, cfloat, math operations
Why make it so difficult ? .... Or have I missed something ??? Print "Hello world" Dim theTestFloat As Float = 1234567.89 Dim theTestString As String = Format(theTestFloat, gb.Currency) Print "theTestString", theTestString Print Right(Replace(theTestString, ",", "&...
- Tuesday 9th August 2022 4:08am
- Forum: General
- Topic: "Critical" Error msg in working progam
- Replies: 5
- Views: 1532
Re: "Critical" Error msg in working progam
Kinda like this one, which I get over and over when my program runs.
Gtk-WARNING **: 23:02:55.963: Negative content width -5 (allocation 13, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
it seems to be a "BUG" in GTK
Gtk-WARNING **: 23:02:55.963: Negative content width -5 (allocation 13, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
it seems to be a "BUG" in GTK
- Wednesday 15th June 2022 2:26pm
- Forum: General
- Topic: something happened to the Gambas GUI
- Replies: 5
- Views: 1771
Re: something happened to the Gambas GUI
I reinstalled 3.17.2 and got it working again
- Tuesday 14th June 2022 4:10pm
- Forum: General
- Topic: something happened to the Gambas GUI
- Replies: 5
- Views: 1771
something happened to the Gambas GUI
I attempted to make an executable and something happened and it would not make it . Also at that time I lost the All of the Program .... completlely gone ! .. And also the Gambus GUI will not run any program .. gives a message "Program has returned a message of : 1 " I have reinstalled Gam...
- Tuesday 7th June 2022 4:11pm
- Forum: General
- Topic: SQLite File open. read . write . deleat
- Replies: 0
- Views: 14906
SQLite File open. read . write . deleat
I posted earlier about SQL file handling, after some research and trial and error I have got my program working. So I thought I would share my results for anyone else that is where I was a month ago (searching here for answers). Not all of us here are EXPERTS (me included ) .. so this may be of help...
- Tuesday 24th May 2022 12:08pm
- Forum: General
- Topic: missing information while typing commands
- Replies: 1
- Views: 1142
missing information while typing commands
The default for Fedora is Wayland, and with it this is what you get.
I Know ..... switch to xorg, but if wayland is the future, maybe it should be fixed ?
Or is this a Wayland problem ... for them to fix.
I Know ..... switch to xorg, but if wayland is the future, maybe it should be fixed ?
Or is this a Wayland problem ... for them to fix.