Question

3rd party software or components

Asked by: Johannes1979

is 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.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2001-07-19 at 12:21:27ID20153822
Topic

Active Server Pages (ASP)

Participating Experts
5
Points
300
Comments
52

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

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.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

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.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

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.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. 3rd party webbrowser component
    It's official there are no C++Builder experts in the C++ forum. Since a lot of component developers have C++Builder versions I am turning to you in desperation. C++Builder 5.01 TCppWebBrowser is a wrapper for M$ SHDOCVW.DLL and adds no functionality. I have already posted re...
  2. Third-party components
    What files are needed to successfully install third-party components? I download alot of free components from the delphi superpage and delphi32 but most will not install. Mostr of them only contain a dcu file and sometimes a dcr file. Nearly every time I try to instll one i g...
  3. Choosing 3rd party .NET components
    Hey guys, For some reasons my company wants to buy 3rd party .NET component. The needs was actually come for upgrading our existing client-server grid component (currently we're using Spread control for Farpoint Technologies Inc). I'm prefered using suite components and this...
  4. Third Party components
    Hi, I am using VS.Net 2003. I am very used to using Borland C++ Builder and want to know if there are third party components that I can add to VS similar to those found for BCB and Delphi. If so, where are some good places to look for them? Thank you, Joe
  5. Mail component
    Does anyone know of an email component, either COM or API (but NOT Outlook) which can open and process .msg files? Thanks bukko

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

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.

Join the Community

Answers

 

by: Johannes1979Posted on 2001-07-19 at 12:22:05ID: 6299717

I prefer the free one :P

 

by: mattykPosted on 2001-07-19 at 12:26:07ID: 6299734

 

by: hongjunPosted on 2001-07-19 at 17:34:21ID: 6300585

 

by: hongjunPosted on 2001-07-19 at 17:35:07ID: 6300586

Note you need to have Word installed to try the above.

hongjun

 

by: Johannes1979Posted on 2001-09-18 at 09:09:47ID: 6491073

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 :(

 

by: weesiongPosted on 2001-09-18 at 18:56:57ID: 6492209

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.Application")
wrd.Documents.Open Server.MapPath("aa.doc")
wrd.Visible = False

wrd.Application.ActiveDocument.SaveAs Server.MapPath("aa.html"), 8
wrd.Application.quit
Set wrd = Nothing

%>


Regards,
Wee Siong

 

by: Johannes1979Posted on 2001-09-19 at 12:32:57ID: 6494675

the first one is only 10 days free trial period. After that i must buy :(
Is there any free one?? :P

 

by: webwomanPosted on 2001-09-19 at 13:26:46ID: 6494797

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.

 

by: Johannes1979Posted on 2001-09-20 at 01:09:41ID: 6495907

webwoman: good explanation. To remind that i already have  Ms. Office, what i mean free here is not the word. But just the converter.

 

by: weesiongPosted on 2001-09-20 at 03:26:00ID: 6496182

Johannes1979,

If you have installed MS.Office then you no need any 3th party coverter to do this job.

Regards,
Wee Siong

 

by: mgfranzPosted on 2001-09-20 at 05:58:16ID: 6496500

Any of the components I listed do this on the fly... and there all FREE!

 

by: Johannes1979Posted on 2001-09-20 at 08:58:33ID: 6497116

wee siong: then How is the code (website) if i already have MS. Office??

 

by: Johannes1979Posted on 2001-09-20 at 09:00:34ID: 6497124

mgfranz: ok, i'll try.
Hopefully my system can convert both .doc and .rtf

 

by: mgfranzPosted on 2001-09-20 at 09:03:16ID: 6497141

A .doc and a .rtf file are essentially the same thing...

 

by: Johannes1979Posted on 2001-09-20 at 09:39:52ID: 6497263

ic :)
ok

 

by: Johannes1979Posted on 2001-09-20 at 09:40:31ID: 6497267

ic :)
give me 2 days to learn the component :P

 

by: mgfranzPosted on 2001-09-20 at 09:45:54ID: 6497287

Sure, take your time...

 

by: Johannes1979Posted on 2001-09-20 at 11:25:51ID: 6497598

mgfranz: i've tried all of them, but how could i use it in my asp program?
What i mean here is, when user uploaded the file in my webserver, it will convert the .doc file to .html

 

by: mgfranzPosted on 2001-09-20 at 12:14:26ID: 6497775

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.

 

by: weesiongPosted on 2001-09-20 at 19:06:09ID: 6498638

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.Application")
wrd.Documents.Open thefilename
wrd.Visible = False

wrd.Application.ActiveDocument.SaveAs Server.MapPath("aa.html"), 8
wrd.Application.quit
Set wrd = Nothing

%>

Regards,
Wee Siong

 

by: Johannes1979Posted on 2001-09-22 at 05:18:26ID: 6502089

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.Application")
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False

wrd.Application.ActiveDocument.SaveAs "d:\test.html"
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???????Uoooo 

 

by: hongjunPosted on 2001-09-22 at 05:28:48ID: 6502106

You need the second parameter with value 8. 8 means HTML format.
wrd.Application.ActiveDocument.SaveAs "d:\test.html", 8

hongjun

 

by: Johannes1979Posted on 2001-09-22 at 11:06:31ID: 6502462

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???

 

by: weesiongPosted on 2001-09-22 at 23:16:41ID: 6503075

Johannes1979,

Try to reinstall the word again :)

