View Single Post
  #3  
Old 19th Feb 04, 06:18 AM
~*McoreD*~'s Avatar
~*McoreD*~ ~*McoreD*~ is offline
Super Moderator
 
Join Date: Jul 2002
Location: Australia
Posts: 2,902
~*McoreD*~ is an unknown quantity at this point
Here is VB.NET Code:

'Pasting from the Clipboard
Code:
               If System.Windows.Forms.Clipboard.GetDataObject.GetDataPresent( _           System.Windows.Forms.DataFormats.Text) Then            txtURL.Text = System.Windows.Forms.Clipboard.GetDataObject.GetData( _            System.Windows.Forms.DataFormats.Text)        End If
'Writing to a File
Code:
      strBatFile = "war59312" FileOpen(1, (Application.StartupPath & "\LogonHours.bat"), OpenMode.Output) PrintLine(1, strBatFile) FileClose(1)
Cheers,
McoreD
Reply With Quote