Click here to Skip to main content
15,902,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Henry Minute11-Aug-09 5:30
Henry Minute11-Aug-09 5:30 
QuestionHow can I fit a child form to be inside a MdiParent Pin
waner michaud10-Aug-09 11:35
waner michaud10-Aug-09 11:35 
AnswerRe: How can I fit a child form to be inside a MdiParent Pin
Dave Kreskowiak10-Aug-09 18:25
mveDave Kreskowiak10-Aug-09 18:25 
GeneralRe: How can I fit a child form to be inside a MdiParent Pin
waner michaud11-Aug-09 3:11
waner michaud11-Aug-09 3:11 
GeneralRe: How can I fit a child form to be inside a MdiParent Pin
DaveyM6911-Aug-09 3:35
professionalDaveyM6911-Aug-09 3:35 
GeneralRe: How can I fit a child form to be inside a MdiParent Pin
Dave Kreskowiak11-Aug-09 3:49
mveDave Kreskowiak11-Aug-09 3:49 
AnswerRe: How can I fit a child form to be inside a MdiParent Pin
DaveyM6911-Aug-09 1:47
professionalDaveyM6911-Aug-09 1:47 
QuestionDeleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware10-Aug-09 4:52
mrtupperware10-Aug-09 4:52 
Here is the code that I am using:

DELETE from Agents WHERE Deleted = 'Y' AND DeletedDate < '" & System.DateTime.Now.Date.AddDays(-30) & "'"

The code deletes the correct records, but it also deletes records that are within the 30 days.
I.E. If I ran this today, in addition to the correct records, it will also delete records where DeleteDate is 7/15/2009 , 7/29/2009 , 7/19/2009, etc.
It does NOT delete dates 8/01/2009 through today..

Any ideas please?
AnswerRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
Luc Pattyn10-Aug-09 5:20
sitebuilderLuc Pattyn10-Aug-09 5:20 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware10-Aug-09 6:08
mrtupperware10-Aug-09 6:08 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
Luc Pattyn10-Aug-09 6:24
sitebuilderLuc Pattyn10-Aug-09 6:24 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware10-Aug-09 6:39
mrtupperware10-Aug-09 6:39 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
Luc Pattyn10-Aug-09 6:40
sitebuilderLuc Pattyn10-Aug-09 6:40 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware10-Aug-09 6:48
mrtupperware10-Aug-09 6:48 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
Luc Pattyn10-Aug-09 6:54
sitebuilderLuc Pattyn10-Aug-09 6:54 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware10-Aug-09 7:06
mrtupperware10-Aug-09 7:06 
GeneralRe: Deleting a Database Record when DeletedDate is XX Days Old Pin
Gideon Engelberth10-Aug-09 10:01
Gideon Engelberth10-Aug-09 10:01 
GeneralThe ANSWER - Deleting a Database Record when DeletedDate is XX Days Old Pin
mrtupperware12-Aug-09 10:21
mrtupperware12-Aug-09 10:21 
QuestionAuto Increasing VARCHAR data type column in SQL SERVER 2005 Pin
Dambod10-Aug-09 2:59
Dambod10-Aug-09 2:59 
AnswerRe: Auto Increasing VARCHAR data type column in SQL SERVER 2005 Pin
Luc Pattyn10-Aug-09 3:32
sitebuilderLuc Pattyn10-Aug-09 3:32 
GeneralRe: Auto Increasing VARCHAR data type column in SQL SERVER 2005 Pin
Dambod10-Aug-09 3:56
Dambod10-Aug-09 3:56 
QuestionDependency for MSchrt20.ocx in VB.NET Pin
Nanda_MR10-Aug-09 1:30
Nanda_MR10-Aug-09 1:30 
AnswerRe: Dependency for MSchrt20.ocx in VB.NET Pin
Dave Kreskowiak10-Aug-09 4:18
mveDave Kreskowiak10-Aug-09 4:18 
QuestionHow to Get Current Login User Name Pin
Anubhava Dimri10-Aug-09 0:02
Anubhava Dimri10-Aug-09 0:02 
AnswerRe: How to Get Current Login User Name Pin
Luc Pattyn10-Aug-09 1:05
sitebuilderLuc Pattyn10-Aug-09 1:05 

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.