Regards,
Wee Siong

 

by: Johannes1979Posted on 2001-09-23 at 00:56:32ID: 6503137

yes, i've reinstall the word and IIS again.
If still can't maybe i will format the whole system :)

 

by: Johannes1979Posted on 2001-09-23 at 17:12:00ID: 6504291

Same thing happen although i have reformat the system.

this is the file i test:
<%
Set wrd = CreateObject("Word.Application")
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False

wrd.Application.ActiveDocument.SaveAs "d:\test.html"
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 :)

 

by: weesiongPosted on 2001-09-23 at 19:27:42ID: 6504411

Johannes1979,

It can work in my NT 4.0, in IIS5.0 i havent try

Regards,
Wee Siong

 

by: mgfranzPosted on 2001-09-24 at 06:27:23ID: 6505559

If you have created objects or inserted objects from another program such as Excel or PowerPoint into the Word file you are trying to save, the save routine will fail.

Objects cannot be saved across applications.

 

by: Johannes1979Posted on 2001-09-24 at 14:00:13ID: 6506921

Mgfranz: This is the script i use

<%
Set wrd = CreateObject("Word.Application")
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False

wrd.Application.ActiveDocument.SaveAs "d:\test.html"
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

 

by: Johannes1979Posted on 2001-09-24 at 17:26:49ID: 6507552

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

 

by: weesiongPosted on 2001-09-24 at 19:14:03ID: 6507719

Johannes1979,

Try format the Win2k Server and install the Office XP :)

Regards,
Wee Siong

 

by: mgfranzPosted on 2001-09-24 at 20:04:56ID: 6507788

Don't format!  Just reload Word.

 

by: Johannes1979Posted on 2001-09-25 at 01:46:47ID: 6508343

i already try office XP and office2000.

now the error is:

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/test.asp, line

So what should i do?

 

by: weesiongPosted on 2001-09-25 at 01:49:57ID: 6508353

Johanness1979,

Give the permission for use to using Create Object, you can goto right click the folder and set the permission.

Regards,
Wee Siong

 

by: Johannes1979Posted on 2001-09-25 at 01:59:23ID: 6508376

siong: you mean right click to "d:\" or go to "d:\Program files\Msoffice\office10" and then go to "properties" and "security" tab??? Then put add the [iusr_compname] user??

 

by: weesiongPosted on 2001-09-25 at 02:00:39ID: 6508382

JOhannes1979,

No right click the asp script :)

Regards,
Wee Siong

 

by: Johannes1979Posted on 2001-09-25 at 02:06:05ID: 6508402

eitss....how come?? i already put the script in c:\inetput\wwwroot folder

 

by: Johannes1979Posted on 2001-09-25 at 02:12:17ID: 6508416

ok, i just check the c:\inetput\wwwroot folder, and it has no permission for [iusr_compname] user. I just add it, but the error still the same

 

by: Johannes1979Posted on 2001-09-25 at 02:15:10ID: 6508426

so weird thing occur here, i think i should reinstall the IIS and word again
If still can't then i use win98 :P

thanks

regards,
johannes

 

by: weesiongPosted on 2001-09-25 at 02:42:00ID: 6508491

OKies :)

 

by: mgfranzPosted on 2001-09-25 at 08:05:16ID: 6509313

Are you trying to create a MTC component?  If so, turn OFF Enable Authorization Checking for the MTS Package to fix.

 

by: Johannes1979Posted on 2001-09-25 at 10:33:32ID: 6509949

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.Application")
wrd.Documents.Open "d:\test.doc"
wrd.Visible = False

wrd.Application.ActiveDocument.SaveAs "d:\test.html"
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.

 

by: Johannes1979Posted on 2001-09-25 at 10:40:38ID: 6509985

Please check this link  to know why i set it as interactive user.

http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q224338

 

by: Johannes1979Posted on 2001-09-25 at 11:05:57ID: 6510085

mgfranz: how to turn OFF Enable Authorization Checking for the MTS Package ?

 

by: mgfranzPosted on 2001-09-25 at 11:12:45ID: 6510117

If you are running IIS5 you don't have to worry about it...

 

by: Johannes1979Posted on 2001-09-25 at 11:46:47ID: 6510214

then what is the solution mgfranz?

 

by: mgfranzPosted on 2001-09-25 at 11:52:35ID: 6510232

I don't know...  I don't have XP.  The use of interactive user worries me though...

 

by: Johannes1979Posted on 2001-09-25 at 12:06:27ID: 6510283

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.com/directory/article.asp?ID=KB;EN-US;Q224338

regards,
johannes


 

by: Johannes1979Posted on 2001-09-25 at 12:20:35ID: 6510315

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.com/directory/article.asp?ID=KB;EN-US;Q224338

regards,
johannes


 

by: Johannes1979Posted on 2001-09-25 at 12:22:02ID: 6510321

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.com/directory/article.asp?ID=KB;EN-US;Q224338

regards,
johannes


 

by: Johannes1979Posted on 2001-09-25 at 12:26:45ID: 6510339

hahahahah yesss yessss yesssss i make it alreadyyyyyyy
i set the god damn permission to IUSR and also didn't allow the stupid IIS to control the password.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...