Whidbey - Extending "My."

M

M O J O

Hi,

I want to extend the My (like My.Application, My.Forms and so on) with some
DataBase methods.

If I write this....

Namespace My
Public Class DataBase
End Class
End Namespace

Then My.DataBase will (logically) show in My as a Class.

All other methods in My is listed as Properties.

How can I make My.DataBase as a property instead of a class?

Thanks!!

M O J O
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Create new "me" 24
forms control in a class 2
Sub Class Namespace? 4
Form in project does not detect custom classes 1
Global Enum question 1
Inheritance and COM 1
Can't see namespace 2
classes with static members 4

Top