Click here to Skip to main content
15,905,614 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB ComboBoxes Pin
soule21-Feb-07 10:09
soule21-Feb-07 10:09 
GeneralRe: VB ComboBoxes Pin
M-Hall21-Feb-07 10:12
M-Hall21-Feb-07 10:12 
QuestionDynamic Controls requires Dynamic event handling? [modified] Pin
Björn T.J.M. Spruit21-Feb-07 5:33
Björn T.J.M. Spruit21-Feb-07 5:33 
AnswerRe: Dynamic Controls requires Dynamic event handling? Pin
M-Hall21-Feb-07 6:48
M-Hall21-Feb-07 6:48 
GeneralRe: Dynamic Controls requires Dynamic event handling? Pin
Björn T.J.M. Spruit21-Feb-07 7:27
Björn T.J.M. Spruit21-Feb-07 7:27 
GeneralRe: Dynamic Controls requires Dynamic event handling? Pin
TwoFaced21-Feb-07 7:48
TwoFaced21-Feb-07 7:48 
GeneralRe: Dynamic Controls requires Dynamic event handling? Pin
Björn T.J.M. Spruit21-Feb-07 9:17
Björn T.J.M. Spruit21-Feb-07 9:17 
GeneralRe: Dynamic Controls requires Dynamic event handling? Pin
TwoFaced21-Feb-07 9:47
TwoFaced21-Feb-07 9:47 
The quickest fix I can think of is a hashtable. Use the calander object as the key and the textbox will be the value. Declare the hashtable globally and when you create a new 'control group' add the new value.
'Declare globally
dim hash as new hashtable

'In the SetCalander method
hash.add(myCalendar, txtCalendar)

'In the selectionchange event
'This will give you a reference to the appropriate textbox
dim txt as textbox = hash(sender)
This should work. It may not be the best solution but it was the quickest fix I could think of.
GeneralRe: Dynamic Controls requires Dynamic event handling? Pin
Björn T.J.M. Spruit21-Feb-07 10:15
Björn T.J.M. Spruit21-Feb-07 10:15 
QuestionImpersonation Pin
Savas Cilve21-Feb-07 5:16
Savas Cilve21-Feb-07 5:16 
AnswerRe: Impersonation Pin
Marcus J. Smith21-Feb-07 5:46
professionalMarcus J. Smith21-Feb-07 5:46 
GeneralRe: Impersonation Pin
Savas Cilve21-Feb-07 5:52
Savas Cilve21-Feb-07 5:52 
GeneralRe: Impersonation Pin
Marcus J. Smith21-Feb-07 7:04
professionalMarcus J. Smith21-Feb-07 7:04 
QuestionOutlook Exchange Server 2003 and VB.net Pin
PixelPixie21-Feb-07 4:51
PixelPixie21-Feb-07 4:51 
QuestionExecuting a .NET exe from VBA Pin
Dante X21-Feb-07 4:50
Dante X21-Feb-07 4:50 
AnswerRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 5:33
kubben21-Feb-07 5:33 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 5:48
Dante X21-Feb-07 5:48 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 6:02
kubben21-Feb-07 6:02 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 6:31
Dante X21-Feb-07 6:31 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 6:34
kubben21-Feb-07 6:34 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 6:55
Dante X21-Feb-07 6:55 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 7:04
kubben21-Feb-07 7:04 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 7:44
Dante X21-Feb-07 7:44 
GeneralRe: Executing a .NET exe from VBA Pin
kubben21-Feb-07 7:47
kubben21-Feb-07 7:47 
GeneralRe: Executing a .NET exe from VBA Pin
Dante X21-Feb-07 8:03
Dante X21-Feb-07 8:03 

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.