Hi !
Try, with the src property, like :
import win32com.client
test = win32com.client.Dispatch(AcroPDF.PDF.1)
test.src=C:\\107.pdf
test.LoadFile(C:\\107.pdf)
print test.GetVersions()
etc.
@-salutations
Michel Claveau
Any ideas? I will try upgrading to Python 2.3.5 (from ActiveState)
tomorrow and see if that makes any difference.
Just did the upgrade and I'm seeing the same hang at the end of the program.
Jeff
signature.asc
Description: OpenPGP digital signature
At 08:51 PM 10/5/2005, Jeff Fisher TEST wrote:
Hi all,
I'm rather frustrated by an issue I'm having.
This sample bit of code runs fine; however, at the end just hangs and the
program never ends. I'm using Python 2.3.2 (from ActiveState - build 232)
BEGIN CODE
import win32com.client
def
Well I ran it w/o problem. Under what are you running it? (IDLE, Python
command prompt, ...??)
What is the evidence that it hangs?
I'm running it from a command prompt typing: python iisdigger.py
Evidence it hangs? It starts, seems to run fully, and then python never
ends. I let it sit for 30
At 11:15 AM 10/6/2005, Jeff Fisher wrote:
Well I ran it w/o problem. Under what are you running it? (IDLE, Python
command prompt, ...??)
What is the evidence that it hangs?
I'm running it from a command prompt typing: python iisdigger.py
Evidence it hangs? It starts, seems to run fully,
At 11:15 AM 10/6/2005, Jeff Fisher wrote:
Well I ran it w/o problem. Under what are you running it? (IDLE, Python
command prompt, ...??)
What is the evidence that it hangs?
I'm running it from a command prompt typing: python iisdigger.py
Evidence it hangs? It starts, seems to run fully,
At Thursday 6/10/2005 00:51, you wrote:
import win32com.client
def recurse(objstr):
for obj in win32com.client.GetObject(objstr):
print Digging into, obj.ADsPath, class= + obj.Class
recurse(obj.ADsPath)
print At the start
print
At 04:15 PM 10/6/2005, Gabriel Genellina wrote:
At Thursday 6/10/2005 00:51, you wrote:
import win32com.client
def recurse(objstr):
for obj in win32com.client.GetObject(objstr):
print Digging into, obj.ADsPath, class= + obj.Class