Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACT!8 creating an instance of applicaiton object

Status
Not open for further replies.

anthonykwong

Programmer
Jul 6, 2006
2
AU
HI guys,
does anyone know how to create an instance of ACT.UI.actapplication in vb.net? It ask for "splashScreen as system.Idisposable". Wonder what i should put in there.

 
Hi Anthony:

I haven't gotten around to using VB.NET for specific application building yet, but for your situation it sounds like you need to implement the IDisposable interface in your VB.NET class, like this:

Code:
Public myClass : Implements IDisposable
...

You will need to implement and/or override the appropriate methods in your class once you do this, and Visual Studio will blue/underline and tell you which methods you will need to override and include to do that.

If you aren't up to speed on this, try Francisco Balena's books on VB.NET (any version), they will give you a good primer on interfaces.

They are basically a structural contract that you need to enforce in order for your code to work consistently with the other object model(s) you wish to use.

Good luck,

marcus101
Access/SQL/XML Developer
Ottawa, Canada
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top