ASKER
ASKER
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.
TRUSTED BY
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form_Activate()
Move 0, 15 * 600, 15 * 120, 15 * 80: DoEvents
Shell "notepad c:\deleteme.txt", vbMaximizedFocus
Sleep 1500
DoEvents
Me.SetFocus
F = InputBox("Enter a line number")
Me.Hide
DoEvents
For x = 1 To F - 1
SendKeys "{down}", True
Next
SendKeys "+{END}", True
SendKeys "%B", True
SendKeys "k", True
z = Clipboard.GetText
Sleep 1400
Me.Show
MsgBox " In the line " & F & Space(60) & _
"i've found the following Data :" & vbCrLf & vbCrLf & z
MsgBox "I copied the data to the Windows Clipboard ."
End
End Sub