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
Pass values and retrieve response from Command Prompt
C# Code
September 24, 2023November 3, 2023Nathan

Pass values and retrieve response from Command Prompt

This C# application starts a new Command Prompt process, passes a command to it and retrieves the response from the command prompt without every displaying the window.

Discover
Get And Set The System Date And Time
C# Code
September 24, 2023December 12, 2023Nathan

Get And Set The System Date And Time

C# code snippet that uses unmanaged code to retrieve the current date and time of the Windows operating system, and also sets it to the specified values.

Discover
Retrieve a list of disk drives using C#
C# Code
September 24, 2023November 3, 2023Nathan

Retrieve a list of disk drives using C#

This code retrieves a list of drives, stores it into an array of strings, and then loops through it to display the drives.

Discover
Calculate age using C#
C# Code
September 24, 2023November 3, 2023Nathan

Calculate age using C#

An efficient C# method for calculating the age in years by passing in the birth date.

Discover
Taking Website Screenshots With The WebBrowser Control
C# Code
September 24, 2023November 3, 2023Nathan

Taking Website Screenshots With The WebBrowser Control

Sample code on how to take screenshots of websites, resize them to thumbnails and save them as PNG file onto the harddrive.

Discover
Convert ASCII values from hex to characters
C# Code
September 24, 2023November 3, 2023Nathan

Convert ASCII values from hex to characters

This C# code takes in a list of ASCII values (hexadecimal) and shows the actual characters behind, thus converting hex values to strings.

Discover
Delete All Temporary Internet Files Of IE
C# Code
September 24, 2023November 3, 2023Nathan

Delete All Temporary Internet Files Of IE

Delete all the temporary files from Internet Explorer’s cache folder using basic methods available in the System.IO namespace.

Discover
Validate String For Positive Integer Values
C# Code
September 24, 2023November 3, 2023Nathan

Validate String For Positive Integer Values

A very simple way to validate a string for positive integer values using C# and regular expressions.

Discover
How do I get the visitor’s IP address?
C# Knowledge Base
September 24, 2023November 3, 2023Nathan

How do I get the visitor’s IP address?

There are two possible ways, either using: or using Furthermore there is information that the below line retrieves the actual IP address and not the Proxy: However this hasn’t been tested yet.

Discover
How to get a list of SQL Server databases
C# Knowledge Base
September 24, 2023November 3, 2023Nathan

How to get a list of SQL Server databases

There are multiple ways of getting a list of the SQL Server databases, the easiest one is to execute the sp_databases stored procedure, like in the example below: Don’t forget to change the connection string to match your server details (IP, userid and password).

Discover

Posts pagination

Previous 1 … 9 10 11 … 18 Next

Trending Posts

Taking a Closer Look at GNC’s Approach to Daily Supplements

Mar 10, 20258 min read
Read More

The Best Blue Light Glasses to Protect Your Eyes from Screens

Mar 6, 20256 min read
Read More

How to Pick the Best Jeans for Men

Mar 4, 20257 min read
Read More

From Multitasking to Multivitamins: Wellness That Keeps Up

Mar 3, 20259 min read
Read More

How to Pick the Best Laptop for Coding, Gaming, or Everyday Life

Mar 2, 20259 min read
Read More
No Post Found

Trending News

Microsoft Windows 12: AI Integration Set to Transform Computing Experience

Dec 27, 20234 min read
Read More

Shattering Thermal Limits: Revolutionizing Computer Technology

Dec 26, 202310 min read
Read More

Cloud Computing: The Backbone of Modern Business Operations 

Dec 26, 202310 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