My Object

That's surely one I will use a lot ;-)

The "My" object in VB.Net 2.0

The "My" object lets a developer do things he might need to do regularly, like:

  • Retrieving information about the logged on user (domain, user name, Windows roles)
  • Retrieving application information (description, file name, name of the special folder for storing user & application bound data)
  • Retrieving information about the computer
    • Event logs
    • Keyboard information (is caps or num lock pressed)
    • Mouse information (is it a wheel mouse, how many buttons are on the mouse)
    • Screen information (resolution, boundaries)
    • Network information (connected, IP address)
    • Accessing the registery
    • Accessing printer information

And what's about interaction between controls ? I think I didn't see anything this.

And you know something like

'MyPage talk to MyUserControl ... Is somebody there, I want to change something in your behavior'

 

No Comments