Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access denied - OLE error from Excel 2002
Message
De
16/04/2003 02:16:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00777936
Message ID:
00778192
Vues:
27
>>Win XP Pro, Office 2002 SP1 :
>>oExcel = CREATEOBJECT('excel.application')
>>fails with 80007005 'Access denied' error.
>>Virus scanners disabled. DCOM checked to no avail. Any idea. TIA.
>>PS: It's a Dell computer preinstalled office XP small biz.
>>Cetin
>
>Have you tried
>oExcel=GETOBJECT(,'EXCEL.APPLICATION')

Thanks for replying Mike.
No I haven't tried that. I don't think getobject() has some superiority over createobject() in this situation.
Even if that works I wouldn't use it :( -explained dangers in the past here-
PS: There were no instances of Excel running.
I think this has something to do with installation of office. It works very well on other computers with XP Pro+Excel2002. Program is in use in many type of OS+Office for a long time and this is the first one I'm having trouble with.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform