Re: [python-win32] ByRef params not working with PythonCOM

2008-10-06 Thread Greg Antal
Greetings all. I posted this a week ago and had no response, so I'll try again.  Any information would be helpful, even if it's just "that all looks right, no idea why it doesn't work."  I'll gladly provide more info if needed, or try a different statement of the problem if it isn't clear. Th

Re: [python-win32] win32console attach problems

2008-10-06 Thread Tim Roberts
Stian wrote: > > Well, let me ask a silly question. Are you running this from a "pyw" > > app, using Pythonw.exe, so you don't have a console of your own? > > Well, that's not a silly question for me - I'm rather new to Python. > Anyway - let me tell you a bit more about how this is put together

Re: [python-win32] help with python COM server needed

2008-10-06 Thread Tim Roberts
aivars wrote: > this is how I call it from VB: > > Sub testPython() > > Dim a > Dim response > > Set a = CreateObject("Aivars.ReturnSaldo") > response = a.ReturnAmount() '--->error here > > Worksheets("Sheet1").Range("a1").Value = response > End Sub > Function calls in VB with no parameters don

Re: [python-win32] win32console attach problems

2008-10-06 Thread Stian
> On Windows, by default, scripts with a .py extension are run by > Python.exe, which is a console application. If you can write to stdout > and see the results in a console window, then you have a console. > Scripts with a .pyw extension are run by Pythonw.exe, which is a Windows > application.

[python-win32] Re: win32console attach problems

2008-10-06 Thread Roger Upole
Stian wrote: On Windows, by default, scripts with a .py extension are run by Python.exe, which is a console application. If you can write to stdout and see the results in a console window, then you have a console. Scripts with a .pyw extension are run by Pythonw.exe, which is a Windows applicati

[python-win32] Re: ODBC date and time issues

2008-10-06 Thread Roger Upole
Joe Healy wrote: Roger, Thanks for this, they were exactly the sort of changes I had in mind, but with very little knowledge about how to go and make them. We will try to build from source, but have not tried this before. We'll let you know how we go with this. We are going to follow the (fa

Re: [python-win32] ODBC date and time issues

2008-10-06 Thread Joe Healy
Roger Upole wrote: Joe Healy wrote: Roger, Thanks for this, they were exactly the sort of changes I had in mind, but with very little knowledge about how to go and make them. We will try to build from source, but have not tried this before. We'll let you know how we go with this. We are goi