Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to change ip in webBrowser control Pin
hapiten22-Apr-15 6:55
hapiten22-Apr-15 6:55 
GeneralRe: How to change ip in webBrowser control Pin
Richard MacCutchan22-Apr-15 7:03
mveRichard MacCutchan22-Apr-15 7:03 
AnswerRe: How to spoof ip in webBrowser control Pin
Eddy Vluggen22-Apr-15 9:01
professionalEddy Vluggen22-Apr-15 9:01 
QuestionWinForm Database is locked SQLite Pin
DPaul199422-Apr-15 4:20
DPaul199422-Apr-15 4:20 
AnswerRe: WinForm Database is locked SQLite Pin
Simon_Whale22-Apr-15 4:29
Simon_Whale22-Apr-15 4:29 
AnswerRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 4:42
professionalSascha Lefèvre22-Apr-15 4:42 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 5:34
DPaul199422-Apr-15 5:34 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 5:46
professionalSascha Lefèvre22-Apr-15 5:46 
getConnection() returns an SQLiteConnection (not true/false).
So you can use that using (var connection = Conexiune.getConnection()) -line.

But as I see in that Conexiune-class, it already opens the connection for you. So the (new) error you're getting probably happens on my connection.Open() -line. Please remove that line and see what happens.

As I've seen from your reply to Richard Deeming, who suggested almost the same new code as me, you still get the old error there. This makes me believe the cause is one of those listed on the page that Simon_Whale linked for you. Do you maybe have an open Select-query while you click on the button that calls updateIndex() ?
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 8:28
DPaul199422-Apr-15 8:28 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 8:38
professionalSascha Lefèvre22-Apr-15 8:38 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:10
DPaul199422-Apr-15 9:10 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 9:24
professionalSascha Lefèvre22-Apr-15 9:24 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:44
DPaul199422-Apr-15 9:44 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:53
DPaul199422-Apr-15 9:53 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 9:58
professionalSascha Lefèvre22-Apr-15 9:58 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:59
DPaul199422-Apr-15 9:59 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 9:57
DPaul199422-Apr-15 9:57 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 10:04
professionalSascha Lefèvre22-Apr-15 10:04 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 10:08
DPaul199422-Apr-15 10:08 
GeneralRe: WinForm Database is locked SQLite Pin
Sascha Lefèvre22-Apr-15 10:10
professionalSascha Lefèvre22-Apr-15 10:10 
SuggestionRe: WinForm Database is locked SQLite Pin
Richard Deeming22-Apr-15 4:43
mveRichard Deeming22-Apr-15 4:43 
GeneralRe: WinForm Database is locked SQLite Pin
DPaul199422-Apr-15 5:27
DPaul199422-Apr-15 5:27 
QuestionHow to register the library flash for C# 2005 ? Pin
Member 245846721-Apr-15 17:53
Member 245846721-Apr-15 17:53 
QuestionIf a class can call its base constructor then why the constructor is not inherited Pin
CRobert45621-Apr-15 17:04
CRobert45621-Apr-15 17:04 
GeneralRe: If a class can call its base constructor then why the constructor is not inherited Pin
PIEBALDconsult21-Apr-15 17:15
mvePIEBALDconsult21-Apr-15 17:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.