Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
Finding the username of the current Windows user with VB.NET
Knowledge Base VB.NET
November 8, 2023November 9, 2023Nathan

Finding the username of the current Windows user with VB.NET

This single line of VB.NET code below will put the name of the current Windows user into the currentUserName variable:

Discover
Getting remaining battery power and battery status using VB.NET
Knowledge Base VB.NET
November 8, 2023November 9, 2023Nathan

Getting remaining battery power and battery status using VB.NET

The following VB.NET will make use of the SystemInformation class in order to obtain the battery charge status in percentages and the current power source: AC power / battery charging or battery power / battery not charging.

Discover
Get current screen resolution in VB.NET
Knowledge Base VB.NET
November 8, 2023November 10, 2023Nathan

Get current screen resolution in VB.NET

To get the current screen resolution in VB.NET you can use the Bounds.Height and Bounds.Width properties as such:

Discover
Determine if the computer is connected to a network
Knowledge Base VB.NET
November 8, 2023November 29, 2023Nathan

Determine if the computer is connected to a network

The following piece of code uses the My.Computer.Network.IsAvailable property to determine whether or not the computer is connected to a network. This network could be the Internet or a local network; for as long as the computer is connected to one such network, the response retrieved will be positive. This Visual Basic (VB.NET) code snippet is used […]

Discover
Open a web page in the default browser
Knowledge Base VB.NET
November 8, 2023November 10, 2023Nathan

Open a web page in the default browser

Opening an URL in the default browser using VB.NET could not be any simpler. All you need to do is to invoke the Process.Start() method and pass the URL of the page that you wish to open:

Discover
Validate email addresses using VB.NET
Tutorials VB.NET
November 4, 2023November 10, 2023Nathan

Validate email addresses using VB.NET

Using RegEx this VB.NET code validates an email address. It’s checking for a string separated by the at (@) character, and again separated by a dot.

Discover
Get a list of the files in the clipboard
Tutorials VB.NET
November 4, 2023November 10, 2023Nathan

Get a list of the files in the clipboard

This few lines of code are retrieving the list of files that are copied to the clipboard, if any.

Discover
Detect multiple instances of the application
Tutorials VB.NET
November 4, 2023November 10, 2023Nathan

Detect multiple instances of the application

This Visual Basic .NET code will detect if multiple instances of the current application are running by retrieving the number of running processes with the same name.

Discover
Replace Last Occurrence In String
Tutorials VB.NET
November 4, 2023November 10, 2023Nathan

Replace Last Occurrence In String

Replace only the last occurrence of a string within a larger string, using a VB.NET code snippet.

Discover

Trending Posts

Ninja Kitchen Essentials That Keep Things Simple

May 15, 202513 min read
Read More

Top Wellness Picks for Active Lifestyles in 2025

May 9, 202510 min read
Read More

How BodyHealth Makes It Easy to Build a Smart Supplement Routine

May 4, 20257 min read
Read More

Why Built Bars Have Become a Go-To for Fitness and Everyday Snacking

May 1, 20258 min read
Read More

Comfort, Compression, and Clean Design—This Sock Balances All Three

Apr 30, 20259 min read
Read More

Coding and Tutorials

Building a Simple Blog System Using ASP

Jan 5, 202414 min read
Read More

How to Build a Gaming PC: A Step-by-Step Guide for Gamers

Jan 24, 202515 min read
Read More

Building a Single Page Application (SPA) in JavaScript: A Comprehensive Guide

Feb 2, 202418 min read
Read More

How to Optimize Your Website for SEO

Jan 11, 202419 min read
Read More

Trending News

Meta Unveils AI Tool Specifically Designed for Coding

Apr 21, 20256 min read
Read More

O’Reilly 2024 Report Unveils a Tech Revolution: The Surge of GPT and Generative AI

Feb 24, 20254 min read
Read More

Steps to Turn On or Off the Touchpad in Windows 11

Feb 22, 202511 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions