[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4- Comment #11 by PICCORO LENZ MCKAY: hello i tested all the available knowed odbc modules with gambas code, and rs.count only returns a result.count with mysql! again, seems here there are some spected racism.. Quote: SQLRowCount Function Conformance Version Introduced: ODBC 1.0 Standards Compliance: ISO 92 Summary SQLRowCount returns the number of rows affected by an UPDATE, INSERT, or DELETE statement; an SQL_ADD, SQL_UPDATE_BY_BOOKMARK, or SQL_DELETE_BY_BOOKMARK operation in SQLBulkOperations; or an SQL_UPDATE or SQL_DELETE operation in SQLSetPos there's not the case for the rest of odbc typoes, only for mysql, and seems for sqliteodbc are buggy in mayor funtions, but tested agains isql command line and some code with php works.. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Using a relative file path for a WebView URL
wvwPage.HTML = File.Load(path &/ "index.html") ? On 06/02/2017 08:57 PM, adamn...@gmail.com wrote: I am trying to get a WebViewer control in a loaded library to display an html file stored inside the executable archive of a project using that library. This appears to be not possible ... in the following the main project is calling the library form Run method with a relative path say "../help/html/index.html" (Note the use of the ../ to get the calling programs executable relative path!). The library code is as follows: Public Sub Run (path As string) If Exist(path &/ "index.html") Then Debug path &/ "index.html exists" wvwPage.URL = path &/ "index.html" Debug wvwPage.URL FHSView.Run.10: ../help/html/index.html exists FHSView.Run.13: file:///home/ksshare/gb3projects/Tools/help/html/index.html From the above debug output it appears that the WebView control is "subverting" the actual path back into an absolute path. Any comments? I think I can extract the entire help directory out of the calling program's executable into the /tmp dir, but I think that then I will have to edit every link in the pages to a path relative to the /tmp dir. Painful! Has anyone got any better ideas? bruce -- Lee -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user