[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-15 Thread Margam

Hey Tony,
Everything's working fine now.
The "regsvr32" file was located in C:\Windows\system32 folder. I had
copied it to the folder where AutoItX3.dll file is located and
executed the command. Scripts run fine now.
I do NOT get the error anymore.

Thank you for the help.

Margam

On Dec 13, 8:45 pm, Margam  wrote:
> HI Tony,
> The problem is in the PC at work. I will try out your suggestion on
> Monday and will reply.
> Thank you for the suggestion.
>
> Margam
>
> On Dec 12, 8:08 pm, Tony  wrote:
>
> > Hi Margam,
>
> > Weird that regsvr32 is not found  hmm...
> > Anyways could try and search for the regsvr32.exe file in location C:
> > \WINDOWS\system32
>
> > If present run the command from C:\WINDOWS\system32, else try and get
> > a copy of regsvr32 from another system and copy it to your system.
> > Should work .. but i doubt that regsvr32 is removed from your system.
>
> > -Tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-13 Thread Margam

HI Tony,
The problem is in the PC at work. I will try out your suggestion on
Monday and will reply.
Thank you for the suggestion.

Margam

On Dec 12, 8:08 pm, Tony  wrote:
> Hi Margam,
>
> Weird that regsvr32 is not found  hmm...
> Anyways could try and search for the regsvr32.exe file in location C:
> \WINDOWS\system32
>
> If present run the command from C:\WINDOWS\system32, else try and get
> a copy of regsvr32 from another system and copy it to your system.
> Should work .. but i doubt that regsvr32 is removed from your system.
>
> -Tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-12 Thread Tony

Hi Margam,

Weird that regsvr32 is not found  hmm...
Anyways could try and search for the regsvr32.exe file in location C:
\WINDOWS\system32

If present run the command from C:\WINDOWS\system32, else try and get
a copy of regsvr32 from another system and copy it to your system.
Should work .. but i doubt that regsvr32 is removed from your system.

-Tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-12 Thread Karthikeyan Margam
Hello Richard,
When I typed "path" from a command prompt, the PATH did include
C:\WINDOWS\system32

What else can I try?
Thank you.

Margam

On Fri, Dec 12, 2008 at 5:15 PM, Richard Lawrence wrote:

>
> If you type path at the command prompt, does the result include
> C:\WINDOWS\system32?
>
> Richard
>
> On Fri, Dec 12, 2008 at 6:00 PM, Margam  wrote:
> >
> > Hello,
> > I am running into a similar problem also. I was trying to run a script
> > and got this error:
> > -
> > unknown OLE server: 'AutoItX3.Control'
> > ---
> > As per the entry in FAQ, I tried entering the "regsvr32 AutoItX3.dll"
> > command from a command prompt, but get: 'regsvr32' is not a recognized
> > as an internal or external command, operable program or batch file.
> >
> > I typed this command from C:\ruby\lib\ruby\gems\1.8\gems
> > \watir-1.6.2\lib\watir
> >
> > Can anyone point out what mistake I am doing?
> >
> > Thank you
> >
> > Margam
> >
> > On Nov 13, 11:47 pm, Tony  wrote:
> >> Hi Wesley,
> >> Try this.., maybe there was a problem registering the dll file, and
> >> hence couldn't create an object of
> AutoIt.regsvr32C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
> >> \AutoItX3.dll
> >>
> >> Although it does call the register code before creating an object, the
> >> error was in creating an autoit object.
> >> -Tony
> > >
> >
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-12 Thread Richard Lawrence

If you type path at the command prompt, does the result include
C:\WINDOWS\system32?

Richard

On Fri, Dec 12, 2008 at 6:00 PM, Margam  wrote:
>
> Hello,
> I am running into a similar problem also. I was trying to run a script
> and got this error:
> -
> unknown OLE server: 'AutoItX3.Control'
> ---
> As per the entry in FAQ, I tried entering the "regsvr32 AutoItX3.dll"
> command from a command prompt, but get: 'regsvr32' is not a recognized
> as an internal or external command, operable program or batch file.
>
> I typed this command from C:\ruby\lib\ruby\gems\1.8\gems
> \watir-1.6.2\lib\watir
>
> Can anyone point out what mistake I am doing?
>
> Thank you
>
> Margam
>
> On Nov 13, 11:47 pm, Tony  wrote:
>> Hi Wesley,
>> Try this.., maybe there was a problem registering the dll file, and
>> hence couldn't create an object of 
>> AutoIt.regsvr32C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
>> \AutoItX3.dll
>>
>> Although it does call the register code before creating an object, the
>> error was in creating an autoit object.
>> -Tony
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-12-12 Thread Margam

Hello,
I am running into a similar problem also. I was trying to run a script
and got this error:
-
unknown OLE server: 'AutoItX3.Control'
---
As per the entry in FAQ, I tried entering the "regsvr32 AutoItX3.dll"
command from a command prompt, but get: 'regsvr32' is not a recognized
as an internal or external command, operable program or batch file.

I typed this command from C:\ruby\lib\ruby\gems\1.8\gems
\watir-1.6.2\lib\watir

Can anyone point out what mistake I am doing?

Thank you

Margam

On Nov 13, 11:47 pm, Tony  wrote:
> Hi Wesley,
> Try this.., maybe there was a problem registering the dll file, and
> hence couldn't create an object of 
> AutoIt.regsvr32C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
> \AutoItX3.dll
>
> Although it does call the register code before creating an object, the
> error was in creating an autoit object.
> -Tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-11-20 Thread Tiffany Fodor

FYI

Both of us using Watir in my office had this problem.

I'm running Vista.  I uninstalled all previous versions of Watir,
installed 1.6.0 and then upgraded to 1.6.2.

My colleague is running XP.  He uninstalled all previous versions of
Watir and then installed 1.6.2.

Running the command that Tony provided to register the dll fixed the
problem for both of us.

Thanks Tony!

-Tiffany

On Nov 14, 12:47 am, Tony <[EMAIL PROTECTED]> wrote:
> Hi Wesley,
> Try this.., maybe there was a problem registering the dll file, and
> hence couldn't create an object ofAutoIt.
> regsvr32 C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
> \AutoItX3.dll
>
> Although it does call the register code before creating an object, the
> error was in creating anautoitobject.
> -Tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-11-14 Thread wesley chen
Thanks Tony, it works!

Thanks.
Wesley Chen.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: It displays error message when I use method bring_to_front.

2008-11-13 Thread Tony

Hi Wesley,
Try this.., maybe there was a problem registering the dll file, and
hence couldn't create an object of AutoIt.
regsvr32 C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
\AutoItX3.dll

Although it does call the register code before creating an object, the
error was in creating an autoit object.
-Tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---