RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Michaud, Richard1
I could be wrong, but I don't think iTunes is an OLE Object which could be causing your troubles. It's a shame that it doesn't have a direct Perl API. Richard Michaud -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Grant Sent: Thursday, January

RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Richard Grant
I could be wrong, but I don't think iTunes is an OLE Object which could be causing your troubles. Isn't OLE Automation just a layer on COM targeted toward scripting and VB in particular? It's a shame that it doesn't have a direct Perl API. Dunno, but I can do virtually everything with it

RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Mike.Owens
: Win32::OLE-GetActiveObject not working! I could be wrong, but I don't think iTunes is an OLE Object which could be causing your troubles. Isn't OLE Automation just a layer on COM targeted toward scripting and VB in particular? It's a shame that it doesn't have a direct Perl API. Dunno, but I

Re: Win32::OLE::GetActiveObject problem

2005-01-05 Thread Mike.Owens
Hello, I've been having problems with a similar code snippet. Several months ago I wrote a perl script for my office that filled in a HTML form in Internet Explorer using a database. The code worked successfully on four Win2k machines here. One by one, the same code stopped working on the

RE: Win32::OLE::GetActiveObject problem

2005-01-02 Thread Wenjie Wang
:-Original Message- :From: [EMAIL PROTECTED] :[mailto:[EMAIL PROTECTED] Behalf Of :Matthew Bertrand :Sent: Friday, 31 December 2004 12:29 PM :To: perl-win32-users@listserv.ActiveState.com :Subject: Re: Win32::OLE::GetActiveObject problem : : :$Bill Luebkert wrote: : :Share some minimal

Re: Win32::OLE::GetActiveObject problem

2005-01-01 Thread Dmitry Bolshakoff
May be http://www.winguides.com/registry/display.php/964/ will help WBR Dmitry Bolshakoff [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com I wrote a Perl script that uses the Win32::OLE::GetActiveObject method to grab any

Re: Win32::OLE::GetActiveObject problem

2004-12-31 Thread $Bill Luebkert
Steven Manross wrote: I'll go one further, and I was looking at this earlier today and couldn't get anything to EnumAllObjects or GetActiveObjects (not knowing this thread was here) and tried to get an active instance of IE in quite the same way without any luck. I can start MSIE, but I can't

Re: Win32::OLE::GetActiveObject problem

2004-12-30 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: I wrote a Perl script that uses the Win32::OLE::GetActiveObject method to grab any existing IE browser windows and close them. The GetActiveObject() method has no problem grabbing an existing IE browser on my laptop. Unfortunately, GetActiveObject() cannot find

RE: Win32::OLE::GetActiveObject problem

2004-12-30 Thread Steven Manross
Of Matthew Bertrand Sent: Thursday, December 30, 2004 6:29 PM To: perl-win32-users@listserv.ActiveState.com Subject: Re: Win32::OLE::GetActiveObject problem $Bill Luebkert wrote: Share some minimal code snippet. use strict; use Win32::OLE; my $IEWin = Win32::OLE-GetActiveObject

RE: Win32::OLE-new(MAPI.Session) generates Cannot change thread mode after it is set.

2004-11-12 Thread Ken Cornetet
Title: Message Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE);my $session = Win32::OLE-new("MAPI.Session"); -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Warner, JimSent: Friday, November 12, 2004 1:21 PMTo: '[EMAIL

RE: Win32::OLE - Threadsafe?

2004-11-11 Thread Paul Sobey
PROTECTED] Sent: 11 November 2004 00:49 To: Paul Sobey Cc: [EMAIL PROTECTED] Subject: Re: Win32::OLE - Threadsafe? Paul Sobey wrote: Hi Guys, On my machine (AP 5.8.4), the following code runs fine when the use Win32::OLE line is commented, but throws an exception at the end when

Re: Win32::OLE - Threadsafe?

2004-11-11 Thread Jeff Griffiths
to make it thread-safe, I doubt somehow that it currently is. cheers, JeffG P. -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: 11 November 2004 00:49 To: Paul Sobey Cc: [EMAIL PROTECTED] Subject: Re: Win32::OLE - Threadsafe? Paul Sobey wrote: Hi Guys, On my machine

RE: Win32::OLE - Threadsafe?

