D DPaul Active Member Licensed User Longtime User Mar 7, 2017 #1 Hi, Latest version prob ? Has something changed in the openfile dialog syntax ?, because this very "old" part of my app suddenly gives a : java.lang.NoSuchFieldError: No instance field Text of type Ljava/lang/String; in class Lanywheresoftware/b4a/objects/SimpleListAdapter$SingleLineData; or its superclasses (declaration of 'anywheresoftware.b4a.objects.SimpleListAdapter$SingleLineData' appears in /data/app/b4a.example-2/base.apk) -> not during compilation, but when the function is actually used. The code is very simple: Dim ret As Object ret = fd.Show( "Select database", "Yes", "Cancel", "", Null) -> this line passes OK, but does not show the dialog! If fd.ChosenName = "" Then ExitApplication -> this line fails, it used to work ? Paul
Hi, Latest version prob ? Has something changed in the openfile dialog syntax ?, because this very "old" part of my app suddenly gives a : java.lang.NoSuchFieldError: No instance field Text of type Ljava/lang/String; in class Lanywheresoftware/b4a/objects/SimpleListAdapter$SingleLineData; or its superclasses (declaration of 'anywheresoftware.b4a.objects.SimpleListAdapter$SingleLineData' appears in /data/app/b4a.example-2/base.apk) -> not during compilation, but when the function is actually used. The code is very simple: Dim ret As Object ret = fd.Show( "Select database", "Yes", "Cancel", "", Null) -> this line passes OK, but does not show the dialog! If fd.ChosenName = "" Then ExitApplication -> this line fails, it used to work ? Paul
Erel B4X founder Staff member Licensed User Longtime User Mar 7, 2017 #2 You need to update to the latest version of Dialogs library. Upvote 0
D DPaul Active Member Licensed User Longtime User Mar 7, 2017 #3 Erel said: You need to update to the latest version of Dialogs library. Click to expand... OK, found it and updated. But i seem to run into new probs: 1. After installing opendialog 2.96 Error compiling program. Error description: Unknown member: keyboardpopup 2. I also noticed earlier that the sqlite db, which b4a still creates, cannot be read by vb.net on the desktop any more. It thinks there are zero records! Are there more updates to be done ? thx, Paul Upvote 0
Erel said: You need to update to the latest version of Dialogs library. Click to expand... OK, found it and updated. But i seem to run into new probs: 1. After installing opendialog 2.96 Error compiling program. Error description: Unknown member: keyboardpopup 2. I also noticed earlier that the sqlite db, which b4a still creates, cannot be read by vb.net on the desktop any more. It thinks there are zero records! Are there more updates to be done ? thx, Paul
Erel B4X founder Staff member Licensed User Longtime User Mar 7, 2017 #4 DPaul said: Error description: Unknown member: keyboardpopup Click to expand... You can remove this line. It will not popup by default. DPaul said: I also noticed earlier that the sqlite db, which b4a still creates, cannot be read by vb.net on the desktop any more. It thinks there are zero records! Click to expand... Nothing has changed related to the SQL library. Upvote 0
DPaul said: Error description: Unknown member: keyboardpopup Click to expand... You can remove this line. It will not popup by default. DPaul said: I also noticed earlier that the sqlite db, which b4a still creates, cannot be read by vb.net on the desktop any more. It thinks there are zero records! Click to expand... Nothing has changed related to the SQL library.
D DPaul Active Member Licensed User Longtime User Mar 7, 2017 #5 OK, opendialog works, popup statement no longer necessary ! Thanks. (Will do further tests on sqlite. It's not b4a that throws an error, but vb.net) Upvote 0
OK, opendialog works, popup statement no longer necessary ! Thanks. (Will do further tests on sqlite. It's not b4a that throws an error, but vb.net)
D DPaul Active Member Licensed User Longtime User Mar 7, 2017 #6 SQLite problem is also gone without changes! Upvote 0