Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do you add a second icon to a gui toolbar? Pin
Ravi Bhavnani29-May-12 5:53
professionalRavi Bhavnani29-May-12 5:53 
GeneralRe: How do you add a second icon to a gui toolbar? Pin
turbosupramk329-May-12 9:34
turbosupramk329-May-12 9:34 
GeneralRe: How do you add a second icon to a gui toolbar? Pin
bishnoiparmod29-May-12 21:00
bishnoiparmod29-May-12 21:00 
AnswerRe: How do you add a second icon to a gui toolbar? Pin
Eddy Vluggen29-May-12 8:57
professionalEddy Vluggen29-May-12 8:57 
GeneralRe: How do you add a second icon to a gui toolbar? Pin
turbosupramk329-May-12 9:34
turbosupramk329-May-12 9:34 
GeneralRe: How do you add a second icon to a gui toolbar? Pin
Eddy Vluggen29-May-12 9:50
professionalEddy Vluggen29-May-12 9:50 
AnswerRe: How do you add a second icon to a gui toolbar? Pin
BobJanova29-May-12 23:09
BobJanova29-May-12 23:09 
QuestionChange password in System.Data.Sqlite Pin
amrok2amrokk29-May-12 2:49
amrok2amrokk29-May-12 2:49 
Hello!
I cannot change the password in System.Data.Sqlite DB.

Here is the code:
C#
_DB = new SQLiteConnection("Data Source=" + db + String.Format(";Password={0}",
                Convert.ToBase64String(password)));


Later I do this:

C#
_DB.SetPassword(Convert.ToBase64String(newPassword));


But when I open the DB again, I get the error:
"File is encrypted or is not a database..." - the same when open with wrong password.

But after changing the password this way, the DB is still OK until application close.
If I do:

C#
_DB.Open();
_DB.ChangePassword(Convert.ToBase64String(password));
_DB.Close();


I cannot access DB after this.
AnswerRe: Change password in System.Data.Sqlite Pin
Pete O'Hanlon29-May-12 3:14
mvePete O'Hanlon29-May-12 3:14 
GeneralRe: Change password in System.Data.Sqlite Pin
amrok2amrokk29-May-12 3:32
amrok2amrokk29-May-12 3:32 
GeneralRe: Change password in System.Data.Sqlite Pin
amrok2amrokk29-May-12 4:46
amrok2amrokk29-May-12 4:46 
GeneralRe: Change password in System.Data.Sqlite Pin
amrok2amrokk29-May-12 7:04
amrok2amrokk29-May-12 7:04 
QuestionNot all code paths return a value Pin
sheringkapoting29-May-12 0:40
sheringkapoting29-May-12 0:40 
AnswerRe: Not all code paths return a value Pin
Can SARIGÜL29-May-12 0:43
Can SARIGÜL29-May-12 0:43 
GeneralRe: Not all code paths return a value Pin
sheringkapoting29-May-12 0:51
sheringkapoting29-May-12 0:51 
AnswerRe: Not all code paths return a value Pin
Pete O'Hanlon29-May-12 0:51
mvePete O'Hanlon29-May-12 0:51 
AnswerRe: Not all code paths return a value Pin
Apocalypse Now30-May-12 14:12
Apocalypse Now30-May-12 14:12 
GeneralUsing lame_enc.dll in .NET - Signature mismatch Pin
ChrisHinde28-May-12 15:11
ChrisHinde28-May-12 15:11 
AnswerRe: Using lame_enc.dll in .NET - Signature mismatch Pin
Luc Pattyn28-May-12 15:24
sitebuilderLuc Pattyn28-May-12 15:24 
GeneralRe: Using lame_enc.dll in .NET - Signature mismatch Pin
BobJanova28-May-12 23:26
BobJanova28-May-12 23:26 
GeneralRe: Using lame_enc.dll in .NET - Signature mismatch Pin
DaveyM6929-May-12 1:40
professionalDaveyM6929-May-12 1:40 
Questionobject reference not set to an instance of an object Pin
a.fatemeh28-May-12 12:16
a.fatemeh28-May-12 12:16 
AnswerRe: object reference not set to an instance of an object Pin
Manfred Rudolf Bihy28-May-12 12:36
professionalManfred Rudolf Bihy28-May-12 12:36 
GeneralRe: object reference not set to an instance of an object Pin
a.fatemeh28-May-12 12:52
a.fatemeh28-May-12 12:52 
GeneralRe: object reference not set to an instance of an object Pin
Manfred Rudolf Bihy29-May-12 1:34
professionalManfred Rudolf Bihy29-May-12 1:34 

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.