|
-
Oct 23rd, 2019, 07:32 PM
#11
Thread Starter
PowerPoster
Re: The 1001 questions about vbRichClient5 (2019-08-19)
 Originally Posted by wqweto
Referencing Form1 instead of acting on current instance through Me keyword (or omitting it altogether) fails the moment a second instance of the form is needed.
If you plan on directly using dm, cmn, whatever instead of this you should probably make sure your singletons are not instantiated second time (not sure how to do this in JS) by accident.
cheers,
</wqw>
Yes. But there seems to be no way to ensure that the Class can only be instantiated once. One way szlamany mentioned is to make the necessary explanations/comments when declaring the dm or cmn variable.
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
|