| Author | Topic: Error opening excel Activex in Office 2010 |
---|
| Osvaldo L Aoki | Error opening excel Activex in Office 2010
on Wed, 23 Mar 2011 17:25:01 -0300Hi,
I am getting error on opening excel Activex in Office 2010:
My function works well on Office 2007 or 97
Current command to open below..
Any People can Help me ?
Thanks
Osvaldo L Aoki
Function Excel_CreateExcel( lNew, cSheet )
local oExcel
oExcel := CreateObject("Excel.Application")
if empty( oExcel)
ms_msg("Excel nÆo est instalado neste computador !")
return nil
endif
oExcel:DisplayAlerts := .F.
oExcel:visible := .F.
if lNew <> nil .and. lNew
oBook := oExcel:workbooks:Add()
if cSheet == nil
oSheet := oBook:ActiveSheet
else
oSheet:Name := cNome
oSheet:Activate()
endif
endif
return( oExcel ) |
| AUGE_OHR | Re: Error opening excel Activex in Office 2010
on Wed, 23 Mar 2011 21:33:31 +0100hi,
> I am getting error on opening excel Activex in Office 2010:
reinstall Office
greetings by OHR
Jimmy |
| Osvaldo L Aoki | Re: Error opening excel Activex in Office 2010
on Wed, 23 Mar 2011 18:17:00 -0300HI Auge,
Another detail, I am using Windows 7.
Is there any problem about ?
Att
Osvaldo L Aoki
"AUGE_OHR" escreveu na notícia da
mensagem:56888931$629cf99c$45962@news.alaska-software.com...
hi,
> I am getting error on opening excel Activex in Office 2010:
reinstall Office
greetings by OHR
Jimmy |
| Osvaldo L Aoki | Re: Error opening excel Activex in Office 2010
on Wed, 23 Mar 2011 18:36:34 -0300Hi,
I think the problem is in registering DSOFRAMER.OCX on Windows 7.
What is correct procedure to register DSoframer on Windows 7 ?
Thanks,
Osvaldo L Aoki
"AUGE_OHR" escreveu na notícia da
mensagem:56888931$629cf99c$45962@news.alaska-software.com...
hi,
> I am getting error on opening excel Activex in Office 2010:
reinstall Office
greetings by OHR
Jimmy |
| AUGE_OHR | Re: Error opening excel Activex in Office 2010
on Thu, 24 Mar 2011 19:06:06 +0100hi,
> I think the problem is in registering DSOFRAMER.OCX on Windows 7.
> What is correct procedure to register DSoframer on Windows 7 ?
not shure if it run under Win7. use "runas Administrator" to RegSvr32
just "test" my Sample ... it does not run under Win7 (with SP1 Release)
... but when i use VX20.EXE as Debugger it will run ... hm ...
greetings by OHR
Jimmy |
| AUGE_OHR | Re: Error opening excel Activex in Office 2010
on Thu, 24 Mar 2011 19:09:28 +0100hi,
> just "test" my Sample ... it does not run under Win7 (with SP1 Release)
correction : it does run ... i forgot UserName and Password as Parameter
greetings by OHR
Jimmy |
| Osvaldo L Aoki | Re: Error opening excel Activex in Office 2010
on Fri, 25 Mar 2011 10:40:29 -0300HI Auge,
Running CMD as Administrator I registered dsoframer.ocx....
After it, it works well....
Sorry, I just forgot this detail....
Thanks a Lot...
Osvaldo L Aoki
"AUGE_OHR" escreveu na notícia da
mensagem:2186b7ee$52e2e534$4556b@news.alaska-software.com...
hi,
> I think the problem is in registering DSOFRAMER.OCX on Windows 7.
> What is correct procedure to register DSoframer on Windows 7 ?
not shure if it run under Win7. use "runas Administrator" to RegSvr32
just "test" my Sample ... it does not run under Win7 (with SP1 Release)
... but when i use VX20.EXE as Debugger it will run ... hm ...
greetings by OHR
Jimmy |
| Jorge L | Re: Error opening excel Activex in Office 2010
on Fri, 25 Mar 2011 09:08:31 -0300i Osvaldo
which error give it when you open the activex ?
trusted security zone ?
"Osvaldo L Aoki" escribió en el mensaje de
noticias:76d0f27c$4a97681d$4590b@news.alaska-software.com...
Hi,
I am getting error on opening excel Activex in Office 2010:
My function works well on Office 2007 or 97
Current command to open below..
Any People can Help me ?
Thanks
Osvaldo L Aoki
Function Excel_CreateExcel( lNew, cSheet )
local oExcel
oExcel := CreateObject("Excel.Application")
if empty( oExcel)
ms_msg("Excel nÆo est instalado neste computador !")
return nil
endif
oExcel:DisplayAlerts := .F.
oExcel:visible := .F.
if lNew <> nil .and. lNew
oBook := oExcel:workbooks:Add()
if cSheet == nil
oSheet := oBook:ActiveSheet
else
oSheet:Name := cNome
oSheet:Activate()
endif
endif
return( oExcel ) |