Hello, the funtion I want to build is to convert a pdf file into html via ASP. Since I have found a open source program (pdftohtml), I want to make use of it.
My problem is how I can call that exe program via the ASP. I have searched some information, one method i found is to use wscript.shell. And I tried with the following code:
<Script language=vbscript runat="server">
Set oShell = CreateObject ("WSCript.shell")
oShell.run "cmd /K CD C:\temp & pdftohtml.exe a.pdf & exit"
Set oShell = Nothing
it, however, gives a error message of
"The instruction at "0x00446b40" referenced memory at "0x00000010". The memory can not be "read"."
I am testing in win2000.
The second problem is when I run it in another computer of winXp, I got a message of permission error message.
Does anybody know what these problems are? ^^? I am very appericated for your help.