[python-win32] Re: Reading properties from office builtin dialogs?

2006-02-02 Thread Roger Upole
Anders Quist wrote: >I have an application that wants to print a large set of documents. > Therefore, I want to have word display its print dialog so the user > can supply printer settings once, that I can read and store for use > with all following prints. > > At first glance, this would seem stra

[python-win32] Create VPN connections

2006-02-02 Thread Reed L. O'Brien
I know I can dial # Get the parameters to Dial a Stored VPN Connection vpn, pw = ras.GetEntryDialParams(None, 'FOO') # Dial the connection rasHandle, retCode = ras.Dial(None, None, vpn, None) And hang up ras.HangUp(rasHandle) But can I build one from scratch and save it so it shows up in Netwo

[python-win32] Sorry re: Create VPN connections

2006-02-02 Thread Reed L. O'Brien
I think that message went out as html. My MUA usually prompts me for the format before it sends. But for some reason it didn't that time. My apologies for the extra noise if you received it that way. best, ~r -- 4.6692916090 'cmVlZEBpbnRlcnNpZWdlLmNvbQ==\n'.decode('base64') http://www.spreadf

[python-win32] Grumpy Curmudgeonly Complaint

2006-02-02 Thread Tim Roberts
Please, wcc, when you reply to a message, take the time to delete the quoted parts of the original message that aren't relevent to your reply. Your last two messages have each had 8 lines of new content, plus more than 170 lines of quoted text that really didn't need to be repeated. When you're r

Re: [python-win32] Autocad automation via COM: Passing coordinates as arguments (suggested fix within)

2006-02-02 Thread wccppp
Mark,Thank you for your suggestion.  If I can do something like this:v = Variant(VT_DOUBLE, (1.0, 2.0, 3.0)) ms.AddPoint(v)That would be great!  But I am not sure how to write the "Variant" class as you suggested.  I bought your book "Python Programming on Win32" beause I wanted to automate windows

Re: [python-win32] Autocad automation via COM: Passing coordinates as arguments (suggested fix within)

2006-02-02 Thread wccppp
Dan,Thank you very much for taking time to examine the problem and offer a solution.  Your approach seems a little daunting to me, since I'm fairly new to python.  Also, as you mentioned, there are lots of AutoCAD methods that has point as argument.  With new release coming out every year, ther mig