Thanks for the patch, applied in
http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/rev/fcfbe0ff52ca
Roger
From: Chris Clark
Sent: Wednesday, December 03, 2014 7:08 PM
To: rup...@spideroak.com
Cc: python-win32@python.org
Subject: win32api - small patch for win32verstamp.py
I found a
This appears to be due to way rpcrt4.dll is loaded by ctypes. If a
side-by-side assembly has already loaded a version that’s not
compatible with the activation context of Python itself, ctypes will attempt to
use it anyway.
Roger
"Blair Hall" wrote in message
news:CAJeTVArsN8Vp_e6cnF3yU
It appears that pywintypes34.dll won't be loaded automatically when it's copied
beside
python.exe, but will load when copied to system32. May be due to python using
the flag
LOAD_WITH_ALTERED_SEARCH_PATH when loading pyd's, but it will take
some more study of the MSDN docs for LoadLibraryEx.
I
Should be able to open the file in binary mode (as RunScript above it does)
and append the \n as bytes.
Roger
"bob gailer" wrote in message
news:53373d8f.8050...@gmail.com...
> My program loads into an edit window and runs fine.
>
> Top line : # -*- coding: utf-8 -*-
>
> However when I inv
You may be able to call win32print.SetPrinter to change the paper
orientation and size before calling ShellExecute.
Roger
"Andreas Holtz" wrote in message
news:5314f09b.20...@gmx.net...
> Hi guys,
>
> I need want to print PDF files without the usage of tools like Adobe, Foxit,
> etc.
> THe
Where does the hardcoded 9 come from in this line ?
win32api.PostMessage(hwnd,message,1,9)
If I'm interpreting the docs correctly, that parm should be a handle
to a top-level window you create yourself that receives messages
from the app.
Also, you'll need to be running a message
Can you try building from a Mercurial checkout ? Looks like some
files aren't being included in the source dist download.
Appears that our Manifest.in needs to be updated, as there are also
a few other things missing.
Roger
"Vye" wrote in message
news:cabyyas+du_icyjfzet0dfk0t2hzwayhc_ndwk
You can call win32security.SetNamedSecurityInfo with
PROTECTED_DACL_SECURITY_INFORMATION
to prevent inheritance.
Roger
"Joseph L. Casale" wrote in message
news:cc848ab27fe14b629765c07002547...@exch.activenetwerx.com...
> How does one accomplish the effect of the SetAccessRuleProtection cal
You should be able to just adjust privs once, instead of doing it in each call
for every file.
Roger
"Joseph L. Casale" wrote in message
news:assp.006455fdda.50f65708cf40439eba7f2abd9c2d8...@exch.activenetwerx.com...
>I have a situation where I need to remove large directories and in doing
See function _ReorderACL in PyACL.cpp:
http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/file/90d1d37b2444/win32/src/PyACL.cpp
Roger
"Joseph L. Casale" wrote in message
news:assp.0077d9e4c1.e9def4441d094aa091d586758fbd3...@exch.activenetwerx.com...
>I can't seem to find any info on t
I'm guessing you have a 32/64 bit problem, as most XP installs are 32-bit.
I'd take a closer look at hServer, since handles are pointer-sized (4 bytes on
32 bit and 8 bytes on x64).
Roger
"Wedel, Jan" wrote in message
news:47ee7f193edc7e468e74bb0acfb17929011692c...@ex10mbox1b.hosting.inetse
The pickle module is looking at the name of the class, and verifying that
there's a module.class that matches. However, our subclass of
datetime.datetime is registered in pywintypes' dict as TimeType
instead. As a workaround, try
pywintypes.datetime = pywintypes.TimeType
Roger
"Vernon D.
--
> Vernon
>
>
> On Mon, Apr 15, 2013 at 10:04 AM, Roger Upole wrote:
>
>> I think the uuid module was introduced in python 2.5, might want to bear
>> that in mind.
>>
>> Roger
>>
>> "Vernon D. Cole" wrote in message
>> new
I think the uuid module was introduced in python 2.5, might want to bear that
in mind.
Roger
"Vernon D. Cole" wrote in message
news:CAH-ZgAeC9D+=1uybyjrztdob6bedjs8ayehrmqp-iyfwonm...@mail.gmail.com...
>I am doing a major update to adodbapi, and have an ideal opportunity to add
> a new fea
Python 2.4 is VS.Net 2003 (aka VC7).
If we can drop support for Windows 95/98/ME while we're
at it, it would eliminate some more maintenance headaches.
At this point in time, even dropping Windows NT isn't unreasonable.
Roger
"Mark Hammond" wrote in message
news:5151967f.3020...@gmail.com.
You'll need to use 32-bit python to be able to load a 32-bit COM object
directly.
Roger
"Costis Hatzopoulos" wrote in message
news:CAMFgko=J+TwSr1QfQqZE4YhRVt5-=r-qtn=-ijf_ddhpcxz...@mail.gmail.com...
> Hello,
>
> I have updated to the latest version of python-win32 on Windows 7 64bit,
>
I'm wholeheartedly in favor of dropping it. Changes in the Python's C api
since 2.3 are a major pain when building extension modules.
Also, the compiler it's built with (VC6) has many incompatibilities with the
newer versions of Visual Studio.
Roger
Looks like it's due to way the type is name-checked (oleargs.cpp, line 263):
else if (strcmp(obj->ob_type->tp_name, "Decimal")==0)
That doesn't work in 3.3 anymore. However, the function it calls to do the
actual conversion has already been modified to use an isinstance check
instead so it shoul
What version of Pywin32 are you running ? There was a recent change to fix a
problem with
win32gui.EnumWindows in build 218.
Roger
"Radu Savutiu" wrote in message
news:cabjn2yikltakugglr7fmh2gbc7vu+ohf_gac8kp3iywnw3y...@mail.gmail.com...
>I appreciate answers received, however none worke
You should be able to get the context menu by creating a shell item
for the library file (using eg shell.SHCreateShellItem), and then
call BindToHandler using BHID_SFUIObject and IID_IContextMenu.
That should result in an IContextMenu object, from which you can
fill in a menu handle using QueryCont
raf wrote:
> Roger Upole wrote:
>
>> raf wrote:
>>
>> > so my questions are:
>> > did the sid for the account name ever uniquely identify the user?
>>
>> Yes. In fact it's the only way, since you can change the login name of an
>> a
raf wrote:
> so my questions are:
> did the sid for the account name ever uniquely identify the user?
Yes. In fact it's the only way, since you can change the login name of an
account.
> how do i obtain the "1009" that needs to be appended to the sid
> to complete it?
win32security.LookupAccou
Scott Nelson wrote:
> Greetings...
>
> Would anyone happen to have some sample code of how to use
> SHOpenFolderAndSelectItems? I've been tinkering with it and haven't got
> anything to work yet. This is the closest I've got:
>
from win32com.shell import shell
shell.SHOpenFolderAndSele
Dudley Carr wrote:
> The COM object I'm trying to access via Python has a CLSID and a ProgID
> registered, but no typelib as far as I can tell. Is it possible to use
> makepy without having a typelib? Having looked at makepy.py that doesn't
> seem to be the case.
>
> Thanks,
> Dudley
Makepy does r
Radek Holý wrote:
> Hello,
>
> are somewhere in pywin32 library implemented these functions:
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa373163%28v=vs.85%29.aspx
> ?
Most of these are not in Pywin32, except for GetPwrCapabilities.
> If not, can you please advise how to use for ex
There's a FileStream class in \win32com\server\util.py that
creates an IStream connected to a file.
If you still need SHCreateStreamOnFileEx, put in a feature
request on Sourceforge, and I'll try to get that function added
to win32com.shell.
Roger
__
Amaury Forgeot d'Arc wrote:
> Hello,
>
> You probably know that Python3.3 has a completely new implementation
> of the import system:
> http://docs.python.org/dev/whatsnew/3.3.html#using-importlib-as-the-implementation-of-import
> (yes, import is now written in Python!)
>
> But there is a missing f
The first number is a combination of VARENUM values (pythoncom.VT_*) indicating
the type,
and the second is from PARAMFLAGS (pythoncom.PARAMFLAG_*).
(24584, 3) is (VT_ARRAY|VT_BYREF|VT_BSTR, PARAMFLAG_FIN|PARAMFLAG_FOUT)
(24588, 3) is (VT_ARRAY|VT_BYREF|VT_VARIANT, PARAMFLAG_FIN|PARAMFLAG_FOUT)
That one isn't in winioctlcon.py yet, but you should be able to
define it relatively easily. According to the headers:
#define IOCTL_SFFDISK_QUERY_DEVICE_PROTOCOL \
CTL_CODE( FILE_DEVICE_DISK, 0x7a0, METHOD_BUFFERED, FILE_ANY_ACCESS)
You'll probably need to create the output buffer
"prashant padaganur" wrote in message
news:CAFypNu8RuhnRAQXWu5GtFZkuje1Dj-=cnrun7an+uuhjvdo...@mail.gmail.com...
>I want to write an application that puts the system in to different sleep
> states. Like S0,S1...S4.
>
> Before changing from one state to another I want to know the
> current/previo
"prashant padaganur" wrote in message
news:CAFypNu8RuhnRAQXWu5GtFZkuje1Dj-=cnrun7an+uuhjvdo...@mail.gmail.com...
>I want to write an application that puts the system in to different sleep
> states. Like S0,S1...S4.
>
> Before changing from one state to another I want to know the
> current/previou
Jim Carroll wrote:
>> Look for duplicate versions of pywintypes27.dll or pythoncom27.dll,
>> most likely in the python installation and your System32 directory.
>
> Could pywintypes27.dll be colliding with pywintypes26.dll?
> I just tried moving everything to Python 2.7,
> and disabling python 2.6,
Jim Carroll wrote:
> I'm running django1.2.4 against mssql, using sqlserver_ado,and pywin32 v214
> and it runs for a few hours, then starts failing with:
>
>
> File "C:\\Python27\\lib\\site-packages\\django_mssql-1.0.0.dev_unknown-
> py2.7.egg\\sqlserver_ado\\dbapi.py", line 41, inimport python
If you're running the script from python.exe, you'll need to run
a message loop (pythoncom.PumpMessages()) to receive events.
You don't need that in Pythonwin since it runs its own message loop.
Also, are you sure the event class should be attached to the button
itself ? I'm not familiar with thi
Looks like the parameters to SetIntegerElement are reversed:
>>> objWBM.Methods_('SetIntegerElement').InParameters.Properties_[0].Name
'Integer'
>>> objWBM.Methods_('SetIntegerElement').InParameters.Properties_[1].Name
'Type'
If I switch the call to
success, = call(objWBM, "SetIntegerElement", 5,
with that API, but the crash is because
>> EvtOpenLog is returning a handle with a value of 1 and ReadEventLog is
>> crashing with that handle. A quick google doesn't find anyone trying to
>> use ReadEventLog with a handle returned by EvtOpenLog but instead uses
>> EvtGetL
"Tim Golden" wrote in message
news:4f944314.4030...@timgolden.me.uk...
> Could someone glance at this to confirm that it does indeed
> seem to be a bug before I start hunting up the chain of
> function calls to spot the issue, please?
>
> Steps are simple:
>
> 1) Use Python 3.2 and pywin32 217
>
"bob gailer" wrote in message
news:4f7f47c9.7030...@gmail.com...
> In the watch window ctrl-x,c,v do not work (for cut copy and paste). I
> must use the context menu.
The API doesn't supply any way to change how the Edit control is created.
Looks like we're just going to have to live with this
"bob gailer" wrote in message
news:4f7f0cf8.7010...@gmail.com...
>I open a .py file, work away and all is OK.
> I drag the vertical divider to show the object treeview.
> I type some text then a period and get:
>
> >>> Firing event 'KeyDot' failed.
> Traceback (most recent call last):
> File
>
Looks like this is due to some of the changes to support Python 3.
As I recall, it was difficult to get the inheritance from
pywin.mfc.object.Object
to work properly for both Python 2 and 3. The autocomplete code is doing
some introspection, so the attribute lookup gets even more complicated.
I'l
Mark Lawrence wrote:
> Hi all,
>
> I assume that this is a long time known problem that is regarded as a joke
> but when I do a find and replace the number of items
> reported as replaced is always one less than it should be. Fix and/or
> workaround pretty please.
>
> --
> Cheers.
>
> Mark Law
Compiling with VC 2008 Express is going to be a problem. The free
compiler doesn't seem to support using the atl/mfc headers and libraries.
Roger
___
python-win32 mailing list
python-win32@python.org
If you can build the dde module yourself, reenabling multiple servers
for 32-bit is just a matter of uncommenting
// #define _CALLHACK_
in stddde.cpp.
Roger
___
python-win32 mailing list
python-win32
In the call to OpenProcessToken, you'll need to specify TOKEN_QUERY also.
Roger
"Gremlin" wrote in message
news:7C1FF6262D1C41509DEDE93ABBA01CFC@BELLO...
> Hello.
>
>
>
> I want to adapt the following technique into python:
> http://blogs.msdn.com/b/aaron_margosis/archive/2009/06/06/faq-ho
"Misy" wrote in message
news:loom.20110411t043551-...@post.gmane.org...
> Roger Upole hotmail.com> writes:
>>
>> You may be able to create an out of process proxy for your 32-bit app.
>> >From Administrative Tools->Component Services, navigate to
>
Misy wrote:
> Mark Hammond gmail.com> writes:
>
>>
>> 64bit processes can't use 32bit COM objects (at least not in-proc - not
>> sure about external) and I guess your COM object is 32 bit.
>>
>> The easiest answer is probably just to install the 32bit Python and
>> 32bit pywin32 extensions - you
"Greg Ewing" wrote in message
news:4d7db564.8090...@canterbury.ac.nz...
> According to the pywin32 docs, PyCWnd.GetScrollInfo and
> PyCWnd.SetScrollInfo have the following signatures:
>
>int = GetScrollInfo(nBar, mask)
>int = SetScrollInfo(nBar, redraw)
>
> Surely these can't be right? S
"Roger Upole" wrote in message
news:ilbjrn$f6k$1...@dough.gmane.org...
>
> "Tim Golden" wrote in message
> news:4d78b66d.9080...@timgolden.me.uk...
>> On 10/03/2011 11:29, Tim Golden wrote:
>>> On 09/03/2011 16:40, Graham Bloice wrote:
>>>
"Vernon Cole" wrote in message
news:aanlktingkzzut4kpzjuqa5drt2ijiys50pqtc6wa6...@mail.gmail.com...
> Working fine here. Here's a sample for anyone who has not tried sourceforge
> hg before.
> I have PuTTY loaded on this machine, and already have my ssh keys set up on
> sourceforge -- just like
and 64 bit variants and it's missing from both.
>>
>> Roger Upole can obviously speak for himself, but in a email
>> conversation I had with him a while back, he said that they hadn't
>> been able to build it because of an issue with the version
>> of SWIG
jdm...@comcast.net wrote
> Now what? Is there a log or something that would get created if python were
> ever invoked by ASP?
Open Pythonwin and select
Tools->Trace collector debugging tool
This will show a window that displays any debug output.
Roger
_
"Roger Upole" wrote in message news:...
> J.D. Main wrote:
>> (repost of previous message apparently HTML'd by my mailer...sorry)
>>
>> Hello,
>> I have been hunting for a solution to this one for some time. I've
>> already tried all the e
"Greg Ewing" wrote in message
news:4d7401e6.2070...@canterbury.ac.nz...
> Roger Upole wrote:
>
>> The conversion in win32ui has changed since 212. At one time it
>> was negating the height that was passed in:
>>
>> if (PyInt_Check (v))
>>
J.D. Main wrote:
> (repost of previous message apparently HTML'd by my mailer...sorry)
>
> Hello,
> I have been hunting for a solution to this one for some time. I've
> already tried all the easy stuff. I have IIS 5 on a WinXP Pro machine.
> I recently posted this to the Python WEB sig - apparent
Mark Hammond wrote:
news:4d731ec1.4060...@gmail.com...
> On 6/03/2011 3:07 PM, Greg Ewing wrote:
>> I think I've narrowed down what's going on with the font
>> sizes a bit more. It has to do with the interperetation
>> of the nHeight parameter to CreateFont.
>>
>> It appears that you can specify
"Tefnet Developers" wrote in message
news:1298974742.7642.1.camel@cacko...
> Dnia 2011-02-28, pon o godzinie 19:11 -0500, Roger Upole pisze:
>> I think this is dependent on the printer driver.
>> Some use the paper size defined by the the form,
>> and others us
I think this is dependent on the printer driver.
Some use the paper size defined by the the form,
and others use the PaperSize member.
Roger
"Tefnet Developers" wrote in message
news:129553.2645.29.camel@cacko...
> Hi,
>
> I am adding some printers connection as a user with
> win32pri
Many OCX controls require a full activex container to function correctly.
Pythonwin can act as a host, or you could embed your control in IE
with an tag and access it thru IE's COM interfaces.
Roger
"Patricio Stegmann" wrote in message
news:snt128-w10372245b8a4d462238f49d9...@phx.gb
Try replacing
self.m__signpad = TopazSigPlus.SigPlus()
with
self.m__signpad = win32com.client.DispatchWithEvents(TopazSigPlus.SigPlus(),
MyEvents)
Roger
Patricio Eduardo Stegmann wrote:
> Hi Roger,
>
> could you please be a bit more specific ?
>
>
> - Original message -
>> You c
You can pass an existing IDispatch object to DispatchWithEvents
as the first arg in place of a clsid.
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
mmediately.
"wait for an async operation to complete" sounds kinda wrong to me.
--- Giampaolo
http://code.google.com/p/pyftpdlib/
http://code.google.com/p/psutil/
2011/1/28 Roger Upole :
> Giampaolo Rodolà wrote:
>> Hi all,
>> I'm trying to take advantage of Tra
Giampaolo Rodolà wrote:
> Hi all,
> I'm trying to take advantage of TransmitFile function in pyftpdlib:
> http://code.google.com/p/pyftpdlib/issues/detail?id=152
>
> I've noticed pywin32 provides a wrapper:
> http://sourceforge.net/tracker/index.php?func=detail&aid=1962146&group_id=78018&atid=55195
"FT" wrote in message
news:2B602B53D89E450ABF2B9DA00081CE1B@1B1B1L1...
>
> Hi Mark,
>
>I could not find using Google any information on how to get the Laptop
> Battery Level information so I could have my Screen Reader Or voices from
> Sapi to talk the information.
>So, I would need th
Dynamic objects have a _make_method method that you can use to
ensure that it will be called with parameters.
Roger
"Richard Lawrence" wrote in message
news:AANLkTi=5d1egw5dxru-bu_-ioka4nqvsnx-fotw_v...@mail.gmail.com...
Dear Pythonistas,
I still haven't figured out a way around this
There's an accessibility option built into Windows to do something
like this. Look under Control Panel->Mouse->Options, and you
should see an option to highlight the mouse cursor when the CTRL
key is pressed.
Roger
"Alex Hall" wrote in message
news:AANLkTi=y0mX86gcR67Ot=szzdjq1mfhvuzx-+x
A fix has been committed to the code base, but there hasn't been a release
in the meantime. If you can build from source, check out the current CVS
and make sure it solves your issue.
Roger
"Tom" wrote in message
news:loom.20110115t161528-...@post.gmane.org...
>I have the same problems and
nonino wrote:
>
> Ok, Lets start from the beginning:
> I am doing a PhD in information science. As part of my study I am studying
> the use of folders vs. tags. starting from windows vista there is an
> option
> in windows to add tags to office files photos and other file formats. In
> the
> firs
You might be able to use win32service.CreateDesktop to give
the program a desktop to work with.
Roger
Randy Syring wrote:
>I have been tasked with integrating an command line program (.exe) with a
>python web application. The program is intended to be run by a normal user
>and therefore p
Greg Ewing wrote:
> Roger Upole wrote:
>
>> You instantiate the MFC view object without a document, but in order
>> to actually create a window and do anything useful with it, it needs
>> a valid document.
>
> Are you absolutely sure about that?
>
> At the MFC
"Greg Ewing" wrote in message
news:4cbfa5e9.7090...@canterbury.ac.nz...
> On 21/10/10 14:02, Roger Upole wrote:
>
>> The problem stems from these 2 lines in ScrollableViews.py:
>>
>> rev = ui.CreateRichEditView()
>> win_dummy_doc = rev.GetDocument()
>&
"Robert" wrote in message
news:i9kmoi$cl...@dough.gmane.org...
> A)
>
> What could be the cause for this exception of PyGUI with
> pywin32-build214 - but not with build 212 :?
>
> Traceback (most recent call last):
> File "blobedit.py", line 131, in
> BlobApp().run()
> File "C:\Python2
RJ wrote:
>I need to run both a Python DDE server and Python DDE client on the
> same machine (separate programs). Is there a reason why when I
> Create() the client:
> server.Create("PyVibeSurvey")
> I get:
> dde.error: The server could not be created
> for the client program?
> When the same cl
pbx wrote:
>
> hello, there seems to be something wrong with this,
> target always seems to be prepended with some data like ?\\? before the
> expected string (e.g. C:\Users\...) starts.
The '\??\' prefix is normal. That's the designator for a raw path, and is
required when creating a reparse p
Vernon Cole wrote:
I ran into the same problem using adodbapi. I tracked it down to the COM
call which errored out, and decided that maybe it was a Microsoft problem
and ignored it, just leaving the application broken on that feature. If
pyODBC can do it, then the problem must be in the COM rout
Does job.GetTriggerCount() return 1 ?
If it does, but the trigger doesn't appear in the
Task Scheduler UI, most likely there's
something it doesn't like about the trigger's
flags.
Roger
___
python-win32 mailing list
python-win32@python.org
http://
Bill Janssen wrote:
Is there anyway to tell, from inside Python, where the python26.dll file
is? I've got to install the win32 dlls in the same directory.
I see that sys contains a symbol "dllhandle", but that's just a numeric
handle.
Bill
win32api.GetModuleFileName(sys.dllhandle)
Ro
OptiCar wrote:
Hello,
i need to know when an updated file has been opened.
is it possible to watch the "OPEN" and "ACCESS" event with an adaptation
of the Tim Golden's script ?
need to work on windows, does pywin32 can ?
inotify is only for linux
dazuko can catch on linux
what can work on windows
From looking at the source of
PyCom_VariantFromPyObject in oleargs.cpp,
the check for a boolean is done after the check for
an int. PyLong_Check is used to determine
if the object should be converted to one of the variant
integer types. Apparently in Python 3.x, this now returns
True for a boo
Greg Ewing wrote:
Randy Syring wrote:
I am still seeing the bug noted below in 2.1. Do you have plans to
tackle it?
>
win32ui.error: The object has been destroyed.
Reportedly it can be worked around by reverting to build
212 of pywin32. I haven't had a chance to investigate
what's causing
Aahz wrote:
On Fri, Oct 23, 2009, Tim Roberts wrote:
Aahz wrote:
Perhaps it would be better to think more strategically. I don't
actually
care about the list of open files. What I care about is a list of files
that I want to process and checking whether any of them are open. What
would be
You should be able to get the "Work Offline" status using
win32print.GetPrinter with level 2. The returned Attributes
will contain PRINTER_ATTRIBUTE_WORK_OFFLINE
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/ma
Window()
t,p = win32process.GetWindowThreadProcessId(name)
handle = win32api.OpenProcess(1,False,p)
sleep(1)
whee = win32process.EnumProcessModules(handle)
nama = win32process.GetModuleFileNameEx(whee, 0)
print nama
Thanks!
Roger Upole wrote:
A sequence like this should get
A sequence like this should get you there.
win32gui.GetForegroundWindow
win32process.GetWindowThreadProcessId
win32api.OpenProcess
win32process.EnumProcessModules
win32process.GetModuleFileNameEx
hth
Roger
___
python-win32 mailing list
pyth
The handle returned by InternetOpen isn't compatible
with the WinHttp* functions. Try using
win32inet.WinHttpOpen instead.
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Devin Jeanpierre wrote:
I'm new to pywin32 development, but wanted to toy with creating
symlinks (and related new things) with a similar API to the current os
module. The documentation in pywin32 states that the only flag is
"SYMLINK_FLAG_DIRECTORY" (MSDN docs state that in the C++ API, the
only
Vernon Cole wrote:
Tim:
Okay, explain this...
C:\BZR\sterling\HL7>c:\python26\python.exe
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
on
win32
Type "help", "copyright", "credits" or "license" for more information.
import os
os.putenv('x','test')
print os.getenv
According to MSDN, it was added in IE 5.5.
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Randy Syring wrote:
I found this post:
http://bytes.com/groups/python/38259-sql-server-stored-prcedures-output-parameters
which was helpful in getting me started. However, that method does not
yield the output parameters if a recordset is output in the SP. So, if
my SP is:
CREATE PROCEDUR
le dahut wrote:
Hello,
On Windows 2000 SP4, since pywin32-213 I get an error :
"CreateURLMonikerEx could not be located"
on a program that ran fine with pywin32-212.
What's happening ?
K.
On machines with older versions of IE, this function may not
be present in urlmon.dll. This has been
Just to clarify, the code is asking for job status rather than
printer status.
According to the docs:
http://msdn.microsoft.com/en-us/library/dd145019(VS.85).aspx
the status can be returned either as a string in the pStatus
member, or as an int in Status. You'll probably need to change
the JOB_
Gerald Reeder wrote:
Hello,
I'm trying to get values from a non-contiguous range, specifically
"E5:E10,E35"
Range("E5:E10,E35").Value -- only returns the values for "E5:E10",
ignoring
"E35"
Range("E5:E10,E35").Address -- however returns "E5:E10,E35"
Range("E5:E10,E35").Count -- returns 7, whi
The only way I know of is to call win32file.DeviceIoControl
with FSCTL_GET_REPARSE_POINT, and unpack the
buffer yourself.
Roger
import win32con, winioctlcon, winnt, win32file
import struct
def get_reparse_target(fname):
h = win32file.CreateFile(fname, 0,
win32con
pythoncom.RegisterActiveObject inserts an object
into the ROT.
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Aditya Jayraman wrote:
I was wondering if the pywin32 package implements the LsaLogonUser() method
(not to be confused with the LogonUser() method)
I looked through the win32security module and could not find it.
Thanks
--Aditya
Nope, it's not there yet. I have a partial implementation local
According to this discussion
http://forums.devx.com/archive/index.php/t-81725.html
the only way to change a pushbutton's colour is to draw
it yourself.
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/lis
Greg Ewing wrote:
Has anyone successfully used the PyCWnd.OnCtlColor
virtual function to change the appearance of a
control?
The program below tries to use it to set the colour
of the text in a PyCButton. My OnCtlColor method gets
called, but it doesn't have any effect on the appearance
of the b
Tim Golden wrote:
I *think* this is a bug (or at least an unfortunate effect)
but I'll post here first for a sanity check.
I'm looking at Windows security: descriptors, ACLs, etc. The
conventional wisdom is that a DACL (or an SACL but less commonly)
can be one of three things within a security d
Mark Hammond wrote:
On 17/12/2008 12:30 AM, Roger Upole wrote:
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in
proteomics. to read spectra. They provide an API, and VB examples to
access it.
The problem is happening with those methods that return and
Enric Jaen wrote:
It's the library of the Xcalibur, a propietary program used in proteomics.
to read spectra. They provide an API, and VB examples to access it.
The problem is happening with those methods that return and array, as the
others work fine.
I am using defaultNamedNotOptArg= py
Thomas Lohse wrote:
Hello,
could anyone provide some assistance in using ShellIconOverlay-Handlers
with pythoncom. I implement a kind of file explorer and would like to
call the ShellIconOverlay-Handlers (registered by TortoiseSVN) of the
windows explorer to visualize SVN-states. (I'm NOT about
1 - 100 of 371 matches
Mail list logo