Click here to Skip to main content
15,919,341 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB.NET accessing MS Access with password problem... [modified] Pin
lordkaile29-Jul-06 18:27
lordkaile29-Jul-06 18:27 
AnswerRe: VB.NET accessing MS Access with password problem... Pin
Guffa29-Jul-06 23:21
Guffa29-Jul-06 23:21 
GeneralRe: VB.NET accessing MS Access with password problem... Pin
lordkaile31-Jul-06 15:58
lordkaile31-Jul-06 15:58 
GeneralRe: VB.NET accessing MS Access with password problem... Pin
Guffa1-Aug-06 6:19
Guffa1-Aug-06 6:19 
GeneralRe: VB.NET accessing MS Access with password problem... Pin
lordkaile3-Aug-06 23:53
lordkaile3-Aug-06 23:53 
AnswerRe: VB.NET accessing MS Access with password problem... Pin
Stephen McGuire30-Jul-06 4:28
Stephen McGuire30-Jul-06 4:28 
GeneralRe: VB.NET accessing MS Access with password problem... Pin
lordkaile31-Jul-06 15:51
lordkaile31-Jul-06 15:51 
GeneralRe: VB.NET accessing MS Access with password problem... Pin
Stephen McGuire1-Aug-06 2:50
Stephen McGuire1-Aug-06 2:50 
If your DB is in the bin folder you could use:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\bin\myDB.mdb;Jet OLEDB:Database Password=myPassword"

This will be ok during development but when you deploy your app this connection string will not work unless you install your DB to a bin folder under your app folder. Most likely you will need to change it at the deployment stage to:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\myDB.mdb;Jet OLEDB:Database Password=myPassword"

...if the DB is installed to the app folder. Otherwise you will have to change the 'Data Source=' to point to the actual folder that contains your back-end DB.

Steve
GeneralRe: VB.NET accessing MS Access with password problem... Pin
lordkaile3-Aug-06 23:56
lordkaile3-Aug-06 23:56 
GeneralRe: VB.NET accessing MS Access with password problem... Pin
Stephen McGuire4-Aug-06 1:07
Stephen McGuire4-Aug-06 1:07 
QuestionBinding a DateTime Picker or a text box to a date field Pin
TheFoZ29-Jul-06 8:48
TheFoZ29-Jul-06 8:48 
Questionmedia player control Pin
Vineet Rajan29-Jul-06 6:40
Vineet Rajan29-Jul-06 6:40 
AnswerRe: media player control Pin
Christian Graus30-Jul-06 12:43
protectorChristian Graus30-Jul-06 12:43 
QuestionInternet transfer control error. Pin
Aaron12829-Jul-06 5:38
Aaron12829-Jul-06 5:38 
QuestionVB.NET - Urgent - My webserver sends html fine but not binary!? Pin
steve_ino29-Jul-06 5:06
steve_ino29-Jul-06 5:06 
QuestionGraphics Object problem Pin
microuser_200029-Jul-06 0:23
microuser_200029-Jul-06 0:23 
AnswerRe: Graphics Object problem Pin
Guffa29-Jul-06 8:17
Guffa29-Jul-06 8:17 
GeneralRe: Graphics Object problem Pin
microuser_200030-Jul-06 20:18
microuser_200030-Jul-06 20:18 
AnswerRe: Graphics Object problem Pin
Guffa1-Aug-06 5:57
Guffa1-Aug-06 5:57 
GeneralRe: Graphics Object problem Pin
microuser_20001-Aug-06 12:53
microuser_20001-Aug-06 12:53 
QuestionVB.net --> JavaScript event Pin
t3j029-Jul-06 0:04
t3j029-Jul-06 0:04 
QuestionDBASE 5 Database access and searching Pin
kd8con28-Jul-06 14:45
kd8con28-Jul-06 14:45 
AnswerRe: DBASE 5 Database access and searching Pin
kd8con28-Jul-06 14:47
kd8con28-Jul-06 14:47 
Questionnon rectangular control Pin
Dobromir Dimitrov28-Jul-06 11:26
Dobromir Dimitrov28-Jul-06 11:26 
QuestionInventory Pin
stevelizardi28-Jul-06 10:26
stevelizardi28-Jul-06 10:26 

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.