Click here to Skip to main content
12,751,690 members (33,236 online)

Visual Basic

 
GeneralRe: How can I distribute a VB6 application with NSIS? Pin
Eddy Vluggen28-Sep-12 0:03
memberEddy Vluggen28-Sep-12 0:03 
GeneralRe: How can I distribute a VB6 application with NSIS? Pin
Dave Kreskowiak28-Sep-12 2:16
mvpDave Kreskowiak28-Sep-12 2:16 
GeneralRe: How can I distribute a VB6 application with NSIS? Pin
fancyRocko28-Sep-12 2:25
memberfancyRocko28-Sep-12 2:25 
AnswerRe: How can I distribute a VB6 application with NSIS? Pin
jrumage5-Oct-12 3:00
memberjrumage5-Oct-12 3:00 
QuestionPrinting Datagridview content plus header and footer in vb.net 2010 Pin
sali2226-Sep-12 21:40
groupsali2226-Sep-12 21:40 
AnswerRe: Printing Datagridview content plus header and footer in vb.net 2010 Pin
Abhinav S26-Sep-12 22:00
mvpAbhinav S26-Sep-12 22:00 
AnswerRe: Printing Datagridview content plus header and footer in vb.net 2010 Pin
sali2226-Sep-12 22:13
groupsali2226-Sep-12 22:13 
QuestionBefore a Control loses focus can I detect the next focus target? Pin
Richard Fairhurst26-Sep-12 10:05
memberRichard Fairhurst26-Sep-12 10:05 
Using VB.Net I have created a composit component that inherited a DateTimePicker and that includes a MaskedTextBox as an embedded child class that overlays the DateTimePicker text box. When the user is done editing the MaskedTextBox but has created an invalid date I want the DateTimePicker calander to drop down showing the date that seems closest to what the user entered to get their attention and a confirmation.

I am firing a Delegate method in the MaskedTextBoxes OnValidating event that drops down the calendar after the MaskedTextBox loses focus. The Delegate then selects the DateTimePicker as the active control (overriding any other control selection) and does a SendKey Down to open the calendar. This works great if the target is any control other than the DateTimePicker. But if the DateTimePicker is the target the DateTimePicker gets a double Select and Down keystroke event (one from the delegate and one from the user click) and this messes up other behaviors tied to the MaskTextBox.

I need a way to determine when to fire the Delegate (i.e., when any control other than the DateTimePicker will get focus) and when to not fire the Delegate (i.e., when the DateTimePicker dropdown button was activated by click or keyboard). Is there anyway to do this that would work inside the properties ,methods or events the component can handle? Or is this only possible to detect and manage from the form?
AnswerRe: Before a Control loses focus can I detect the next focus target? Pin
Richard Fairhurst26-Sep-12 11:32
memberRichard Fairhurst26-Sep-12 11:32 
QuestionTelephone Tracking system through GPS Pin
waner michaud26-Sep-12 9:12
memberwaner michaud26-Sep-12 9:12 
AnswerRe: Telephone Tracking system through GPS Pin
Eddy Vluggen27-Sep-12 1:16
memberEddy Vluggen27-Sep-12 1:16 
QuestionDatagrid row count equals zero Pin
Cesar00226-Sep-12 7:49
memberCesar00226-Sep-12 7:49 
AnswerRe: Datagrid row count equals zero Pin
Cesar00226-Sep-12 11:05
memberCesar00226-Sep-12 11:05 
QuestionRe: Datagrid row count equals zero Pin
Eddy Vluggen26-Sep-12 11:32
memberEddy Vluggen26-Sep-12 11:32 
AnswerRe: Datagrid row count equals zero Pin
Cesar00226-Sep-12 17:28
memberCesar00226-Sep-12 17:28 
QuestionTricky SQL Question Pin
ttocsmi25-Sep-12 11:42
memberttocsmi25-Sep-12 11:42 
AnswerRe: Tricky SQL Question Pin
Martijn Kok25-Sep-12 12:40
memberMartijn Kok25-Sep-12 12:40 
GeneralRe: Tricky SQL Question Pin
ttocsmi25-Sep-12 15:13
memberttocsmi25-Sep-12 15:13 
GeneralRe: Tricky SQL Question Pin
Bernhard Hiller26-Sep-12 0:13
memberBernhard Hiller26-Sep-12 0:13 
GeneralRe: Tricky SQL Question Pin
Martijn Kok26-Sep-12 0:27
memberMartijn Kok26-Sep-12 0:27 
GeneralRe: Tricky SQL Question Pin
ttocsmi1-Oct-12 2:56
memberttocsmi1-Oct-12 2:56 
GeneralRe: Tricky SQL Question Pin
ttocsmi1-Oct-12 2:51
memberttocsmi1-Oct-12 2:51 
AnswerRe: Tricky SQL Question Pin
Bernhard Hiller26-Sep-12 0:15
memberBernhard Hiller26-Sep-12 0:15 
GeneralRe: Tricky SQL Question Pin
ttocsmi1-Oct-12 3:12
memberttocsmi1-Oct-12 3:12 
AnswerRe: Tricky SQL Question Pin
ttocsmi1-Oct-12 5:34
memberttocsmi1-Oct-12 5:34 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 21 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid