Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

How To Fix An Endless Adobe Validating Software License Screen

I really enjoy errors in software that occur randomly for no reason. 🙂 One that recently occurred was an installed Adobe application (InDesign) that suddenly failed to start. Reinstalling the software didn’t help. Starting the application would run Adobe Creative Cloud instead where it tried to endlessly validate a software license.

This was fixed by deleting 4 folders:

  • C:\ProgramData\Adobe\SLstore
  • C:\Program Files (x86)\Common Files\Adobe\Adobe PCD
  • C:\Program Files (x86)\Common Files\Adobe\caps
  • C:\Users\[User Name]\AppData\Local\Adobe\OOBE

Once deleted, InDesign was able to run again after I logged into Adobe with my credentials.

By

Real Time Code Compiler from Skype

Screen sharing apps are commonly used in business meetings where people aren’t sitting next to each other in a boardroom. Another use I have for them is in technical support for software where your client shows you on their computer what bug they discovered in your software.

Skype created an interesting way to do screen sharing. They created a real time code compiler where you can edit and compile code in C, C++, C#, Java, JavaScript, Python, or Ruby. This can be used for showing your programming skills during a job interview without being there in person. The site also shows a video of the people in the session so you can see the shocked look of the interviewer when they see brilliant code like my swap function (see below).

Screenshot 2017-09-01 21.22.53

The screen sharing compiler can be found at www.skype.com/interviews. I’m guessing by the name its meant for job interviews Smile but there are other uses as well, such as students helping each other code.

This is a very useful site and it will probably wind up in the Skype application itself. It will run much better as an app than a web site when it comes to streaming audio and video.

By

Gigabytes of Free Books from Microsoft!!!

Once again, Microsoft is giving away gigabytes of free books. Eric Ligman (Microsoft Director of Sales Excellence Blog) announced on July 11 that even more books than last year are freely available. If Microsoft is trying to gain loyalty by giving away free stuff, its working. 🙂

You have the option of downloading individual books or all of them in one shot with a PowerShell script. I recommend running this in Visual Studio Code with the Code Runner plugin. If you only cut and paste the code in VS Code and not save it, you’ll have to use the Select Language Mode (lower right corner) to choose PowerShell before you can run it. I downloaded books selectively and it resulted in 3.88 GB of files.

Anyways, I want to thank Microsoft for supporting developers and the IT community with the resources to do our jobs well.

By

How to Fix Multiline TextBox Word Wrap in Edge / IE 11

Internet Explorer 11 and Edge work in a different way with fixed width text boxes (see examples below) than previous versions earlier than 11. IE 11 and Edge inherits the white-space property from its parent. So, if text overflows in these browsers, it won’t wrap in the box.

HTML:

     <textarea rows="4" cols="50">Lots of text ...</textarea>

ASP.NET:

     <asp:TextBox ID="TextBox_Address" runat="server" Rows="5" TextMode="MultiLine"></asp:TextBox>

This can be fixed by applying the following CSS to the text box:

     white-space: pre-wrap

Now overflowing text will wrap in the box in all IE and Edge versions.

By

C#: Bonjour Monde!

This is the Canadian version of the “Hello World! program that every programmer learned in the first 5 minutes of their schooling. Compile this as a console project to test if your compiler is working.

ConsoleApplication1
{
  class Program
  {
    static void Main (string [] args)
 
   {
      Console.WriteLine (“Bonjour Monde!”);
 
     Console.ReadKey ();
 
   }
  }
}