Hi
I'm new to VB and I wanted to ask the following:
Is it possible to call a sub form another form (after i show the form) and
after the execution of the specified sub, go back to the next statement of
the calling procedure?
i.e. from form A, i call sub a which belongs to form b and after entering
some data i want to go back to the next statement of form a (carrying some
results though form the called procedure).
Thank you for your help!!
Kostas
Randy Birch - 28 Sep 2004 03:18 GMT
Yes, if the sub on FormB is declared Public.

Signature
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
: Hi
: I'm new to VB and I wanted to ask the following:
[quoted text clipped - 10 lines]
:
: Kostas
Hal Rosser - 28 Sep 2004 03:54 GMT
Call FormB.SubName(params)
> Hi
> I'm new to VB and I wanted to ask the following:
[quoted text clipped - 10 lines]
>
> Kostas
Dikkie Dik - 28 Sep 2004 17:11 GMT
> Is it possible to call a sub form another form (after i show the form) and
> after the execution of the specified sub, go back to the next statement of
[quoted text clipped - 3 lines]
> some data i want to go back to the next statement of form a (carrying some
> results though form the called procedure).
Yes you can, as long as the sub you are calling is a public one.