Click here to Skip to main content
15,906,816 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
AnnieMacD17-Jun-10 2:46
AnnieMacD17-Jun-10 2:46 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev19-Jun-10 2:11
QuickBooksDev19-Jun-10 2:11 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
AnnieMacD19-Jun-10 2:35
AnnieMacD19-Jun-10 2:35 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev21-Jun-10 6:47
QuickBooksDev21-Jun-10 6:47 
GeneralRe: HELP!!! There must be a setting or something. VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev23-Jun-10 5:19
QuickBooksDev23-Jun-10 5:19 
Questionchanging monitor screen resolution Pin
phowarso16-Jun-10 21:08
phowarso16-Jun-10 21:08 
AnswerRe: changing monitor screen resolution Pin
Dave Kreskowiak17-Jun-10 1:38
mveDave Kreskowiak17-Jun-10 1:38 
QuestionHow do I connect vb 2005 and Access 2007 in published application [modified] Pin
cyberexel16-Jun-10 12:14
cyberexel16-Jun-10 12:14 
This is a follow up to my previous posts (thanks Dave, now I'm using XML and learning Compound Documents)

mydata.mdb file is 12MB, converted to mydata.mdf it is 7MB, and converted to mydata.accdb it is 1.9MB! Combined with encryption benefits of .accdb (see http://www.everythingaccess.com/tutorials.asp?ID=Changing-the-encryption-type-in-Access-2007[^]) I have every reason to want to use Access 2007 in VB 2005.

I have hard-coded the connection string as |DataDirectory|\mydata.accdb, which works fine in debug mode. I am also able to code settings so that i can change connection strings for debug and for exe modes. However, i don't seem to be able to get the connection string for .accdb when the application is published. I am lost because I dont see where the .accdb file is placed when i publish the application... (.mdb & .mdf is easily placed in the DataDirectory folder so the connection string still works) This means I also can't install the application because 'I doubt' if the .accdb file is part of the application any more after it is published.

Could someone please let me know if VS 2005 takes the .accdb file as part of the application when published; and how to create the connection string to keep this connection. I am currently using click-once, but i will be happy to know if another way of publishing the application is what I need. Please provide guideline if so.
Revolutions are brewed!
modified on Wednesday, June 16, 2010 6:23 PM

AnswerRe: How do I connect vb 2005 and Access 2007 in published application Pin
Dave Kreskowiak17-Jun-10 1:36
mveDave Kreskowiak17-Jun-10 1:36 
GeneralRe: How do I connect vb 2005 and Access 2007 in published application Pin
cyberexel17-Jun-10 8:11
cyberexel17-Jun-10 8:11 
GeneralRe: How do I connect vb 2005 and Access 2007 in published application Pin
Dave Kreskowiak17-Jun-10 8:25
mveDave Kreskowiak17-Jun-10 8:25 
GeneralRe: How do I connect vb 2005 and Access 2007 in published application Pin
cyberexel17-Jun-10 19:09
cyberexel17-Jun-10 19:09 
QuestionDeployment of COM AddIn Pin
Sonhospa16-Jun-10 8:41
Sonhospa16-Jun-10 8:41 
AnswerRe: Deployment of COM AddIn Pin
Dave Kreskowiak16-Jun-10 8:47
mveDave Kreskowiak16-Jun-10 8:47 
GeneralRe: Deployment of COM AddIn Pin
Sonhospa16-Jun-10 22:02
Sonhospa16-Jun-10 22:02 
QuestionDynamic web reference windows ce Pin
thesum16-Jun-10 5:27
thesum16-Jun-10 5:27 
QuestionDataGridViewImageCell Pin
Rajesh Rajan Pankapattu16-Jun-10 0:58
Rajesh Rajan Pankapattu16-Jun-10 0:58 
AnswerRe: DataGridViewImageCell Pin
Henry Minute16-Jun-10 1:36
Henry Minute16-Jun-10 1:36 
AnswerRe: DataGridViewImageCell Pin
Dave Kreskowiak16-Jun-10 1:57
mveDave Kreskowiak16-Jun-10 1:57 
Questionbluetooth application Pin
Folad System16-Jun-10 0:48
Folad System16-Jun-10 0:48 
AnswerRe: bluetooth application Pin
Johnny J.16-Jun-10 0:51
professionalJohnny J.16-Jun-10 0:51 
AnswerRe: bluetooth application Pin
Dave Kreskowiak16-Jun-10 1:54
mveDave Kreskowiak16-Jun-10 1:54 
AnswerRe: bluetooth application Pin
Richard MacCutchan16-Jun-10 1:56
mveRichard MacCutchan16-Jun-10 1:56 
AnswerRe: bluetooth application Pin
AlmightyEdge16-Jun-10 10:34
AlmightyEdge16-Jun-10 10:34 
QuestionUsing event in vbnet Pin
thesum15-Jun-10 23:39
thesum15-Jun-10 23:39 

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.