Save word
-
Hi, I have an application which opens and saves word document from vb.net(windows) application. I open a document directly let us say TestReport.doc, I didn't closed and minimised the same. Now I run the .NET application and in the save dialog box I gave the same file name and path, then the application is hang up. Can any one guide me how to handle the same. Thanks, Sreepathi
-
Hi, I have an application which opens and saves word document from vb.net(windows) application. I open a document directly let us say TestReport.doc, I didn't closed and minimised the same. Now I run the .NET application and in the save dialog box I gave the same file name and path, then the application is hang up. Can any one guide me how to handle the same. Thanks, Sreepathi
Im not entirely sure what your problem is. Are you saying that the program will not close or minimise? What did you give the file name and path to - was it TestReport.doc? "Can anyone guide me how to handle the same." this sentence makes no sense - handle the same what??? Regards, Pete
-
Im not entirely sure what your problem is. Are you saying that the program will not close or minimise? What did you give the file name and path to - was it TestReport.doc? "Can anyone guide me how to handle the same." this sentence makes no sense - handle the same what??? Regards, Pete
-
Hi, I have an application which opens and saves word document from vb.net(windows) application. I open a document directly let us say TestReport.doc, I didn't closed and minimised the same. Now I run the .NET application and in the save dialog box I gave the same file name and path, then the application is hang up. Can any one guide me how to handle the same. Thanks, Sreepathi
the reason it hangs is that your instance of word is trying to show a dialog. this is because its trying to tell you that the docoument is already open. a better way round this is to chage your code to open the document in word as READONLY.
"When the only tool you have is a hammer, a sore thumb you will have."