Mapido

Hello, I've got a few questions. I'm a complete newbie to Visual Basic anyway, so if someone could help me would be great
  1. How can I get data from clipboard to a textbox
  2. Hoe do I get data from a register value to a textbox
  3. Does with VB2005 express edition created applications require .NET to be on the computer
  4. Can I start a console application (for example pause.exe from system32) in a with Visual Basic created console app (if so, how )
  5. How do I start applications from a harddisk (for example C:\WINDOWS\explorer.exe)
  6. (How) Can I kill a process
Thanks already Smile


Re: Visual Basic Express Edition A few questions

it.f4n

1: Me.textbox1.Paste()
2: My.Computer.Registry.GetValue
3. Yes
4.,5. shell("adress of the file")




Re: Visual Basic Express Edition A few questions

frxstrem

1. Get data from clipboard if text.

If My.Computer.Clipboard.ContainsText = True Then

Textbox1.Text = My.Computer.Clipboard.GetText()

End If

2. Kill all processed called "myapp.exe"

Dim x As New System.Diagnostics.Process()

x = System.Diagnostics.Process.GetProcessByName("myapp.exe")

For Each pr As System.Diagnostics.Process In x

pr.Kill()

Next