2004-11-11 Thread Jan Dubois
On Thu, 11 Nov 2004, Jeff Griffiths wrote: Paul Sobey wrote: Just realised if you turn that use into a require Win32::OLE after the threads have been spawned, it works ok. Anyone know why this should be so? I thought I read somewhere that Win32::OLE was threadsafe but it seems not! Seeing

Re: Win32::OLE - Threadsafe?

2004-11-10 Thread $Bill Luebkert
Paul Sobey wrote: Hi Guys, On my machine (AP 5.8.4), the following code runs fine when the use Win32::OLE line is commented, but throws an exception at the end when it is not. Anybody know why? Am I doing something silly, or is this module known to have problems with threads? Cheers,

RE: Win32 OLE modification of component identity

2004-05-03 Thread Miguel Laborde
to SaveChanges() seems to be the way to update the component info. Thanks though :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Manross Sent: Monday, May 03, 2004 2:14 PM To: Miguel Laborde; [EMAIL PROTECTED] Subject: RE: Win32 OLE modification

RE: Win32 OLE modification of component identity

2004-05-03 Thread Steven Manross
:29 AM To: Steven Manross; [EMAIL PROTECTED] Subject: RE: Win32 OLE modification of component identity No go unfortunately.. I get the following error: Found component Win32::OLE=HASH(0x1f91e70) Check1 retrying default method at C:/Perl/site/lib/Win32/OLE/Lite.pm line 156. Check2 after modifying

RE: Win32 OLE modification of component identity

2004-05-03 Thread Miguel Laborde
, though I don't know if this will fix the problem I'm having. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Manross Sent: Monday, May 03, 2004 2:46 PM To: Miguel Laborde; [EMAIL PROTECTED] Subject: RE: Win32 OLE modification

RE: Win32 OLE modification of component identity

2004-05-03 Thread Steven Manross
] Subject: RE: Win32 OLE modification of component identity No go unfortunately.. I get the following error: Found component Win32::OLE=HASH(0x1f91e70) Check1 retrying default method at C:/Perl/site/lib/Win32/OLE/Lite.pm line 156. Check2 after modifying the code with: print Check1\n; $COMComponent

RE: Win32 OLE modification of component identity

2004-05-03 Thread Miguel Laborde
Of Steven Manross Sent: Monday, May 03, 2004 3:34 PM To: Miguel Laborde; [EMAIL PROTECTED] Subject: RE: Win32 OLE modification of component identity Lastly, Try something like this. $COMComponent-{Value}-{Identity} = $varUserStr; $COMComponent-{Value}-{Password} = $varPasswordStr; There seems

RE: Win32 OLE modification of component identity

2004-05-03 Thread Steven Manross
to be set. You've reached the end of my rope. I don't know where to go from here. Sorry. Steven -Original Message- From: Miguel Laborde [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 12:52 PM To: Steven Manross; [EMAIL PROTECTED] Subject: RE: Win32 OLE modification of component

RE: Win32 OLE modification of component identity

2004-05-03 Thread Steven Manross
'; [EMAIL PROTECTED] Subject: RE: Win32 OLE modification of component identity Try something like this. $COMComponent-{Value}-{Identity} = $varUserStr; $COMComponent-{Value}-{Password} = $varPasswordStr; There seems to be no Identity property on the Com Component Object, instead

RE: Win32 OLE modification of component identity

2004-05-03 Thread Jan Dubois
Try something like this. $COMComponent-{Value}-{Identity} = $varUserStr; $COMComponent-{Value}-{Password} = $varPasswordStr; There seems to be no Identity property on the Com Component Object, instead, the user and pw are part of a variant of the Value property. Nope, this looks like an

Re: Win32::OLE and events from multiple source interfaces

2004-04-19 Thread Rajkumar Malli
At 09:15 PM 3/31/2004, Jan Dubois wrote: On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli [EMAIL PROTECTED] wrote: I have a ATL COM server which supports two connection point interfaces IAsiaCommonEvent and IAsiaTestEvent along which it can fire COM events . Now, I can get events from either

Re: Win32::OLE and events from multiple source interfaces

2004-04-16 Thread Jan Dubois
On Fri, 16 Apr 2004 09:19:30 -0700, Rajkumar Malli [EMAIL PROTECTED] wrote: At 09:15 PM 3/31/2004, Jan Dubois wrote: On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli [EMAIL PROTECTED] wrote: I have a ATL COM server which supports two connection point interfaces IAsiaCommonEvent and

Re: Win32::OLE and events from multiple source interfaces

2004-03-31 Thread Jan Dubois
On Wed, 31 Mar 2004 19:43:48 -0800, Rajkumar Malli [EMAIL PROTECTED] wrote: I have a ATL COM server which supports two connection point interfaces IAsiaCommonEvent and IAsiaTestEvent along which it can fire COM events . Now, I can get events from either of these connection points, one at a

RE: Win32 OLE: How to get content from a MSIE frame?

2004-02-03 Thread Jing Wee
Hi Steven Thank you very much for your response and leading me to the answer! I did not get it work with the codes you provided due to error when I ran it: retrying default method at C:/Perl/site/lib/Win32/OLE/Lite.pm line 156. Can't call method item on an undefined value at C:\test.pl line 14.

RE: Win32::OLE: how to extract contents of Visual C++ 6.0 Build window?

2004-01-30 Thread Jon McAllister
PROTECTED] Sent: Friday, January 30, 2004 1:47 AM To: Jon McAllister; [EMAIL PROTECTED] Subject: RE: Win32::OLE: how to extract contents of Visual C++ 6.0 Build window? Would it be better simply using nmake? Before Borland introduced the concept of IDE, makefile is used. The purpose of IDE is to provide

