Catatan

Cara baca binary

Imej
What's the difference between MSB and LSB?  MSB/ LSB -  https://en-support.renesas.com/knowledgeBase/16978449 Binary to Decimal Conversion -  https://www.electronics-tutorials.ws/binary/bin_2.html How to Read Binary Code -  https://www.lifewire.com/how-to-read-binary-4692830 Learn How to Read Binary in 5 minutes -  https://medium.com/@LindaVivah/learn-how-to-read-binary-in-5-minutes-dac1feb991e https://ncalculators.com/digital-computation/binary-hex-converter.htm Method for Hex to Binary Conversion This conversion can be done by finding the binary equivalent for an each digit of the hexadecimal number, combining them together in the same order. The below steps may useful to learn and practice how to perform hex to binary conversion. step 1:  Separate the digits of the given hexadecimal, if more than 1 digit. step 2:  Find the equivalent binary number for each digit of hex number, add 0's to the left if any of the binary equivalent is shorter than 4 bit...

SQL Server UI

Enable Dark mode -  https://sqlskull.com/2020/06/01/enable-dark-theme-in-sql-server-management-studio/ C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE Shows line number -  https://www.mssqltips.com/sqlservertip/2542/display-line-numbers-in-a-sql-server-management-studio-query-window/

Mouse movement on linux (Search for the solution)

python mouse movement desktop https://www.geeksforgeeks.org/mouse-keyboard-automation-using-python/ run python in service linux https://websofttechs.com/tutorials/how-to-setup-python-script-autorun-in-ubuntu-18-04/

mylog.WriteEntry(" Error (List Stn) :" + ex.Message);

Imej
  To give  Network Service  read permission on the  EventLog/Security  key (as suggested by Firenzi and royrules22) follow instructions from  http://geekswithblogs.net/timh/archive/2005/10/05/56029.aspx Open the Registry Editor: Select  Start  then  Run Enter  regedt32  or  regedit Navigate/expand to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security Right click on this entry and select Permissions Add the  Network Service  user Give it Read permission UPDATE:  The steps above are ok on developer machines, where you do not use deployment process to install application. However if you deploy your application to other machine(s), consider to  register event log sources during installation  as suggested in  SailAvid's  and  Nicole Calinoiu's  answers. I am using PowerShell function (calling in Octopus Deploy.ps1) function Create - EventSources ( )...

Cannot connect to the ManagementScope via C#. Access denied

  Rujukan https://stackoverflow.com/a/6348152 Access Denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED) Docs Microsoft Connecting to WMI on a Remote Computer Connecting to WMI Remotely with C# Securing a Remote WMI Connection Setting up a Remote WMI Connection Troubleshooting a Remote WMI Connection

Error message: (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

  Typically, to troubleshoot this, you go to SQL Server Configuration Manager (SSCM) and: ensure Shared Memory protocol is enabled ensure Named Pipes protocol is enabled ensure TCP/IP is enabled, and is ahead of the Named Pipes in the settings Maybe it can help:  Could not open a connection to SQL Server Note : If this is a new instance of SQL Server be sure  SQL Server and Windows Authentication  is enabled Right Click the Server in SSMS and pull up server properties Go to Security--> Select 'SQL Server and Windows Authentication Mode' Restart the Server and Login with the credentials https://stackoverflow.com/a/8076038/10763264

Create installer for .Net Windows Service using Visual Studio

How to create an installer for a .net Windows Service using Visual Studio Nor Kelsey, nor Brendan solutions does not works for me in Visual Studio 2015 Community. Here is my brief steps how to create service with installer: Run Visual Studio, Go to  File -> New -> Project Select .NET Framework 4, in 'Search Installed Templates' type  'Service' Select 'Windows Service'. Type Name and Location. Press  OK . Double click Service1.cs, right click in designer and select 'Add Installer' Double click ProjectInstaller.cs. For serviceProcessInstaller1 open Properties tab and change 'Account' property value to 'LocalService'. For serviceInstaller1 change 'ServiceName' and set 'StartType' to 'Automatic'. Double click serviceInstaller1. Visual Studio creates  serviceInstaller1_AfterInstall  event. Write code: private void serviceInstaller1_AfterInstall ( object sender, InstallEventArgs e ) { using (System.Service...