Click here to Skip to main content
15,893,337 members
Home / Discussions / C#
   

C#

 
AnswerRe: help converting an image to a string. Pin
Luc Pattyn9-Aug-07 5:20
sitebuilderLuc Pattyn9-Aug-07 5:20 
GeneralRe: help converting an image to a string. Pin
snorkie9-Aug-07 5:33
professionalsnorkie9-Aug-07 5:33 
GeneralRe: help converting an image to a string. Pin
Luc Pattyn9-Aug-07 5:47
sitebuilderLuc Pattyn9-Aug-07 5:47 
QuestionInactivity Timer Pin
Stathread9-Aug-07 4:17
Stathread9-Aug-07 4:17 
AnswerRe: Inactivity Timer Pin
originSH9-Aug-07 4:26
originSH9-Aug-07 4:26 
AnswerRe: Inactivity Timer Pin
Dinobot_Slag9-Aug-07 4:28
Dinobot_Slag9-Aug-07 4:28 
GeneralRe: Inactivity Timer Pin
Stathread9-Aug-07 4:42
Stathread9-Aug-07 4:42 
QuestionAcces Database: Password Protected Pin
Ken Mazaika9-Aug-07 3:22
Ken Mazaika9-Aug-07 3:22 
Hi I'm looking to my queries to an Access database in C# that is password protected and I am having difficulties. The password is 13 characters long and contains capital, lowercase, symbols (#$%^) and numbers. My connection string looks like this:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\file.mdb;User ID=admin;Password=P@$$w0rD";
When I call:

OleDbConnection myConnection = new OleDbConnection(connectionString);<br />
  myConnection.Open();


The program crashes with an unhandled exception of type 'System.Data.OleDb.OleDbException in system.data.dll.

I did some research and it says that C# handles special characters in a way that isn't compatible with some access databases. I'm not sure if $%^ are special characters, or if that means just unicode.

Does anyone know where I'm slipping up or how to fix this? Any advice would be appreciated.
AnswerRe: Acces Database: Password Protected Pin
Colin Angus Mackay9-Aug-07 3:28
Colin Angus Mackay9-Aug-07 3:28 
GeneralRe: Acces Database: Password Protected Pin
Ken Mazaika9-Aug-07 3:32
Ken Mazaika9-Aug-07 3:32 
AnswerRe: Acces Database: Password Protected Pin
Michael Potter9-Aug-07 3:34
Michael Potter9-Aug-07 3:34 
GeneralRe: Acces Database: Password Protected Pin
Ken Mazaika9-Aug-07 3:39
Ken Mazaika9-Aug-07 3:39 
AnswerRe: Acces Database: Password Protected Pin
Ken Mazaika9-Aug-07 7:12
Ken Mazaika9-Aug-07 7:12 
QuestionChange Windows Time Pin
The Brazilian One9-Aug-07 3:19
The Brazilian One9-Aug-07 3:19 
AnswerRe: Change Windows Time Pin
Martin#9-Aug-07 3:27
Martin#9-Aug-07 3:27 
JokeRe: Change Windows Time Pin
Luc Pattyn9-Aug-07 3:35
sitebuilderLuc Pattyn9-Aug-07 3:35 
GeneralRe: Change Windows Time Pin
Martin#9-Aug-07 3:36
Martin#9-Aug-07 3:36 
GeneralRe: Change Windows Time Pin
Martin#9-Aug-07 3:39
Martin#9-Aug-07 3:39 
QuestionWeb Custom Control Pin
Siva_Tech9-Aug-07 3:18
Siva_Tech9-Aug-07 3:18 
Questionnot working for all screen resolution Pin
Maddie from Dartford9-Aug-07 3:12
Maddie from Dartford9-Aug-07 3:12 
AnswerRe: not working for all screen resolution Pin
Colin Angus Mackay9-Aug-07 3:26
Colin Angus Mackay9-Aug-07 3:26 
GeneralRe: not working for all screen resolution Pin
led mike9-Aug-07 4:45
led mike9-Aug-07 4:45 
GeneralRe: not working for all screen resolution Pin
Dan Neely9-Aug-07 5:26
Dan Neely9-Aug-07 5:26 
AnswerRe: not working for all screen resolution Pin
Imranlogi10-Aug-07 2:37
Imranlogi10-Aug-07 2:37 
QuestionString to Enum... Pin
Malcolm Smart9-Aug-07 3:02
Malcolm Smart9-Aug-07 3:02 

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.