Power Status in vb .net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am desperately trying to figure out how to enumerate and watch the power
options in Server 2003. I want a program to send out an email message when
the battery power of the ups hits 95%. I have successfully written all code
needed to actually send the mail, but how to monitor the power source? ( AC
or Battery.) I read in several places that the sysinfo.ocx control would do
the trick. I think it probably will, but when I compile and execute the
code, it returns an exception saying that it is "not licensed" I do not
develop in VB 6, only in .net 2003. I am 95% sure the code is right, but the
control is "not licensed".
PLEASE HELP!!!!
 
Back
Top