This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem "ping -n 2" the "2" is the number of seconds to delay to changing color, you can edit this | |
rem if the text is not delaying (aka flashing at a rapid rate) then replace "127.0.0.1" with localhost | |
@echo off | |
title Team Devnet's Ranbow Text %time% // %date% | |
:1 | |
cls | |
color 08 | |
echo Hey there! | |
ping -n 2 127.0.0.1 > nul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports System.Net | |
Public Class Form1 | |
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click | |
Try | |
If WSITE.Text.Contains("http://") Then | |
Dim iphe As IPHostEntry = Dns.GetHostEntry(WSITE.Text.Replace("http://", String.Empty)) | |
IPADD.Text = iphe.AddressList(0).ToString() | |
Else |