Click here to Skip to main content
15,897,518 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionScrolling Text in Windows Form. Pin
meetaqadir5-Feb-06 20:10
meetaqadir5-Feb-06 20:10 
AnswerRe: Scrolling Text in Windows Form. Pin
progload6-Feb-06 10:57
progload6-Feb-06 10:57 
QuestionHow to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali5-Feb-06 19:23
Iftikhar Ali5-Feb-06 19:23 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Chatura Dilan6-Feb-06 0:37
Chatura Dilan6-Feb-06 0:37 
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali6-Feb-06 4:13
Iftikhar Ali6-Feb-06 4:13 
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Chatura Dilan7-Feb-06 1:24
Chatura Dilan7-Feb-06 1:24 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali9-Feb-06 4:35
Iftikhar Ali9-Feb-06 4:35 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
kostasdiktia26-Feb-06 13:12
kostasdiktia26-Feb-06 13:12 
temp = System.IO.Path.GetFullPath("Data.mdb")

temp = "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=" & temp & ";Mode=ReadWrite;Extended Properties="""";Jet OLEDB:System database="""";Jet OLEDB:Registry Path="""";Jet OLEDB:Database Password="""";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="####";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False"

OleDbConnection1.ConnectionString = temp
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''



This is an example with a database from data.mdb file (Access file)!
First, I put in temp the path.
Next, I put in temp the connection string of database (in field #### you must write the password)
*I am not 100% sure if it wants password there or in first line! Make combinations!
And finally, I change the connecion string of my OledbConnection..



-- modified at 19:16 Monday 6th February, 2006
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali9-Feb-06 4:42
Iftikhar Ali9-Feb-06 4:42 
GeneralRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
kostasdiktia29-Feb-06 7:47
kostasdiktia29-Feb-06 7:47 
QuestionRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali9-Feb-06 19:34
Iftikhar Ali9-Feb-06 19:34 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
kostasdiktia29-Feb-06 20:30
kostasdiktia29-Feb-06 20:30 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali16-Feb-06 20:12
Iftikhar Ali16-Feb-06 20:12 
QuestionGet parameter count of a Stored procedure Pin
Krishnaraj Barvathaya B5-Feb-06 19:19
Krishnaraj Barvathaya B5-Feb-06 19:19 
AnswerRe: Get parameter count of a Stored procedure Pin
alien viper5-Feb-06 21:17
alien viper5-Feb-06 21:17 
AnswerRe: Get parameter count of a Stored procedure Pin
Colin Angus Mackay5-Feb-06 23:10
Colin Angus Mackay5-Feb-06 23:10 
GeneralRe: Get parameter count of a Stored procedure Pin
Krishnaraj Barvathaya B5-Feb-06 23:26
Krishnaraj Barvathaya B5-Feb-06 23:26 
GeneralRe: Get parameter count of a Stored procedure Pin
Colin Angus Mackay5-Feb-06 23:32
Colin Angus Mackay5-Feb-06 23:32 
GeneralRe: Get parameter count of a Stored procedure Pin
Krishnaraj Barvathaya B5-Feb-06 23:39
Krishnaraj Barvathaya B5-Feb-06 23:39 
GeneralRe: Get parameter count of a Stored procedure Pin
alien viper5-Feb-06 23:37
alien viper5-Feb-06 23:37 
QuestionCrystal Report Pin
alien viper5-Feb-06 18:10
alien viper5-Feb-06 18:10 
AnswerRe: Crystal Report Pin
shabonaa6-Feb-06 12:54
shabonaa6-Feb-06 12:54 
QuestionAdministrator Pin
dev dhoundiyal5-Feb-06 17:46
dev dhoundiyal5-Feb-06 17:46 
AnswerRe: Administrator Pin
Dave Kreskowiak6-Feb-06 2:37
mveDave Kreskowiak6-Feb-06 2:37 
QuestionHow to change the font in the title bar Pin
Chatura Dilan5-Feb-06 14:50
Chatura Dilan5-Feb-06 14:50 

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.