Click here to Skip to main content
15,890,408 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Calling from VB.net to a Dll Win32 function that uses safearray pointer Pin
_Erik_10-Mar-11 3:00
_Erik_10-Mar-11 3:00 
GeneralRe: Calling from VB.net to a Dll Win32 function that uses safearray pointer Pin
edmonson10-Mar-11 4:55
edmonson10-Mar-11 4:55 
GeneralRe: Calling from VB.net to a Dll Win32 function that uses safearray pointer Pin
_Erik_10-Mar-11 5:41
_Erik_10-Mar-11 5:41 
GeneralRe: Calling from VB.net to a Dll Win32 function that uses safearray pointer Pin
edmonson10-Mar-11 5:45
edmonson10-Mar-11 5:45 
GeneralRe: Calling from VB.net to a Dll Win32 function that uses safearray pointer Pin
_Erik_10-Mar-11 5:58
_Erik_10-Mar-11 5:58 
GeneralRe: Calling from VB.net to a Dll Win32 function that uses safearray pointer Pin
edmonson10-Mar-11 6:31
edmonson10-Mar-11 6:31 
Questionvb.net with crystal reports deployment Pin
directred7-Mar-11 1:10
directred7-Mar-11 1:10 
QuestionHow to set focus on dynamically created controls? Pin
Floodlight6-Mar-11 16:40
Floodlight6-Mar-11 16:40 
Hi All,

I have a program where I dynamically create some Textboxes within a Panel on my form using this code

Panel1.Controls.AddRange(New System.Windows.Forms.Control() {TextBoxes(num - 1)})


These textboxes are automatically labeled Layer1, Layer2 etc etc.. Everything works fine.

I also have a listbox that contains the names of these dynamically created "Layers". What I want to do is when I click on the name in the listbox I want to "select" (or set the focus) on that particular dynamic control.. but I don't know how to reference it, as it's dynamic lol.

Any help would be MUCH appreciated, thanks!
AnswerRe: How to set focus on dynamically created controls? Pin
_Erik_7-Mar-11 4:59
_Erik_7-Mar-11 4:59 
GeneralRe: How to set focus on dynamically created controls? Pin
Floodlight7-Mar-11 22:58
Floodlight7-Mar-11 22:58 
QuestionAlpha Transparent PNG form question Pin
FeRtoll5-Mar-11 5:46
FeRtoll5-Mar-11 5:46 
QuestionWindows service with FileSystemWatcher Pin
byka4-Mar-11 5:22
byka4-Mar-11 5:22 
AnswerRe:[Cross Post] Pin
Henry Minute4-Mar-11 5:53
Henry Minute4-Mar-11 5:53 
AnswerRe: Windows service with FileSystemWatcher Pin
nlarson117-Mar-11 7:26
nlarson117-Mar-11 7:26 
QuestionHow to use google map in vb.net application Pin
ejaz_pk4-Mar-11 1:03
ejaz_pk4-Mar-11 1:03 
AnswerRe: How to use google map in vb.net application Pin
Simon_Whale4-Mar-11 3:27
Simon_Whale4-Mar-11 3:27 
AnswerRe: How to use google map in vb.net application Pin
Eddy Vluggen4-Mar-11 4:39
professionalEddy Vluggen4-Mar-11 4:39 
QuestionRe: How to use google map in vb.net application Pin
ejaz_pk4-Mar-11 20:48
ejaz_pk4-Mar-11 20:48 
AnswerRe: How to use google map in vb.net application Pin
Eddy Vluggen5-Mar-11 1:36
professionalEddy Vluggen5-Mar-11 1:36 
QuestionRe: How to use google map in vb.net application Pin
ejaz_pk14-Mar-11 20:09
ejaz_pk14-Mar-11 20:09 
AnswerRe: How to use google map in vb.net application Pin
Eddy Vluggen15-Mar-11 1:48
professionalEddy Vluggen15-Mar-11 1:48 
GeneralRe: How to use google map in vb.net application Pin
ejaz_pk15-Mar-11 19:56
ejaz_pk15-Mar-11 19:56 
AnswerRe: How to use google map in vb.net application Pin
Eddy Vluggen16-Mar-11 11:49
professionalEddy Vluggen16-Mar-11 11:49 
QuestionGhostscript Convert PDF to TIFF with color Pin
Tomb4213-Mar-11 3:14
Tomb4213-Mar-11 3:14 
AnswerRe: Ghostscript Convert PDF to TIFF with color Pin
Dave Kreskowiak3-Mar-11 4:21
mveDave Kreskowiak3-Mar-11 4:21 

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.