I would like to preempt pop up / error window if the users machine doesn't have required .net framework installed. I was thinking about checking the users registry first with simple "if" statement but will this work? If yes than I would love see some examples.
The second question is about getting the folder which contains my application. Usually it's default location like "downloads" folder or the desktop but what if someone saved it in different place? How to retrieve this location?