Is there any benefit in closing a resultset if it is only declared locally?
I am guessing resources are freed and the cursor is closed in any case if the Sub has finished.
RBS
hi all, i set this code
MainForm.SetFormStyle("TRANSPARENT")
so i have a window without decorations. and i want the user to be able to move the form through the panel.
what should i do?
SubName: Reading PIR sensor on digital pin 5 to rotate a servo on digital pin 4.
Description: Basically this example is emulating opening and closing powered doors like in a shopping centre (shopping mall), superstore etc.
You can use this simple code to monitor PIR sensors HC-SR501 or HC-SR505...
Hi
I use B4XPages and in 1 page I open a PreferenceDialog
Wait For (prefdialog.ShowDialog(prefMap, Main.Loc.Localize("txt_save"), Main.Loc.Localize("txt_cancel"))) Complete (Result As Int)
Based on an event I close the page, but next time I open the page, the PreferenceDialog is still there...
Hi, everyone, i'm coding an app, and i wanted to do it graphically catchy, so i designed my own msgBox in the designer, and i display it using the custom B4XDialog and loading the layout i did.
Now, the problem is that it doesn't aumatic handle the KeyPress Back event, so you have to do it...
Noticed that after closing a ResultSet (closing the ResultSet and freeing resources) the RowCount remains as before closing the ResultSet. As I have a number of module level ResultSets that remain open I added a Sub to keep track of these and close all open ResultSets if there was a memory...
During my application is the background the operating system close my application, there is a way to know when that happen, something like application_error
for example application_Dispose or application_finish
Thanks
hi,
I wanted to create a wake-up ap with some features, but i dont know how to do that
whan the user close the app, the app will open in the specific hour.
does someone knows how can I do that?
im using the B4J Packager but i have a problem.
I made a program that connects to the serial port, once open it writes and reads the serial port, at compiling the program as jar works perfect but when compiling as installer an tries to connect to the serial port it closes without any visible...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.