Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

SQL Lite Lock

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-02-2008, 02:24 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default SQL Lite Lock

First of all, I purchased B4P few weeks ago and I'm very happy with them. I'm still discovering the tricks.

I'd like to know how can I control the File Locking of SQL Lite. I got some error messages of 'Database is Locked' and I have no ideo how to fix it or to control it.


Thank you in advance,

Joan
Reply With Quote
  #2 (permalink)  
Old 09-02-2008, 03:53 PM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 295
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I had the same issue, I solved it by closing the connection before sending another cmd
Code:
cmd.CommandText = "SELECT * FROM countries WHERE country = 'XYZ"
Reader.Value = cmd.ExecuteReader
Reader.Close
Make sure you use the Reader.Value before closing the Reader, otherwise you lose the value

Last edited by Mr_Gee : 09-02-2008 at 03:56 PM.
Reply With Quote
  #3 (permalink)  
Old 09-02-2008, 05:43 PM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

Thank you very much. I'll check all the code.

By the way have anybody tested the Transparent AES Encryption for SQLite DLL with B4P? Or the MapESoft- GIS component with source code


I'm looking for an encryption tool for SQL Lite. It's a must for me.

Last edited by 2220 : 09-02-2008 at 05:54 PM.
Reply With Quote
  #4 (permalink)  
Old 09-02-2008, 06:43 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by 2220 View Post
By the way have anybody tested the Transparent AES Encryption for SQLite DLL with B4P? Or the MapESoft- GIS component with source code
They both seem to be native code libraries incorporating SQLite code and the encryption routines. They won't work with B4ppc as the B4ppc version of the SQLite library incorporates a managed wrapper because B4ppc is a .NET app.
Quote:
I'm looking for an encryption tool for SQL Lite. It's a must for me.
If you are willing to roll your own look at my Crypto library http://www.basic4ppc.com/forum/addit...x-library.html
Reply With Quote
  #5 (permalink)  
Old 09-03-2008, 09:09 AM
Junior Member
 
Join Date: Jul 2008
Posts: 46
Default

I'll try Agraham.
Thank you.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to lock a program ? gjoisa Questions (Windows Mobile) 6 12-11-2008 08:19 PM
Numbers lock key davelew1s Questions (Windows Mobile) 0 06-14-2008 07:26 PM
sql lite jchal Questions (Windows Mobile) 1 11-16-2007 11:41 AM
GPS lock-on time and accuracy alfcen Questions (Windows Mobile) 7 11-02-2007 08:26 PM
Basic4ppc Lite ? Erel Chit Chat 14 10-18-2007 08:58 PM


All times are GMT. The time now is 10:21 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0