fork download
  1. Public Class Form1
  2.  
  3. Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
  4. TextBox1.Text = OpenFileDialog1.FileName
  5. End Sub
  6.  
  7. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  8. TextBox1.Text = OpenFileDialog1.FileName
  9. End Sub
  10.  
  11. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  12. Process.Start(TextBox1.Text)
  13. End Sub
  14. End Class
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/7xwLn5/prog.vb (3,145) : Error VBNC30451: Could not resolve the name 'OpenFileDialog1'
/home/7xwLn5/prog.vb (4,18) : Error VBNC30451: Could not resolve the name 'TextBox1'
/home/7xwLn5/prog.vb (4,40) : Error VBNC30451: Could not resolve the name 'OpenFileDialog1'
/home/7xwLn5/prog.vb (7,107) : Error VBNC30451: Could not resolve the name 'Button1'
/home/7xwLn5/prog.vb (8,18) : Error VBNC30451: Could not resolve the name 'TextBox1'
/home/7xwLn5/prog.vb (8,40) : Error VBNC30451: Could not resolve the name 'OpenFileDialog1'
/home/7xwLn5/prog.vb (11,107) : Error VBNC30451: Could not resolve the name 'Button2'
/home/7xwLn5/prog.vb (12,17) : Error VBNC30451: Could not resolve the name 'Process'
There were 8 errors and 0 warnings.
Compilation took 00:00:01.7000670
stdout
Standard output is empty