Ask a Question related to ASP.NET General, Design and Development.
-
bracoute #1
Interop saveAs html automation
Hello ppl...
1)
i've finally got my automation launched correctly..
but this time i wanna know how to close my winword.exe
process which seems to remain in memory despite closing
the app... can you tell me how to 'kill' this app from
memory.
2)
can you ppl tell me how to saveas an html document
instead of just saving my word document as is... (I'm
especially looking for the code which will automate the
saving the doc to html)
Here is my code bellow.. how can i improve it?
Code:Dim oWordApp As Microsoft.Office.Interop.Word.ApplicationClass oWordApp = New Microsoft.Office.Interop.Word.ApplicationClass() Dim oWordDoc As Microsoft.Office.Interop.Word.Document Dim fileName, isVisible, missing As Object fileName = "c:\bhav\TheDoc.doc" oWordDoc = New Microsoft.Office.Interop.Word.Document() oWordDoc = oWordApp.Documents.Open(fileName) oWordDoc.Activate() oWordApp.Selection.TypeText("Another brick in the wall") oWordApp.Selection.TypeParagraph() oWordDoc.Save() oWordApp.Quit()
From bracoute
Thanks in advance
Plz if you can, reply me via my email address:
[email]bracoute@hotmail.com[/email]
bracoute Guest
-
trouble with saveAS
I am having a problem with a javascript function. I can save as a Tiff with no problem - but now I would like to have another option that allows... -
Compression when SaveAs PDF to Tiff
My adobe versions are 8.1.2. The code works fine in 'debug' mode, however when running the compiled code, the converted image has a compression of... -
saveAs from JSObject in browser
I am currently attempting to use IAC to run the saveAs from the JSObject in Adobe 5.0 to save a copy of a .pdf. My code will successfully save a... -
SaveAs txt file with VB6
Using Acrobat 5 & VB6. Want to programmatically "SaveAs" a pdf to txt file. I can do it in Acrobat but can find no "SaveAs" method exposed... -
COM excel SaveAs - Web Page?
Hi, I am trying to allow my Intranet users to upload their Microsoft Office Documents and then have them viewed as .html files. So far,...



Reply With Quote

