Hi Arun,
Thanks for the reply and explain things.

With your help I was able to get things but what i noticed that the
StatusLabel is not updating. I have several status notice at several
steps of the code in class (Not form) and none of them are updating.

I was able to get status update in simple example.

Your help or any direction to the web will be highly appreciated.

Thanks again  Arun.


On Dec 20, 10:32 pm, "ARUN KUMAR" <[email protected]> wrote:
> Hello Musa,
>
> Many ways available to pass string to form1 from calss1 but now I am tell
> one simple way to pass string to form1
>
> Assume your status strip contain Label
>
> Public Class Class1
>
>      Sub New()
>
>         'you can directly access the label *see below
>
>         Form1.ToolStripStatusLabel1.Text = "This message from class1"
>
>     End Sub
>
>  End Class
>
> Public Class Form1
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
> AsSystem.EventArgs)
> Handles Button1.Click
>
>         Dim s As Class1 = New Class1
>
>  End Sub
>
> End Class
>
> When user click the button then appered that message in status label
>
> *Note : That faclity avliable when Modifiers for Status label is Public or
> Friend
>
> 2008/12/20 musa.biralo <[email protected]>
>
>
>
> > Hello:
>
> > Please forgive my question. I have interest to learn but not the
> > knowledge to solve. Hope to get help..
>
> > I have a Form1 with StatusStrip and a Class1 class-file in a project.
> > I want to pass a string message from my Class1 to my Form1. Please
> > help me. I am trying in VB.NET
>
> > If you could direct me to similar example that will work too.
>
> > Many thanks.
> > musa biralo
>
> --
> Regards
> *******************
> *C.Arun Kumar *
> *******************

Reply via email to