Visual Basic Programming Code Examples Visual Basic > Code Snippets Code Examples Displays your IP address 1 2 3 4 Displays your IP address MsgBox Winsock1.localIP This requires the addition of the Microsoft Winsock Control to your Project Removing A FileName From A Path Send the text in a range to a word document Draw a chord Draw an arc Changing the screen resolution-colors Searching a window for a child window Convert a pointer to a string into a string Disconnected updates using ADO Convert an array to a string and a string to an array Shutdown restart logoff the local machine Play an audio file Preview an Access Database Report