oopps forgot the code snipit!!

Code:

Break On

$System = CreateObject("Kixtart.System")
$Form = $System.Form()
$Form.Text = "Browse for file"

$BrowseButton = $form.Controls.Button
$BrowseButton.text = "Browse for file"

$BrowseButton.onclick = "$BrowseDisplay.text = FileBrowse"
$BrowseButton.Height = 20

$BrowseDisplay = $Form.Controls.TextBox()
$BrowseDisplay.top = $BrowseButton.bottom
$BrowseDisplay.left = $BrowseButton.left
$BrowseDisplay.Width = $Form.ClientWidth

$Form.ClientHeight = $BrowseDisplay.Bottom
$Form.Show

While $Form.Visible
$=Execute($Form.DoEvents)
Loop

Exit(0)

Function FileBrowse
$OpenFileDialog = $System.OpenFileDialog()
$ = $OpenFileDialog.ShowDialog()
$fileBrowse = $OpenFileDialog.filename
EndFunction