RE: Win32::OLE

2003-09-18 Thread Groenwold, Harmen (ICT) (HK)
Hi, This took me a while to figure out, but I think I got the solution to your problem. First, the Win32::Process, Win32::Process::Info or even Win32::OLE seem not to help in any way to achieve what you want. I've gone through quite some VBA documentation for Outlook and it seems that VBA doesn't

RE: Win32::OLE

2003-09-18 Thread Martin Bower
: Martin Bower [mailto:[EMAIL PROTECTED] Sent: 18 September 2003 15:39 To: 'Groenwold, Harmen (ICT) (HK)'; [EMAIL PROTECTED] Subject: RE: Win32::OLE cool, thanks v much. I just googled and added the following 2 lines to restore the window to its previous position if it had been minimsed. my

Re: Win32::OLE Microsoft Excel

2003-08-25 Thread armin . nolte
Hi, I can't tell you why your construct doesn't work. But did you try to give a Range_Objekt instead of several Cells-Objekts? This is always faster! So try something like this: ... (assume $sheet to be a Excel-Sheet-Object)... my $range1 = $sheet-Range($sheet-Cells(1,1) , $sheet-Cells( 4 , 1

Re: Win32-OLE excel cell reference.

2003-08-14 Thread $Bill Luebkert
Beckett Richard-qswi266 wrote: Guys, I'm struggling with the syntax to point to the cells that I want to use in Excel. It seems that the Range command likes data like (A14), or (A14:B26), and I am happy with this. My problem occurrs when I only have numeric data to work with, because

RE: Win32-OLE excel cell reference.

2003-08-14 Thread Ross Matt-QMR000
Richard-qswi266'; [EMAIL PROTECTED] Subject: RE: Win32-OLE excel cell reference. From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] Subject: Win32-OLE excel cell reference. It seems that the Range command likes data like (A14), or (A14:B26), and I am happy with this. My problem

RE: Win32-OLE excel cell reference.

2003-08-10 Thread Charbeneau, Chuck
From: Ross Matt-QMR000 [mailto:[EMAIL PROTECTED] Subject: RE: Win32-OLE excel cell reference. by no means did mean anything negative about what you wrote in reply. You have ALWAYS been very helpful to me and others with your posts. No worries. I didn't take any offense, just offering

RE: Win32-OLE excel cell reference.

2003-08-10 Thread Charbeneau, Chuck
From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] Subject: Win32-OLE excel cell reference. It seems that the Range command likes data like (A14), or (A14:B26), and I am happy with this. My problem occurrs when I only have numeric data to work with, because of incremented

Re: win32::ole open, copypaste, create new, save document

2003-07-25 Thread work
Now Iam searching for the solution to do the following with win32::ole -open .doc file- no problem -make and copy a range of pages- problem -create a new document - no problem -paste into new document- problem -close

RE: Win32::OLE, excel file not found

2003-06-18 Thread Allegakoen, Justin Devanandan
--8--- If you'll notice, the code provided was wrapped in % % which indicates SERVER side execution. --8--- Feel the need for a little defence on my part ;) There's no point in trying to execute server side code in the faint hope that it will open your local file. I've

RE: Win32::OLE and Excel Sorting

2003-06-12 Thread Carl Jolley
On Thu, 12 Jun 2003, Charbeneau, Chuck wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Win32::OLE and Excel Sorting heres one for u folks to get ur heads around - cos its doin mine in keeps throwing range method error in OLE The problem lies in the definition of

RE: Win32::OLE

2003-06-06 Thread Ulf Lowig
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 6:07 AM Cc: [EMAIL PROTECTED] Subject: RE: Win32::OLE On 05/06/2003 11:43:41 Ulf wrote: [snip, original question about iterating over a collection] in, which does the job, was already suggested

RE: Win32::OLE

2003-06-06 Thread Steven Manross
town (or email) unexpectedly). :) Steven -Original Message- From: Ulf Lowig [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 5:03 AM To: [EMAIL PROTECTED] Cc: Steven Manross Subject: RE: Win32::OLE Thanks for pointing me to Win32::TaskScheduler. I have made some testing

RE: Win32::OLE

2003-01-10 Thread FARRINGTON, RYAN
: 'FARRINGTON, RYAN'Subject: RE: Win32::OLE You should execute the following SQL to determine the row count before actually executing the SQL to return data. Select count(*) from ... Howard A. Bullock Global IT Infrastructure 717-810-3584

Re: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread michael higgins
Jack wrote: I see many questions on this list asking about using Win32::OLE in interacting with these (and other MS programs). Could someone point me to either a book or online documentation which reveals all the methods one can use with each [snips] Jack -- One quick answer is there is vb

RE: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread Beckett Richard-qswi266
I see many questions on this list asking about using Win32::OLE in interacting with these (and other MS programs). Could someone point me to either a book or online documentation which reveals all the methods one can use with each program? For example from a recent post: $excel -

Re: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread Carl Jolley
On Mon, 6 Jan 2003, Jack wrote: I see many questions on this list asking about using Win32::OLE in interacting with these (and other MS programs). Could someone point me to either a book or online documentation which reveals all the methods one can use with each program? For example from a

Re: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread Jack
- Original Message - From: Carl Jolley [EMAIL PROTECTED] To: Jack [EMAIL PROTECTED] Cc: Perl-Win32-Users [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 3:02 PM Subject: Re: Win32::OLE and Excel, Word, Access etc. On Mon, 6 Jan 2003, Jack wrote: I see many questions on this list

Re: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread Carl Jolley
On Tue, 7 Jan 2003, Jack wrote: - Original Message - From: Carl Jolley [EMAIL PROTECTED] To: Jack [EMAIL PROTECTED] Cc: Perl-Win32-Users [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 3:02 PM Subject: Re: Win32::OLE and Excel, Word, Access etc. On Mon, 6 Jan 2003, Jack wrote

Re: Win32::OLE with Active directory question

2003-01-06 Thread Joe Richards
Win32 Users (E-mail) [EMAIL PROTECTED] Sent: Monday, January 06, 2003 8:34 AM Subject: RE: Win32::OLE with Active directory question You might want to look at the object through ADSIEdit and LDP ... I've used both many times when I'm trying to figure out what attributes are available, etc. Sean

Re: Win32::OLE writing to excel.

2002-12-14 Thread Steve
I'm having a horrendous time trying to write to cells in my spreadsheet that are specified by variables. I'm trying to write like this: $active_sheet - Cells ($set, ($loop + 24)) - {Value} = ($loop); $active_sheet - Cells (($set + 1), ($loop + 24)) - {Value} = (some text); The Value

RE: Win32::OLE=HASH lastLogon ADSTYPE_LARGE_INTEGER

2002-10-21 Thread Tillman, James
-Original Message- From: Livingston, Rex [mailto:Rex.Livingston;praxa.com.au] Sent: Friday, October 18, 2002 11:06 PM To: Tillman, James; Perl Win32 Users (E-mail) Subject: RE: Win32::OLE=HASH lastLogon ADSTYPE_LARGE_INTEGER Thanks James...this code now works and may be useful

RE: Win32::OLE=HASH lastLogon ADSTYPE_LARGE_INTEGER

2002-10-18 Thread Tillman, James
It seems the lastLogon field is a LARGE_INTEGER ... Refer syntax in.. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsc hema/w2k/A_lastLogon.asp How can I view the real value from Perl ? This article on Groups.Google.com might help you, although it's discussing

RE: Win32::OLE accessing outlook subfolders

2002-09-27 Thread Mark Sutfin
On Tuesday, 09/24/2002, Martin Bower wrote: :Hi, :The script below will access Outlook 98, and give me a list of items in my :Inbox. I would like to ammend this so I can see what sub-folders I have :below Inbox, and scroll through their contents as well. :Can anyone point me in the right

RE: Win32::OLE accessing outlook subfolders

2002-09-27 Thread Norris, Joseph
]' Subject: RE: Win32::OLE accessing outlook subfolders On Tuesday, 09/24/2002, Martin Bower wrote: :Hi, :The script below will access Outlook 98, and give me a list of items in my :Inbox. I would like to ammend this so I can see what sub-folders I have :below Inbox, and scroll through

RE: Win32::OLE accessing outlook subfolders

2002-09-27 Thread Tillman, James
]] Sent: Friday, September 27, 2002 12:00 PM To: 'Mark Sutfin'; 'Martin Bower'; '[EMAIL PROTECTED]' Subject: RE: Win32::OLE accessing outlook subfolders Mark, My experments with this have been - ah - painful (yes that's the right word). On problem I have with any of this is that whenever I

Re: Win32::OLE MS Word

2002-09-17 Thread work
This will insert text at the beginning of a document. use strict; use warnings; use Win32::OLE; my $oWord = new Win32::OLE(Word.Application); my $clBlue = 16711680; my $clGreen = 32768; my $oDoc = $oWord-Documents-Add(); $oWord-Selection-TypeParagraph; $oWord-Selection-Font-{Size} = 14;

Re: Win32::OLE and Visible property

2002-08-18 Thread Mark Veerman
Hello again, I've added the line you suggested, but didn't get anything more descriptive. When I take out the line '|| die Failed!;' I get the error Can't call method InsertBreak on an undefined value since the next line is this: $Selection-InsertBreak({Type=wdSectionBreakNextPage}); and the

Re: Win32::OLE and Visible property

2002-08-18 Thread Carl Jolley
On Sun, 18 Aug 2002, Mark Veerman wrote: Hello again, I've added the line you suggested, but didn't get anything more descriptive. When I take out the line '|| die Failed!;' I get the error Can't call method InsertBreak on an undefined value since the next line is this:

RE: Win32::OLE::Variant

2002-08-09 Thread Briggs, Larry
Hi I got the if statement to work by changing the to lt. I hope that this is not what I will need to do to all of my programs. Has anyone else ran into this same problem with dates? Is there something that I am missing we are upgrading from active perl 5.00503 to the last active perl 5.6.1

Re: Win32::OLE: Language of error message?

2002-07-31 Thread Sisyphus
- Original Message - From: Dr. Thomas Bruns [EMAIL PROTECTED] Win32::OLE(0.1502) error 0x80020010: Aufgerufener ist ungAĆ¼ltig in METHOD/PROPERTYGET myMethod at myModule.pm line 123 I am German, but this messages makes no sense to me! So, I'd rather like this messages to be in

Re: Win32::OLE import into Excel

2002-05-29 Thread Jan Dubois
On Wed, 29 May 2002 10:32:34 -0400, Mark D. Veerman [EMAIL PROTECTED] wrote: My code is below. I've been able to successfully test for an empty fields with the $ttl field - however, I'm concerned that adding that logic to every field will slow things down. Since I'm new to programming - I feel

RE: Win32::OLE Word tabs

2002-05-07 Thread Iacoboni, Vince
Try replacing vbTab with chr(9). That's what a press of the tab key sends. -Original Message- From: Mark D. Veerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 9:24 AM To: [EMAIL PROTECTED] Subject: Win32::OLE Word tabs Hi, I'm sure this is a fairly simple question.

RE: Win32::OLE Word tabs

2002-05-07 Thread Tillman, James
I've converted a vb macro to Perl, and successfully created a right tab at 7.5 inches. Now I need to move the cursur to that tab, but I don't know what the Perl equivalent for vbTab is. Check into Win32::OLE::Const and you will find that you don't need to know. jpt

Re: Win32::OLE in Windows NT only

2002-03-15 Thread Thomas R Wyant_III
Why do I get Can't call method on an undefined value? --- Because you're trying to call a method on an undefined value. This generally means that you did something like $object = Class-new (); $object-method (); and Class-new failed. The

Re: Win32::OLE ...

2002-02-20 Thread Jonathan Epstein
Nearly everything IS possible in Perl. In Python for Win32, a tool called MakePy makes it possible to use early-bound automation. If you'd like to read about this, see chapter 12 of Mark Hammond's book _Python Programming on Win32_. Of course, Python is all open-source, so you can

RE: Win32::OLE-CreateObject('ADsSID) fails: Invalid class string

2002-02-20 Thread Steven Manross
Your current problem may be that you do not have the adssecurity.dll on your system, or it is not registered. This DLL registers the ADsSID Object on your system, so OLE knows what it is, and how to handle this object. This dll is found as part of the ADSI SDK, on M$' site. Mail me offline if

Re: Win32::OLE ...

2002-02-20 Thread Jonathan Epstein
Er... following up on my own suggestion ... MakePy works in large part by generating lots of Python code corresponding to the OLE object to be bound. Rather than recreating all of MakePy in Perl, it would be much faster to modify MakePy so that it can optionally generate Perl code which is

Re: Win32::OLE-GetObject($adsPath) yields error 0x80072030

2002-02-19 Thread 'Jonathan C. Detert'
* Steven Manross [EMAIL PROTECTED] [020219 11:54]: 80072030 relates to LDAP_NO_SUCH_OBJECT You are probably right about the o or ou values being incorrect. check out this link for more error codes and their meaning

Re: Win32::OLE ...

2002-02-19 Thread Amir Kashani
would be extremely appreciated. Thanks! - Amir On Tue, Feb 19, 2002, Tillman, James wrote: -Original Message- From: Amir Kashani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:23 AM To: [EMAIL PROTECTED] Subject: Re: Win32::OLE ... ... Win32::OLE(0.1502

Re: Win32::OLE ...

2002-02-19 Thread Amir Kashani
On Tue, Feb 19, 2002, Joseph P. Discenza wrote: Amir Kashani wrote, on Tuesday, February 19, 2002 4:07 PM : Thanks for the response. I learned that in the Microsoft KB : article I mentioned : (http://support.microsoft.com/default.aspx?scid=kb;EN-US;q188716), : and I did : attempt to

RE: Win32::OLE question

2002-02-06 Thread Nadarajah, Sivakumar
Title: RE: Win32::OLE question It's easier if you setup an ODBC connection( say MYFOXDB) using the FoxPro driver( with Control Panel-ODBC). Then you can simply connect like below. my $Conn = Win32::OLE-new(ADODB.Connection); my $RS = Win32::OLE-new(ADODB.Recordset); $ConnectionString

RE: win32:OLE question

2002-02-06 Thread Kirkwood, Ken
How on earth can I be removed from this distribution list. All of my attempts are failing. Ken Kirkwood ISD Telecommunications Pier 1 imports, Inc. 817-252-8190 -Original Message- From: Investor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 2:45 PM To: [EMAIL

RE: Win32::OLE situation

2002-02-05 Thread Adrian Stovall
please post the entire error message (it should mention what line the error was in), and if you can't post the full script, include line numbers on the lines you posted...that way people will be able to figure things out more easily. -Original Message- From: Fernando Freire Baez

RE: Win32::OLE question

2002-01-29 Thread Tillman, James
How do you translate vbs Set ServObj = GetObject(IIS://MYWEBSERVER/w3svc/1/Root) into perl Win32::OLE use Win32::OLE; my $ServObj = Win32::OLE::GetObject(IIS://MYWEBSERVER/w3svc/1/Root); Once you get the hang of it, it's quite automatic. I almost had a conversion perl script once, but

RE: Win32::OLE question

2002-01-29 Thread Price, Steve A
, James [mailto:[EMAIL PROTECTED]] Sent: 29 January 2002 16:28 To: 'Price, Steve A'; [EMAIL PROTECTED] Subject: RE: Win32::OLE question How do you translate vbs Set ServObj = GetObject(IIS://MYWEBSERVER/w3svc/1/Root) into perl Win32::OLE use Win32::OLE; my $ServObj = Win32::OLE::GetObject(IIS

RE: Win32::OLE question

2002-01-29 Thread Thomas R Wyant_III
Tillman, James [EMAIL PROTECTED] wrote: use Win32::OLE; my $ServObj = Win32::OLE::GetObject(IIS://MYWEBSERVER/w3svc/1/Root); Interesting. With ActivePerl 630, use Win32::OLE; my $ServObj = Win32::OLE::GetObject(IIS://MYWEBSERVER/w3svc/1/Root) or die Win32::OLE-LastError (); gets me

RE: Win32::OLE query

2001-11-29 Thread Joe Schell
-Original Message- Behalf Of Margaret Quinn Hi All, I have used the code below to query a database on my win98 machine I can use both these methods and they work on my machine - with a comparable speed - but on some machines the first connect string method - runs terribly

RE: Win32::OLE and Crystal Reports

2001-04-19 Thread Cornish, Merrill
Adam, Good luck. The purely Perl side of it is relatively easy. There are only a handful of Perl things you need to know to launch an application, interact with it, and close it down gracefully. You can get that level of information from the HTML pages that are in the ActivePerl (i.e.,

Re: Win32::OLE + Exchange mailboxes

2001-03-23 Thread Ben Hall
Jeremy wrote: Just as a suggestion though, I think it may be better to use the GetFirst GetNext methods instead of gathering the entire message collection. I'll investigate this, thanks. The main reason I'm currently doing it the way I am is that this is the way it's done in all the

Re: Win32::OLE + Exchange mailboxes

2001-03-23 Thread Ben Hall
Jeremy - thanks for putting me on the right track. The following, I'm relieved to say, works: # Get first email print $messages-GetFirst()-{Subject} . "\n"; # Get the rest of 'em for ($i=2;$i=$message_count;$i++) { print $messages-GetNext()-{Subject} . "\n"; } So it would appear that

Re: Win32::OLE + Exchange mailboxes

2001-03-23 Thread Jeremy Blonde
. Thanks, Jeremy Blonde From: Ben Hall [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Win32::OLE + Exchange mailboxes Date: Fri, 23 Mar 2001 13:18:50 + (GMT+00:00) Jeremy - thanks for putting me on the right track. The following, I'm relieved to say, works: # Get first email print

Re: Win32::OLE + Exchange mailboxes

2001-03-23 Thread Jeremy Blonde
What happens if you run this same code in a (ACK!) VBScript? I wonder if it would display the correct information or not? If it does, then it may indeed indicate a problem with Win32::OLE, if it doesn't then it could be a problem with CDO? Jeremy Blonde And even simpler: these two lines

Re: Win32::OLE + Exchange mailboxes

2001-03-23 Thread Ben Hall
FYI, I do it like this: Yes, I know the code I posted wasn't terribly good, I was just quickly expressing that the GetNext methods etc work for me (yay!). Now, that I have it working, I've implemented it a little better... :) If you will be doing more than just 1 operation on the

Re: Win32:OLE

2001-01-16 Thread Joe Schell
Simon Oliver wrote: Win32::OLE is included with all recent versions of Perl. I suggest you upgrade. Win32:OLE is now part of the Perl core? What happens to it when one builds that module on a unix box? ___ Perl-Win32-Users mailing list [EMAIL

RE: Win32:OLE

2001-01-16 Thread Ron Hartikka
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Schell Sent: Tuesday, January 16, 2001 12:34 PM To: Simon Oliver Cc: '[EMAIL PROTECTED]' Subject: Re: Win32:OLE Simon Oliver wrote: Win32::OLE is included with all recent versions of Perl. I suggest you upgrade

<    1   2