Compdigitec Labs

Windows

ERRINFO_CLOSE_STACK_ON_DRIVER_FAILURE error in FreeRDP

Saturday, April 8th, 2023

Connecting to a Windows 10 machine yielded the following error. https://github.com/FreeRDP/FreeRDP/issues/6604 hints in https://github.com/FreeRDP/FreeRDP/issues/6604#issuecomment-746104066 that it might be an issue of hardware acceleration. The solution is to disable RemoteFX for remote desktop.

Disable dragging of an element in JSXGraph

Sunday, July 20th, 2014

Set the attribute ‘fixed‘ to true in JXG.GeometryElement: or

Solving “Only Content controls are allowed directly in a content page that contains Content controls”

Friday, February 3rd, 2012

While debugging and creating a new ASP.NET User Control, I stumbled across the following error, “Only Content controls are allowed directly in a content page that contains Content controls” that I did not encounter before. The culprit: an invalid assembly in the custom ASP.NET User Control registration section of “web.config“: The first thing I tried, […]

Launch non-exe extension files as executables

Sunday, May 1st, 2011

Windows does not come with a built-in way of launching executables that are without the exe extension. However, we have written a small tool called “anylaunch” which allows one to execute any file as if it were an executable. (Non-PE files will still give an error since they are not executables “XYZ is not a […]

Microsoft Word 2010 and colour depth

Saturday, February 5th, 2011

Normally, the appearance of the Office 2010 application on the Windows operating system is the one with a high colour depth with the modern icons. However, if you are accessing an Office 2010 application through a remote access application like VNC or Remote Desktop or if you have a graphics card which is not capable […]

Quickly generate CRUD (Create, read, update, delete) stored procedures in SSMS with SSMS Tools Pack

Thursday, December 23rd, 2010

Normally, in SQL Server Management Studio to generate some stored procedures one would have to go through series of dialogs and manual actions using the “Script To” menu. This process is both painful to do by hand and is also very error-prone. Now there is an automated tool that can automate the process of writing […]

Converting between int and std::string in C++

Saturday, November 20th, 2010

Connecting to a network Samba PDF converter

Thursday, September 30th, 2010

The Samba team does not supply any existing PDF drivers for connecting Windows machines to networked PDF converters such as cups-pdf. As a result, the technique to print to the PDF “printer” involves using the drivers for the built-in Windows HP LaserJet. Here is a step-by-step method to print to PDF from your Windows computer. […]

ASP.NET GridView All-In-One Quick Reference

Saturday, July 17th, 2010

Here is a quick collection of snippets where one can quickly lookup the necessities of setting up a GridView for the purposes of displaying information to the viewer through a database (for example, MySQL): Adding Columns of Data Binding the Data (and storage across sessions) Paging Note: This needs AllowPaging to be set to “true”. […]

Solving Could not find stored procedure dbo.aspnet_CheckSchemaVersion in ASP.NET Membership

Tuesday, July 13th, 2010

Normally, as usual, one would not see the error Could not find stored procedure ‘dbo.aspnet_CheckSchemaVersion’ if one has a good database already setup with everything good to go. However, sometime the annoying error Could not find stored procedure ‘dbo.aspnet_CheckSchemaVersion’ crops up one can check the steps below to determine the root cause of the error: […]

« Previous Entries