on 06-19-2007 7:10 AM
Hi
I must to create upload picture button and when Button_click it has file dialog to open. Now I use this VB Code
Dim myStream As Stream
Dim openFileDialog1 As New OpenFileDialog
openFileDialog1.InitialDirectory = "c:\"
openFileDialog1.Filter = "txt files (.txt)|.txt|All files (.)|."
openFileDialog1.FilterIndex = 2
openFileDialog1.RestoreDirectory = True
If openFileDialog1.ShowDialog() = DialogResult.OK Then
myStream = openFileDialog1.OpenFile()
If Not (myStream Is Nothing) Then
myStream.Close()
End If
End If
Result, it open file dialog behind B1. How I can open file dialog on B1?. Please give me advice or example.
best regards,
tosaporn
Thank you ,Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tosaporn,
The forum you have posted your question in is for questions related to the SAP Business One integration for SAP NetWeaver. Your question seems to be related to the SAP Business One SDK. You should post your question in the SAP Business One SDK Forum as you may get a faster response.
With respect to your question ... have a look at this link as it may assist you with your question ...
HTH,
Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.