The Most Important Bookmarklet Ever!

You probably can relate to this. Lets say you’re surfing around looking at funny pics and then BAM! You’re like: “Where the hell is the piano? I want to play on this website right now!”. Well, this is a life saver. Because, now you can just run this bookmarklet and BAM! You got yourself a … Read more

Win 7,8,10 Drivers for 802.11g 54Mbps 1000mW USB 2.0 WiFi (DealExtreme)

A couple of years ago I bought this Wifi antenna dongle from DealExtreme. 802.11g 54Mbps High Power 1000mW USB 2.0 WiFi Wireless Network Dongle https://www.dx.com/en/p/802-11g-54mbps-high-power-1000mw-usb-2-0-wifi-wireless-network-dongle-35688#.WxC1q2utS9J Years passed and I wanted to try it out a couple of days ago. I discovered that Windows 10 didn’t auto-install it. There was some driver-problem. Also, there have been … Read more

VB.net: Get a String between 2 words(any text) inside a larger string – Supereasy!

First off, I didn’t not write this code. I might have modified it but I’m not sure since I’ve had it around for quite some time.
If you’re the creator, thanks! It’s been handy. And comment and I’ll add a “credit-link” in this post. ;)

The code to get the value, text or string or whatever you choose to call it is so easy to use, short and it’s handy in many different kind of applications.
If you’re writing a Scraper in VB.net, this is a perfect Function that surely will be useful for you.

Lets say you have a string with the following content:
"Erik Johan Jonas Johanna Martin David"

And you want to pick out the name between Johanna and David:

Dim FindIt As String = GetBetween(Haystack, "Johanna", "David")
MessageBox.Show(FindIt)

So, I used Dim in the same line to set up a string to store the text we’re picking out and then used the function called GetBetween to extract the text.
There will be spaces that you might want to use Trim on since I didn’t include the space as a prefix and suffix when using the GetBetween function.

The code is in the full post. Follow the link!

Read more