K
Karsten1976
Guest
Hello,
I currently write an app which determines the remaining life span of the notebook battery. I also want to publish this app in the Windows Store. My app calls the Windows command "powercfg.exe /batteryreport" to get the status data of the battery. Powercfg.exe creates an HTML file and my app gets the data from this file.
I wrote a simple HTML parser to read the HTML file generated by Powercfg.exe (using for/next) - but it´s very slow. Is there a better and faster way to parse an HTML file in Visual Basic .net? Or is there a way to find a specific string directly? I use .net Framework 4.6.2.
Thank you.
Regards,
Karsten
Continue reading...
I currently write an app which determines the remaining life span of the notebook battery. I also want to publish this app in the Windows Store. My app calls the Windows command "powercfg.exe /batteryreport" to get the status data of the battery. Powercfg.exe creates an HTML file and my app gets the data from this file.
I wrote a simple HTML parser to read the HTML file generated by Powercfg.exe (using for/next) - but it´s very slow. Is there a better and faster way to parse an HTML file in Visual Basic .net? Or is there a way to find a specific string directly? I use .net Framework 4.6.2.
Thank you.
Regards,
Karsten
Continue reading...