Fix the Touchpad 2 Finger Scroll Issue (Asus, Acer, Dell, HP…)

Along with lots of other ASUS laptop owners, I started having problems with my touchpads 2 finger scroll after updating to Windows 10.
I read on forums that some laptops from other companies like Lenovo, Acer, Toshiba, Dell, HP did also have the same kind of touchpad scrolling problem.

I tried to solve it by installing different ASUS touchpad drivers, messing around with config files and such, nothing worked. But then I found a solution that worked perfectly for me at least.

This fix didn’t work on all laptops but it’s worth a try!

Windows 10 Touchpad Scrolling Problems - FIXED!
The laptop I’m using is a ASUS ZenBook Pro UX501JW. I believe the ASUS ZenBook N501JW will work with this solution too.
If you’re having problems with the touchpad 2 finger scrolling but have another laptop model, I still think you should test this solution anyway.

(You’re following this tutorial on your own risk as always. Create a Restore Point.).

Lets start with Step #1.

Download these drivers from Microsoft:
http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/10/28775d92-bef5-48b3-a467-ac2bd18c0bac_e904792fef3ebfa8201af9bde1dca8876b067750.cab

Now you have to extract the content in the the CAB-file.
You can use 7-Zip for example or Windows builtin tools like the Command Promt or PowerShell to extract the CAB-file.

You need to run this command in the same folder as the CAB-file:
expand 28775d92-bef5-48b3-a467-ac2bd18c0bac_e904792fef3ebfa8201af9bde1dca8876b067750.cab -F:* C:\NewFolder123

(The “-F:*” stands for extracting all the files! Change the C:\NewFolder123 path to a folder you’ve created before running the command.)

Hopefully you have that folder filled with lots of files and some folders by now.

Step #2 – Uninstall the old Asus Touchpad Software & Drivers.

Open the “Device Manager”. Click on “Mice and other pointing devices” and uninstall the “Asus Precision Touchpad”.
(It might be called something else with the word “touchpad” or “Asus”. Just look around.)

Also uninstall the “ASUS Smart Gesture (Touchpad Driver)” if you have that installed.
I also uninstalled the “ATKPackage (ATKACPI driver and hotkey-related utilities)”, but I don’t know if this is necessary.

Step #3 – Install the New Drivers.

Rightclick and choose “Update drivers” on the touchpad you just uninstalled drivers for in the “Device Manager”.

Click on “Browse my computer for driver software.”. Then browse to the folder where you extracted the content from the CAB-file.
Select ETD.inf. If you cant see it, try typing “ETD.inf” in the filename textfield and press enter.

Let it install the drivers and then restart your PC.
Your mouse may not function that well yet, if it does, then just skip the next step.

Step #4 – Install the ELAN Miniport PTP Driver.

Some people have the touchpad working fine again after a reboot but I had to go into “Device Manager” again and then look under “Mice and other devices”, also under the “Human Interface Devices” and then update the driver for something with the word “Miniport…..”. (Cant remember the exact name but it had a small “yellow warning-icon” on it).
Rightclick on it, update drivers, click on “Browse my computer for driver software.”, browse to the same directory as before and choose the file “ETDMiniPTP.inf”.

Restart your PC.

Hopefully you’ll have it working by now.
If you want the scrolling the other way around, just change it in Windows 10 mouse settings.

I hope this small tutorial helped solving your touchpad scrolling issues.

VB.net: Update Listbox with Time,Text then Autoscroll

When making applications in VB.net I often use a Listbox to give the application user some kind of status updates when a application have to loop through a huge amount of data.
It’s a nice way to be able to tell if it’s still working and doesn’t seem like a non-responding application that have crashed.

Therefor I wrote this little code snippet, it’s basically Sub I got inside my elite-module.vb (//irony) which is filled with handy custom functions, suns and such that I tend to use often in my projects.

Anyway, instead of using ~4 lines of code every time to add some text as a update the Listbox, then autoscrolls down to show the new status item and also do a UI refresh.
If there’s intense CPU load the UI might not respond so well, so we force it to redraw.

Here’s the code snippet:

    ' UpdateStatus (Made for "Status updates". It adds/update the the Current Time + Your text string. Then Scrolls down to new item & Refresh Listbox UI.
    ' Example of usage: UpdateStatus(ListBox1, "I just added a new status update...")

    Public Sub UpdateStatus(ByRef ListBoxName As ListBox, StatusComment As String)

        ListBoxName.Items.Add(TimeOfDay.ToString("H:mm:ss") & ": " & StatusComment)
        ListBoxName.TopIndex = ListBoxName.Items.Count - 1
        ListBoxName.Refresh()
        Return
    End Sub

If you don’t want to use the 24-hour time format, you can replace that bit of code with TimeOfDay.ToString(“h:mm:ss tt“) which will give you a output in this format: “7:22:14 pm”

I hope you find it useful.

VB.net: Auto Scroll a Listbox

Do you want to make a Listbox in VB.net auto scroll to the last value?
I use this to log and show the progress of what my application is currently doing.

Amazingly ugly UI I made.
Auto scroll listbox in VB.net

The first line just add date and the current time to the Listbox.
The second line is the one that actually scroll the Listbox.
The third line is refreshing the UI which might be needed if your application need to do a lot of work…

ListBox.Items.Add(DateTime.Now)
ListBox.TopIndex = ListBox.Items.Count - 1
Refresh()

A good idea is to use a timer to keep the Listbox scrolling so you don’t have to add the same code over and over each time you add a new item to the Listbox.

Fix: WordPress Sitemap Error: “XML declaration allowed only…”

Have you seen a error similar to the one below while trying to access your WordPress Sitemap?

This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

Wordpress sitemap.xml error

I’ve looked around and one guy solved the problem by removing some PHP-code that indicates the PHP code ending or whatever you call it “?>” in his themes functions.php file.

Because apparently he had 2 of them which caused the sitemap error for him and someone else too in that thread.

But that was not the problem for me. The problem was because some idiot (me) had made a plugin and left linebreaks and spaces in the plugin PHP-file.

So check your WordPress plugins. Deactivate one at a time and hit F5.

Have fun! 😉

Chrome & Vivaldi: Change the CACHE location & Size

This is mostly a note for myself but I’m sure some people will find it useful too.

If you want to change the cache location of where Chrome, Vivaldi and probably other browsers that use the same rendering engine, this is how you do it the easy way.
But this is only for the Shortcut, if some other application starts your browser for example, these parameters wouldn’t be used.
It’s a minor problem, at least for me… I just replace all the shortcuts to Vivaldi I have.

I use a free RamDisk for Windows because I work a lot with temporary files and it’s faster than any harddrive. So that’s where I also place the web browser cache.

1: Right-click on your Chrome/Vivaldi-shortcut and click on “Properties”.

2: Under the tab “Shortcut” you’ll see the field “Target”. Right at the end of the path to the “.exe” file is where you place the parameters for cache directory location and also how much space it should be able to use.

This is the shortcut I use for example. X: is the RamDisk, and 350000000 = 350 MB.

"C:\Users\YOURUSERNAME\AppData\Local\Vivaldi\Application\vivaldi.exe" --disk-cache-dir="x:\Temp" --disk-cache-size-350000000

I hope you find it useful!