Running VB Scripts in Office 2003

Running VB Scripts in Office 2003

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Running VB Scripts in Office 2003 djohnson 03-22-2006
Posted by djohnson on March 22, 2006, 4:52 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi, I suspect a security issue is preventing a script from running in
an Access 2003 form, but have not found any acknowledgement of this
possibility in the Access group, so I thought I'd try asking here.

Since we made some security changes (e.g. deleting the administrator
account under which the file was originally created) an Access Script
like the one below always fails. The security level on the .mdb file
is set to low. No error messages appear other than my own MsgBox.
Does Application.FileSearch requires any knd of security credentials?
The reason I ask is because I recently found out that InfoPath in
Office 2003 does not allow VB Scripts to be run without some security
in place.


SourceDir = "G:\test\"
With Application.FileSearch
.NewSearch
.LookIn = SourceDir
.SearchSubFolders = False
.Filename = ".txt" ' also tried "*.txt"
If .Execute() > 0 Then ' doesn't go past here even
though files exist in G:\test
MsgBox "Success ??"
Else
MsgBox "Execute() - failed"
End If
End With


Similar ThreadsPosted
Office 2003 and Vista September 10, 2008, 10:10 pm
Security Warning about Macros in Office 2003 April 5, 2006, 8:39 pm
Office 2003/Windows Installer meltdown April 7, 2007, 11:00 am
Office 2003, Internet Exployer Activex issue October 30, 2007, 11:53 am
Windows 2003 running program only allowed after rightclick and Run July 16, 2007, 9:24 am
DFS and warnings about scripts January 6, 2006, 1:05 pm
Scripts Encreption February 28, 2006, 10:17 am
IIS Sample website and scripts July 25, 2007, 4:34 am
Warning: This page requires the use of scripts, which your browser October 15, 2008, 10:27 am
Office Install July 10, 2005, 5:07 pm

The site map in XML format XML site map

Contact Us | Privacy Policy