|
-
Apr 12th, 2007, 01:12 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] call sub
how can i get this to work
Code:
Call frmDesktop.RenewCaptions
RenewCaptions is a sub with some code in to renew the captions of buttons
how can i call it from another form.
thanks in advance chris1990
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
Apr 12th, 2007, 01:15 AM
#2
Re: call sub
Call frmDesktop.RenewCaptions
That's it. Just make sure RenewCaptions is a Public procedure.
-
Apr 12th, 2007, 01:19 AM
#3
Thread Starter
Hyperactive Member
Re: call sub
do i change it from public sub to public procedure
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
Apr 12th, 2007, 01:22 AM
#4
Re: [RESOLVED] call sub
Sub = procedure
Function = procedure
Property = procedure
So no, you don't change that
-
Apr 12th, 2007, 01:23 AM
#5
Re: [RESOLVED] call sub
If it's a Public Sub then it should do.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|