Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Hide Process from Task Manager Pin
Bharat Jain11-Jan-09 20:48
Bharat Jain11-Jan-09 20:48 
GeneralRe: Hide Process from Task Manager Pin
Dave Kreskowiak12-Jan-09 2:20
mveDave Kreskowiak12-Jan-09 2:20 
GeneralRe: Hide Process from Task Manager Pin
EliottA12-Jan-09 2:45
EliottA12-Jan-09 2:45 
QuestionCrystal Reort for vb.net2005 with MS ACESS Pin
hrishiS11-Jan-09 19:53
hrishiS11-Jan-09 19:53 
AnswerRe: Crystal Reort for vb.net2005 with MS ACESS Pin
Anubhava Dimri11-Jan-09 20:34
Anubhava Dimri11-Jan-09 20:34 
GeneralRe: Crystal Reort for vb.net2005 with MS ACESS Pin
hrishiS11-Jan-09 22:03
hrishiS11-Jan-09 22:03 
QuestionDLINQ Combo Box in Datagridview Pin
Chrispie12311-Jan-09 18:57
Chrispie12311-Jan-09 18:57 
QuestionRe: How to update form control from an embedded form Pin
sohaib_a11-Jan-09 5:52
sohaib_a11-Jan-09 5:52 
hello this thread is a little old...sorry had to revive it..as i haven't yet found a solution...

the name if the thread is 'How to update form control from an embedded form'

I have two forms,one is added as a control to another an I need to update a listbox in parent from the child form.


This code is in the parent form,I have added this in the form load event of the parent form



Dim obj1 As New childform

AddHandler obj1.addtolist, AddressOf addtolistbox


and this is sub that is subscribed to the event..

Private Sub addtolistbox(ByVal str As String)

ListBox1.Items.Add(str)
End Sub






In the child form....

Public Event addtolist(ByVal s As String)



and in the sub where I want to add to listbox in parent form,

RaiseEvent addtolist(ds1.Tables(0).Rows(0)("Reader_location").ToString & " Connected ")



I have tried this and it doesnt work,the debugger just goes to next line.Can't understand why.
The code of the parent form has some BGW threads.Infact the child form is invoked from the BGW.Is this a problem?
AnswerRe: How to update form control from an embedded form Pin
Dave Kreskowiak11-Jan-09 11:30
mveDave Kreskowiak11-Jan-09 11:30 
GeneralRe: How to update form control from an embedded form Pin
sohaib_a13-Jan-09 9:44
sohaib_a13-Jan-09 9:44 
QuestionChecklistbox in Datagrid Pin
neha.lad10-Jan-09 18:21
neha.lad10-Jan-09 18:21 
AnswerRe: Checklistbox in Datagrid Pin
Reza Raad10-Jan-09 19:44
Reza Raad10-Jan-09 19:44 
AnswerRe: Checklistbox in Datagrid Pin
Anubhava Dimri11-Jan-09 20:43
Anubhava Dimri11-Jan-09 20:43 
QuestionRecording a song played in program Pin
Gagan.2010-Jan-09 17:20
Gagan.2010-Jan-09 17:20 
AnswerRe: Recording a song played in program Pin
Christian Graus11-Jan-09 5:00
protectorChristian Graus11-Jan-09 5:00 
AnswerRe: Recording a song played in program Pin
Anubhava Dimri11-Jan-09 20:48
Anubhava Dimri11-Jan-09 20:48 
GeneralRe: Recording a song played in program Pin
Gagan.2011-Jan-09 22:22
Gagan.2011-Jan-09 22:22 
QuestionMouse Hook Pin
Zaegra10-Jan-09 3:24
Zaegra10-Jan-09 3:24 
QuestionMonitor System Pin
Anubhava Dimri10-Jan-09 0:13
Anubhava Dimri10-Jan-09 0:13 
AnswerRe: Monitor System Pin
Eddy Vluggen10-Jan-09 0:57
professionalEddy Vluggen10-Jan-09 0:57 
AnswerRe: Monitor System Pin
Dave Kreskowiak10-Jan-09 2:54
mveDave Kreskowiak10-Jan-09 2:54 
GeneralRe: Monitor System Pin
Luc Pattyn10-Jan-09 3:49
sitebuilderLuc Pattyn10-Jan-09 3:49 
GeneralRe: Monitor System Pin
Anubhava Dimri11-Jan-09 17:47
Anubhava Dimri11-Jan-09 17:47 
AnswerRe: Monitor System Pin
EliottA10-Jan-09 20:54
EliottA10-Jan-09 20:54 
GeneralRe: Monitor System Pin
Anubhava Dimri11-Jan-09 17:45
Anubhava Dimri11-Jan-09 17:45 

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.