Click here to Skip to main content
15,901,505 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHook selectCert listbox when adding a signature in Word Pin
herve Cadieu26-Oct-05 15:34
herve Cadieu26-Oct-05 15:34 
QuestionSending Commands to cmd.exe Pin
gte999s26-Oct-05 13:53
gte999s26-Oct-05 13:53 
QuestionBrowsing remote files Pin
Member 227600326-Oct-05 12:42
Member 227600326-Oct-05 12:42 
AnswerRe: Browsing remote files Pin
enjoycrack26-Oct-05 13:23
enjoycrack26-Oct-05 13:23 
QuestionCountDown between dates Pin
im_hoser26-Oct-05 10:00
im_hoser26-Oct-05 10:00 
AnswerRe: CountDown between dates Pin
KaptinKrunch26-Oct-05 10:31
KaptinKrunch26-Oct-05 10:31 
GeneralRe: CountDown between dates Pin
im_hoser26-Oct-05 10:59
im_hoser26-Oct-05 10:59 
AnswerRe: CountDown between dates Pin
rwestgraham26-Oct-05 13:03
rwestgraham26-Oct-05 13:03 
You can easily do this with just DateDiff and DateAdd.

Just create a function that first calculates the difference in years using DateDiff. Subtract that value from the original End date using DateAdd. Then calculate the difference left in months from the new temp End Date. Subtract that value from the new temp date to recalculate a new value for the temp end date, which should now only be different by days. Take the days left and split them into weeks and residual days left.
AnswerRe: CountDown between dates Pin
George B Gilbert27-Oct-05 7:45
George B Gilbert27-Oct-05 7:45 
AnswerRe: CountDown between dates Pin
George B Gilbert27-Oct-05 8:25
George B Gilbert27-Oct-05 8:25 
GeneralRe: CountDown between dates Pin
im_hoser27-Oct-05 14:20
im_hoser27-Oct-05 14:20 
QuestionInstallation on a remote computer. Pin
Jim Wilcox26-Oct-05 8:07
Jim Wilcox26-Oct-05 8:07 
AnswerRe: Installation on a remote computer. Pin
rwestgraham26-Oct-05 14:48
rwestgraham26-Oct-05 14:48 
Questionsql problem Pin
microuser_200026-Oct-05 6:09
microuser_200026-Oct-05 6:09 
AnswerRe: sql problem Pin
Joshua Quick26-Oct-05 8:14
Joshua Quick26-Oct-05 8:14 
GeneralRe: sql problem Pin
microuser_200026-Oct-05 8:25
microuser_200026-Oct-05 8:25 
GeneralRe: sql problem Pin
Joshua Quick26-Oct-05 9:01
Joshua Quick26-Oct-05 9:01 
GeneralRe: sql problem Pin
microuser_200026-Oct-05 11:09
microuser_200026-Oct-05 11:09 
QuestionRemove Duplications Pin
stevelam26-Oct-05 5:27
stevelam26-Oct-05 5:27 
AnswerRe: Remove Duplications Pin
George B Gilbert26-Oct-05 7:02
George B Gilbert26-Oct-05 7:02 
GeneralRe: Remove Duplications Pin
stevelam26-Oct-05 8:21
stevelam26-Oct-05 8:21 
AnswerRe: Remove Duplications Pin
George B Gilbert26-Oct-05 8:30
George B Gilbert26-Oct-05 8:30 
GeneralRe: Remove Duplications Pin
stevelam26-Oct-05 8:35
stevelam26-Oct-05 8:35 
AnswerRe: Remove Duplications Pin
George B Gilbert27-Oct-05 6:15
George B Gilbert27-Oct-05 6:15 
QuestionOverriding the Built-In Menus and Commands in Microsoft Word Pin
microuser_200025-Oct-05 23:40
microuser_200025-Oct-05 23:40 

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.