http://www.finertechnologi
http://www.finertechnologi
both have free trial periods.
cheers,
matty
Main Topics
Browse All Topicsis there any 3rd party softwares or components that i could by using asp to call the software to convert .doc file to .html or .txt file??
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
http://www.finertechnologi
http://www.finertechnologi
both have free trial periods.
cheers,
matty
Sorry for long time didn't check EE since i was quite busy for my tests and some other projects.
I've a look on all the links that you suggest to me, but seems it's not suitable for me because it's not a free one.
What i want is a free component that can convert any document file like .doc, .txt or etc to .html file when user have successfully uploaded their files.
Hongjun: the link that you suggest to me seems that require me to know VB, so far i don't know VB at all :(
Johannes1979,
In the first you need have the Word installed in the server.
And using this script to convert to html:
<%
Set wrd = CreateObject("Word.Applica
wrd.Documents.Open Server.MapPath("aa.doc")
wrd.Visible = False
wrd.Application.ActiveDocu
wrd.Application.quit
Set wrd = Nothing
%>
Regards,
Wee Siong
If you have Word, save as HTML from there. It's crappy code, but it's code. ;-) Or save as text only.
I doubt you're going to find anything free to convert Word files to HTML or text, because that's already built into Word -- so there's no need for a converter. And if you don't have Word, and don't have anything that will open Word files, you're not going to find anything that will convert them for free.
Without trying the components myself it's hard to say what would be the most practicle way to implement there use. I imagine the .exe will have to be called with a tool like ASPExec, and the parameters will have to be passed into it...
I have never done this, nor do I intend to, sorry. I have always just ran the .doc from the browser by calling it.
Johannes1979,
This is a script you upload file to server
<%
'The script upload the file
thefilename = scriptupload.filename 'Get the filename
'Start convert in here, and it is no manually
Set wrd = CreateObject("Word.Applica
wrd.Documents.Open thefilename
wrd.Visible = False
wrd.Application.ActiveDocu
wrd.Application.quit
Set wrd = Nothing
%>
Regards,
Wee Siong
mgfranz: it's ok, i'll try myself after i've done with siong's solution.
weesiong: i've tried like this:
<%
Set wrd = CreateObject("Word.Applica
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False
wrd.Application.ActiveDocu
wrd.Application.quit
Set wrd = Nothing
%>
But the output is different from the source:
test.doc contents:
test
test.html (i just show 2 lines out of 23 lines)contents:
?Ia!?a>?y !#?yyy
??bjbjUU " 7|7|yyyyyyl???????Uoo
uppsss you're right hongjun, it's successfully convert in win98 using PWS.
But why i can't do so in IIS 5 in windows2000??
The error is:
Error Type:
Microsoft Word (0x800A13E9)
There is insufficient memory. Save the document now.
/test.asp, line 3
and i got some shortcuts files created in c:\
localdisk(D)
MSFilter
Startup
Test
and in another hidden file in D:\
~$test
I can delete all those files above, except the d:\test.doc that said has been sharing violation.
I have experience attacked by W32/Nimda.A@mm virus before, but i already clean it using fixnimd offered by symantec.
any solution???
Same thing happen although i have reformat the system.
this is the file i test:
<%
Set wrd = CreateObject("Word.Applica
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False
wrd.Application.ActiveDocu
wrd.Application.quit
Set wrd = Nothing
%>
The error is:
Error Type:
Microsoft Word (0x800A13E9)
There is insufficient memory. Save the document now.
/test.asp, line 3
and i got some shortcuts files created in c:\
localdisk(D)
Test
and in another hidden file in D:\
~$test
I am using Win2000 server with IIS5.0 and MS. Office2000.
Anyone using win2000 please try :)
Mgfranz: This is the script i use
<%
Set wrd = CreateObject("Word.Applica
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False
wrd.Application.ActiveDocu
wrd.Application.quit
Set wrd = Nothing
%>
Don't know what i do :) now the error already become:
Background:
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
Please help me by what permission it means and in which directory??? Steps to configure it.
I save the test.doc file in d:\
Winword.exe file in d:\Program files\Msoffice\office10
Background:
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
now above problem has been fixed after i reinstall IIS.
I already have a look on article about Microsoft Word (0x800A13E9).
So i set to run winword as interactive user using DCOMCNFG command.
now the error becomes:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/test.asp, line 2
mgfranz: i don't know what i am doing :)
this is the only script that i run in c:\inetpub\wwwroot folder.
<%
Set wrd = CreateObject("Word.Applica
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False
wrd.Application.ActiveDocu
wrd.Application.quit
Set wrd = Nothing
%>
Before i set anything the error is:
Error Type:
Microsoft Word (0x800A175D)
Could not open macro storage.
/test.asp, line 3
After i set to run word as interactive user using DCOMCNFG utility, the error is:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/test.asp, line 2
I am using Office XP, windows2000 server and IIS5.0.
If i am using windows98, there is no problem.
Please check this link to know why i set it as interactive user.
http://support.microsoft.c
i think i know the exact problem already.
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/test.asp, line 2
This error comes out because word is permitted to interactive user, whereas i use [iusr_compname] to create an object for word application.
So now the real problem is actually:
Error Type:
Microsoft Word (0x800A175D)
Could not open macro storage.
/test.asp, line 3
Anyone please help me to find the solution.
Besides that please read this:
http://support.microsoft.c
regards,
johannes
i think i know the exact problem already.
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/test.asp, line 2
This error comes out because word is permitted to interactive user, whereas i use [iusr_compname] to create an object for word application.
So now the real problem is actually:
Error Type:
Microsoft Word (0x800A175D)
Could not open macro storage.
/test.asp, line 3
Anyone please help me to find the solution.
Besides that please read this:
http://support.microsoft.c
regards,
johannes
i think i know the exact problem already.
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/test.asp, line 2
This error comes out because word is permitted to interactive user, whereas i use [iusr_compname] to create an object for word application.
So now the real problem is actually:
Error Type:
Microsoft Word (0x800A175D)
Could not open macro storage.
/test.asp, line 3
Anyone please help me to find the solution.
Besides that please read this:
http://support.microsoft.c
regards,
johannes
Business Accounts
Answer for Membership
by: Johannes1979Posted on 2001-07-19 at 12:22:05ID: 6299717
I prefer the free one :P