JakeBullet70 Well-Known Member Licensed User Longtime User Dec 17, 2014 #1 Hi all. b4a - V4.00 maybe I am being stupid or... Code: Copy If apkupdt.CurVN < apkupdt.WebVN Then snapIn_Home.ShowUpdateIfNeeded("U") dg.MessageBox("New version is available, Would you like to install now?","") Else snapIn_Home.ShowUpdateIfNeeded("") End If The fist line is blowing up with 'Invalid double' They are strings but I though b4a would convert. I am using udg appupdate lib. I took a look in his lib code (Big THANKS to udg for including source code) and he has almost the same line that works. Code: Copy If curver < webver Then Stupid... or bug.... or lunch time???
Hi all. b4a - V4.00 maybe I am being stupid or... Code: Copy If apkupdt.CurVN < apkupdt.WebVN Then snapIn_Home.ShowUpdateIfNeeded("U") dg.MessageBox("New version is available, Would you like to install now?","") Else snapIn_Home.ShowUpdateIfNeeded("") End If The fist line is blowing up with 'Invalid double' They are strings but I though b4a would convert. I am using udg appupdate lib. I took a look in his lib code (Big THANKS to udg for including source code) and he has almost the same line that works. Code: Copy If curver < webver Then Stupid... or bug.... or lunch time???
S sorex Expert Licensed User Longtime User Dec 17, 2014 #2 maybe all 3 of them? check your variable declarations I'd say.
DonManfred Expert Licensed User Longtime User Dec 17, 2014 #3 Code: Copy log("CurVN="&apkupdt.CurVN) log("WebVN"&apkupdt.WebVN)
JakeBullet70 Well-Known Member Licensed User Longtime User Dec 17, 2014 #4 Yep, Stupid. never mind... LOL I post and see my error. Thanks all. I was having episode...