Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / September 2004



Tip: Looking for answers? Try searching our database.

call statement

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kostas - 27 Sep 2004 23:03 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.