One other thing, TransmitFile isn't checking the return value.
It should probably do something like ConnectEx does,
ie call WSAGetLastError and raise an exception for
anything other than ERROR_IO_PENDING.
Roger
___
python-win32 mailing list
pyth
I'm debugging a weird/sporadic COM/ActiveX error with an application on a
client's site that's recently been 'migrated' to Citrix Metaframe on Windows
2000 Server. I'm starting to think we may be hitting the system-wide limit for
how many HANDLEs can be created across all processes every so oft
Tim wrote:
> Plus, the "Program Files" path name is localized on
> the international versions of Windows.
Obviously Tim is correct that you can't assume FF is in Program Files, but
if you really did want the Program Files dir for other reasons, the way to
get it is:
>>> from win32com.shell impor
Mike Driscoll wrote:
I've had this niggling issue from time to time. I want to create a
shortcut on the user's desktop to a website that specifically loads
Firefox even if Firefox is not the default browser.
...
shortcut = shell.CreateShortCut(userDesktop + '\\MyShortcut.lnk')
shortcut.Targetpat
Mike Driscoll wrote:
Hi,
I've had this niggling issue from time to time. I want to create a
shortcut on the user's desktop to a website that specifically loads
Firefox even if Firefox is not the default browser.
I usually use COM as it allows very specific settings of the shortcut,
such as the
Hi,
I've had this niggling issue from time to time. I want to create a
shortcut on the user's desktop to a website that specifically loads
Firefox even if Firefox is not the default browser.
I usually use COM as it allows very specific settings of the shortcut,
such as the Working Directory and
Tim Roberts wrote:
What *I* said was that it could NOT be done in pure Python, but I was
expecting Mark Hammond or Tim Golden to contradict me in such a
pessimistic statement. ;)
I was trying to hold back from a tirade of pointing
out how foolish an idea this was. Why is it that people
(a) wa
[EMAIL PROTECTED] wrote:
Thanks for your answer.
Yes, this is exactly what I want to acomplish.
Application i'm working on is going to be called from that menu. Plan is to attach it automatically to some apps through running service or some process.
This seems like a silly thing to do. Wha
siddhartha veedaluru wrote:
Hi,
i'm tring to execute a exe that is placed in the mapped network drive
on remote machine
it seems it is not getting recognised.
How can i run the exe on the mapped network drive
Thanks,
Siddhartha
I would use the subprocess module.
import subprocess
#
siddhartha veedaluru wrote:
Sorry about the confusing question.
Your rewording is a lot clearer. Thanks.
Here is what i want to achieve
i have certain updates that i need to install on different machines
These updates are placed in a location and is mapped to all the machines
While I think
siddhartha veedaluru wrote:
Hi,
Sorry about the confusing question.
Thank you. This feels a LOT better. Now we can help.
Here is what i want to achieve
i have certain updates that i need to install on different machines
These updates are placed in a location and is mapped to all the mach
Hello Tim,
Thanks for your answer.
Yes, this is exactly what I want to acomplish.
Application i'm working on is going to be called from that menu. Plan is to
attach it automatically to some apps through running service or some process.
I red a lot about hooking WinApi but I don't realy know C t
Hi,
Sorry about the confusing question.
Here is what i want to achieve
i have certain updates that i need to install on different machines
These updates are placed in a location and is mapped to all the machines
There will be an exe file say "InstallUpdate.exe" for every update.
i need to run t
siddhartha veedaluru wrote:
Hi,
i'm tring to execute a exe that is placed in the mapped network drive on
remote machine
it seems it is not getting recognised.
How can i run the exe on the mapped network drive
Please post some code -- and any traceback -- so we can see what
you're doing.
Th
siddhartha veedaluru wrote:
Hi,
i'm tring to execute a exe that is placed in the mapped network drive
on remote machine
it seems it is not getting recognised.
How can i run the exe on the mapped network drive
Aw come on I'd think by now you'd know how to ask a question.
--
Bob Gail
Hi,
i'm tring to execute a exe that is placed in the mapped network drive on
remote machine
it seems it is not getting recognised.
How can i run the exe on the mapped network drive
Thanks,
Siddhartha
___
python-win32 mailing list
python-win32@python.or
16 matches
Mail list logo