How can I run a Windows GUI application on as a service?

Windows services cannot have GUIs, so you will need to either get rid of the GUI or separate your application into two pieces – a service with no UI, and a “controller” application. If you have the source code, converting the non-GUI code into a service is easy – Visual Studio has a ‘Windows Service’ … Read more

How to write an URI string in App.Config

You haven’t properly encoded the ampersands in your URI. Remember that app.config is an XML file, so you must conform to XML’s requirements for escaping (e.g. & should be &amp;, < should be &lt; and > should be &gt;). In your case, it should look like this: <appSettings> <add key=”fooUriString” value=”https://foo.bar.baz/download/DownloadStream?id=5486cfb8c50c9f9a2c1bc43daf7ddeed&amp;login=null&amp;password=null” /> </appSettings> But in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)