2
Answers

An invalid or incomplete configuration was used while creati

I have this error "An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail." when I run some module from my project.Plz answer me..
Answers (2)
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello 
 
To acess such functionality , there two options :
 
1 . To use predefined method
 
2 . To use it's DLL 
 
For example please find folllowing article for brightness control with c# :
 
https://www.codeproject.com/Tips/855454/How-To-Change-Screen-Brightness-in-Csharp 
 
https://www.codeproject.com/Articles/47355/Setting-Screen-Brightness-in-C
 
Thanks 
Accepted
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello 
 
There are different DLL's available for that 
 
Just google it and you can find many of them easily 
 
Thanks 
1
Dahen Mustafa

Dahen Mustafa

NA 11 226 7y
How about other types of native controls? Like volume,pause, print screen,esp, others.....???