1、
http://www.foxtable.com/help/topics/0353.htm
例如:
Dim r As row = Tables("xxx").Current
if r.IsNull("文件") = False Then
Dim fl As String = ProjectPath & & "Attachments\" & r("文件") Then
If Filesys.FileExists(fl) Then
Dim Proc As New Process '定义一个新的Process
Proc.File = fl '指定要打开的文件
Proc.Start()
End If
End If
2、
http://www.foxtable.com/help/topics/0328.htm
例如:
Dim dlg As New OpenFileDialog '定义一个新的OpenFileDialog
dlg.Filter= "Excel文件|*.xls|Word文件|*.doc|Access文件|*.mdb" '设置筛选器
If dlg.ShowDialog = DialogResult.Ok Then '如果用户单击了确定按钮
Tables("xxx").Current("文件") = dlg.FileName
End If
3、
Tables("xxx").Current("文件") = Nothing
可以看出,没有技巧可以,都是帮助现成的知识。