hi all,
i am trying to make a vb.net form that opens a document using a specific field in a template.
i am using this code in vb when double clicking on datagrid :
Dim x As Integer
x = DataGridView1.CurrentCell.RowIndex
Dim str As String = "http://localhost/WebLink/search.aspx?dbid=3&searchcommand={[CustomerTemp]:[Custumer ID]=" + DataGridView1.Item(0, x).Value.ToString + "}"
Process.Start(str)
but my objective is to open the document without letting the user , using the link to access another document...i am getting this link in weblink
can i encod it in some way ?? or directly download the file not using the docID but using directly the search query ??
please advice,
thank you.