My Personal Blog


Lazycoder


System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory when writ

After solving UnauthorizedAccessException if you get this runtime exception 


System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLS

{Read More}

System.UnauthorizedAccessException: Retrieving the COM class factory for component when reading Exce

This is the common Exception when we try to read excel files by excel reader on the Dot NET project.

Full exception example:

System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} faile

{Read More}

Windows computer "cannot be loaded because running scripts is disabled on this system"

 

 

Why?

{Read More}


Windows 10 high memory usage (unknown reason)

Suddenly Windows 10 showing it using high memory of about 85%. I have solved this problem and i am going to write down the solution to this post.

In the below picture, you can see my memory usage is 85%

 

{Read More}


Visual Studio Code(VSCode) Note

VSCode 1.41.1 with intelephense VScode plugin, getting error on Route folder 
Un

{Read More}

PHP static code analysis on laravel project

Some important tools to automatically check PHP code quality like

PHPCS (PHP CodeSniffer), PHP-CS-Fixer (PHP Coding Standards Fixer), PHPMD (PHP Mess Detector) , etc.

I am going to write the process how to use them on the la
{Read More}


Delete a old SSL certificate from windows 10

1. Press Windows key + R to open the run command.

2. Type certmgr.msc and press enter

3. Certificates are stored in the folders under Certificates - Current User. You might have to search through the folders t

{Read More}

XAMPP localhost SSL certificate generate

step 1: Go to-> C:xampp/apache and create a folder name crt

step 2: create "cert.conf" and "make-cert.bat" file inside crt folder

step 3: run "make-cert.bat" file

step 4: 

{Read More}

Laravel store procedure

First create a migration by 

php artisan make:migration test_procedure;

Now edit test_procedure like this

    public function up()
    {
        DB::

{Read More}

PHP Unit testing

We will use PHPUnit framework to test our PHP code.

Requirement:

-> php version &g

{Read More}

JavaScript call method with string parameter[Laravel note]

To pass a string parameter with the bellow situation use the bellow method.

 <script>

                    html = "Hamilton";
 

{Read More}

Atom Hack:

What is ATOM?

Atom is a free and open-source text and source code editor{Read More}


Laravel Note!!

# Laravel data passing from controller to view

Bellow we are passing an array

        return view('viewName')->with('key',$data);

Now we can receive data from view


{Read More}

How to generate SHA1 fingerprint for linux or mac

I'm trying to generate the SHA1 fingerprint so I can get an Google API key.

I was trying with the following command on terminal 

keytool -exportcert -keystore path-to-debug-or-production-keystore -list -v

I am an linux user i am

{Read More}

PHP non english characters are replaced with question marks(?????) sometimes (mysql)

I am using php(Slim 3) API call to featch bangla characters in MySQL database. I am facing an UTF-8 encoding problem in between flow of my application.

 

After research on goo

{Read More}

Android Gradle Error Solution

"Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.1) from [com.android.support:design:26.0.1] AndroidManifest.xml:28:13-35
      is

{Read More}


Free Web Hosting