Alex & Access

News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
My Photo
Name:Alex Dybenko

Location:Moscow, Russia
Google
 
Web AccessBlog.net

Friday, February 17, 2006

Be careful with Kaspersky Anti-Virus!

Yesterday I got a phone call from my client, he told that a new version, I sent recently, does not work and produce a lot of errors. Weird! I changed only a query in last version, and did not even touch VBA code. So I start to ask him what he did before <g>, with his PC, and he told me, that he just installed (or upgraded) Kaspersky Anti-Virus. Yes, this is it! Kaspersky Anti-Virus blocks some VBA code in order to prevent macro viruses run. So this was a source of the problem. Fortunately – there is an option, where you can switch off VBA blocking.

First time I noticed this long ago, in Access 2000 time. I have installed my application on a new PC with Office 2000 – and it did not work. I started to debug, and found that some function simply not working. It took me some time to find out that is was Kaspersky Anti-Virus – I had reregistered VBA libraries, reinstalled Office. I think default behavior should be – than Anti-Virus gives user a message that it blocks VBA, when application starts.

2 Comments:

Anonymous Anonymous said...

I discovered the same problem when I wanted to used the wizard to create a form.

Where is the option, where you can switch off VBA blocking in the KasperSky Antivirus?

Can any one help?

khhandal@yahoo.com

2:11 AM  
Blogger Alex Dybenko said...

I don't have Kaspersky around (anymore), but if you look carefully at it opions dialog - you certqinly find it

6:53 PM  

Post a Comment

Links to this post:

Create a Link

<< Home