Click here to Skip to main content
15,918,742 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: What is better code? Pin
DigiOz Multimedia28-Aug-07 8:35
DigiOz Multimedia28-Aug-07 8:35 
AnswerRe: What is better code? Pin
Luc Pattyn28-Aug-07 12:42
sitebuilderLuc Pattyn28-Aug-07 12:42 
QuestionProblem saving a word document using DSOFramer ActiveX control Pin
chirantan.sriram28-Aug-07 4:25
chirantan.sriram28-Aug-07 4:25 
QuestionProblem with updating database [modified] Pin
Cory Kimble28-Aug-07 3:37
Cory Kimble28-Aug-07 3:37 
AnswerRe: Problem with updating database Pin
Dave Kreskowiak28-Aug-07 14:38
mveDave Kreskowiak28-Aug-07 14:38 
GeneralRe: Problem with updating database Pin
Cory Kimble30-Aug-07 11:04
Cory Kimble30-Aug-07 11:04 
GeneralRe: Problem with updating database Pin
Dave Kreskowiak30-Aug-07 11:44
mveDave Kreskowiak30-Aug-07 11:44 
GeneralRe: Problem with updating database [modified] Pin
Cory Kimble31-Aug-07 3:29
Cory Kimble31-Aug-07 3:29 
So, how do you suggest I solve my issue.

In folder C:\VS2005 InYardTrucks I have a database myDatabase(We will call it Database1). This is where I have the build go to. In C:\VS2005 InYardTrucks\bin there is a copy of myDatabase(We will call Database2). When I do a fill the dataset is filled with the Database1 data. When I update the dataset it writes it to Database2. So When I run the program again Database 1 overwrites anything in database2.

How do I fix? Where do I need to look to find the code that does this? Do I need to change my build location to the bin folder? Do I need to repost this to see if anyone knows?

Thanks.


I found the problem. the database had a output directory property set to 'Always copy' and I changed it to "Never copy'
Thank you.
-- modified at 11:50 Friday 31st August, 2007
GeneralRe: Problem with updating database Pin
Dave Kreskowiak1-Sep-07 4:12
mveDave Kreskowiak1-Sep-07 4:12 
QuestionAPI Pin
balakpn28-Aug-07 3:01
balakpn28-Aug-07 3:01 
AnswerRe: API Pin
Dave Kreskowiak28-Aug-07 14:42
mveDave Kreskowiak28-Aug-07 14:42 
GeneralRe: API Pin
balakpn28-Aug-07 19:18
balakpn28-Aug-07 19:18 
QuestionOleDbCommand.Prepare method requires all variable length parameters to have an explicitly set non-zero Size. Pin
Vimalsoft(Pty) Ltd28-Aug-07 1:48
professionalVimalsoft(Pty) Ltd28-Aug-07 1:48 
AnswerRe: OleDbCommand.Prepare method requires all variable length parameters to have an explicitly set non-zero Size. Pin
Vimalsoft(Pty) Ltd28-Aug-07 5:46
professionalVimalsoft(Pty) Ltd28-Aug-07 5:46 
Question(VB6.0)validating a textbox for MM/dd/yyyy format Pin
venkata lakshmi prasanna28-Aug-07 1:16
venkata lakshmi prasanna28-Aug-07 1:16 
AnswerRe: (VB6.0)validating a textbox for MM/dd/yyyy format Pin
Burnsys228-Aug-07 2:03
Burnsys228-Aug-07 2:03 
QuestionRemote connection to SQL Server Pin
raaman28-Aug-07 1:05
raaman28-Aug-07 1:05 
AnswerRe: Remote connection to SQL Server Pin
originSH28-Aug-07 1:33
originSH28-Aug-07 1:33 
AnswerRe: Remote connection to SQL Server Pin
Burnsys228-Aug-07 2:06
Burnsys228-Aug-07 2:06 
GeneralRe: Remote connection to SQL Server Pin
raaman28-Aug-07 17:15
raaman28-Aug-07 17:15 
GeneralRe: Remote connection to SQL Server [modified] Pin
Burnsys229-Aug-07 4:09
Burnsys229-Aug-07 4:09 
GeneralRe: Remote connection to SQL Server Pin
raaman29-Aug-07 17:25
raaman29-Aug-07 17:25 
QuestionOffice Automation Pin
Salman Sheikh28-Aug-07 0:13
Salman Sheikh28-Aug-07 0:13 
AnswerRe: Office Automation Pin
Johan Hakkesteegt29-Aug-07 23:47
Johan Hakkesteegt29-Aug-07 23:47 
QuestionHelp in VB.NET Pin
Oguash27-Aug-07 23:30
Oguash27-Aug-07 23:30 

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.