D
dsbs
Here is some code
I used this code (Outlook/FORMS), because I would like to read path (network/internet) to files
Function getDocumentFileNameAndPath(
Dim strFileNam
Dim objPag
Dim ctlCommonDialo
Set objPage = Item.GetInspector.ModifiedFormPages("test"
Set ctlCommonDialog = objPage.Controls("CommonDialog1"
ctlCommonDialog.ShowOpe
MsgBox CommonDialog.FileNam
getDocumentFileNameAndPath = CommonDialog.FileNam
End Functio
It worked correctly, when i was selecting files on my local disc
If i wanted to read network path (for example "localhost/test.doc")
The function returned path from "Temporary Internet Files":
But i if use WORD file Dialog (for reading netowkr path) it works correctly
But in this case every time i want to read network path, the WORD application is opened:
What should i set by CommonDialog to read netowrk paths correctly
I use Microsoft Common Dialog Control, version 6.0.
I used this code (Outlook/FORMS), because I would like to read path (network/internet) to files
Function getDocumentFileNameAndPath(
Dim strFileNam
Dim objPag
Dim ctlCommonDialo
Set objPage = Item.GetInspector.ModifiedFormPages("test"
Set ctlCommonDialog = objPage.Controls("CommonDialog1"
ctlCommonDialog.ShowOpe
MsgBox CommonDialog.FileNam
getDocumentFileNameAndPath = CommonDialog.FileNam
End Functio
It worked correctly, when i was selecting files on my local disc
If i wanted to read network path (for example "localhost/test.doc")
The function returned path from "Temporary Internet Files":
But i if use WORD file Dialog (for reading netowkr path) it works correctly
But in this case every time i want to read network path, the WORD application is opened:
What should i set by CommonDialog to read netowrk paths correctly
I use Microsoft Common Dialog Control, version 6.0.