G
Guest
Hi;
I have event logging working now (thank you all for the help). But we now
need to add doing this to our setup program. The file on my system is:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll
So my question is how do we programatically get this path and filename?
1) Where do we get the C:\WINDOWS\Microsoft.NET\Framework part from? Do we
just add Microsoft.NET\Framework to the windows directory?
2) The v2.0.50727 part - do we build that from the AppDomain version number
or somewhere else?
3) Is the filename hardcoded as EventLogMessages.dll?
I don't want our stuff to break if a new version comes out.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I have event logging working now (thank you all for the help). But we now
need to add doing this to our setup program. The file on my system is:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll
So my question is how do we programatically get this path and filename?
1) Where do we get the C:\WINDOWS\Microsoft.NET\Framework part from? Do we
just add Microsoft.NET\Framework to the windows directory?
2) The v2.0.50727 part - do we build that from the AppDomain version number
or somewhere else?
3) Is the filename hardcoded as EventLogMessages.dll?
I don't want our stuff to break if a new version comes out.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm