|
-
Jul 21st, 2023, 03:28 AM
#23
Fanatic Member
Re: [vbRichClient] How To...
When I add a module named modCairo to my project...
Option Explicit
'Just to ensure "global visibility" of the New_c Constructor-
'Variable as well as the "Cairo-Entry-Instance"-Variable
'(throughout our Demoprojects Code-Modules)
Public New_c As New cConstructor
Public Property Get Cairo() As cCairo
Static statCairo As cCairo
If statCairo Is Nothing Then Set statCairo = New_c.Cairo
Set Cairo = statCairo
End Property
then this line fails:
Set WV = New_c.WebView2 'create the instance
How do I solve that?
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
|