This is driving me nuts.
I have 2 forms. I want to call a proc on the first form from the second form. I know that part of the idea is to name the form.proc to find it, but this isn't working for me. I don't really understand why.
In VB6, I was able to send the calling form (form1) as an argument in the procedure call for the proc in Form2 and have it appear as an object. Then when I needed to call a proc on form1, I could just do this:
frmParent.ProcName
and it worked fine.
This does not work in .NET, at least I can't seem to figure out how to explain to the IDE what the called form is and find the proc in it. Trying to reference procs in other forms has been a huge problem for me.
Can anyone help me find a way to make this work?
Thanks
CraigHartz
I have 2 forms. I want to call a proc on the first form from the second form. I know that part of the idea is to name the form.proc to find it, but this isn't working for me. I don't really understand why.
In VB6, I was able to send the calling form (form1) as an argument in the procedure call for the proc in Form2 and have it appear as an object. Then when I needed to call a proc on form1, I could just do this:
frmParent.ProcName
and it worked fine.
This does not work in .NET, at least I can't seem to figure out how to explain to the IDE what the called form is and find the proc in it. Trying to reference procs in other forms has been a huge problem for me.
Can anyone help me find a way to make this work?
Thanks
CraigHartz