Thursday, June 4, 2020

Visual Studio 2013 - Run as administrator - The application cannot start.

All of a sudden, Visual Studio 2013 no longer works with the error message "The application cannot start" when trying to run it as local administrator.

For those of us who prefer to host a development environment using local IIS server (not IIS Express), this could be a show stopper.

Running the "devenv.exe /resetuserdata" did not help. Uninstall/Re-install of VS 2013 did not help either.

Try the following and see if it helps.

  1. Open the folder "C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\
  2. Look for files that start with "dte" and "*.olb" extension. For example,
    • dte80.olb
    • dte80a.olb
    • dte90.olb
    • dte90a.olb
    • dte100.olb
  3. Copy all of these files.
  4. Paste them into "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

Monday, January 20, 2020

Simple sticky bottom footer

Simple sticky bottom footer example with text-overflow hidden with ellipses.



full source code

<!doctype>
<html><head><title>Sticky Bottom Footer</title>
<style>
#content {
 text-align: center;
}
#google_promo {
 bottom: 30px;
    left: 0; 
    position: fixed;
    right: 0;
    text-align: center;
    transition: bottom 400ms;
}
.promo-content {
 border: 1px solid #ccc;
 border-radius: 16px;
 display: inline-block;
 padding: 0 16px;
 width: 237px;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
}

</style>
</head>
<body>
<div id="content">
 <h1>Simple Sticky Bottom Footer</h1>
 <div id="google_promo">
  <div class="promo-content">
   Hello, I am a sticky footer. It's simple to create me.
  </div>
 </div>
</div>
</body>
</html>