PC Review


Reply
Thread Tools Rate Thread

changing "trusted publishers" via vba

 
 
thread
Guest
Posts: n/a
 
      19th Nov 2006
Hi all,
I'm trying to make a change in the macro security via vba,
i know that there is an option like this in access for hide or show the
toolbar
all i need to do is
enter "tool"
go to "macro"
"then "security
choose and "trusted publishers" tab
and "check" or "uncheck" the "Trust Access To Visual Basic Project

any ideas?

 
Reply With Quote
 
 
 
 
Robin Hammond
Guest
Posts: n/a
 
      20th Nov 2006
For good reason, it can't be done.

You might be able to do something through sendkeys, but I have not tried it,
and would be very annoyed if someone did try it on my machine through code.

Robin Hammond
www.enhanceddatasystems.com


"thread" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
> I'm trying to make a change in the macro security via vba,
> i know that there is an option like this in access for hide or show the
> toolbar
> all i need to do is
> enter "tool"
> go to "macro"
> "then "security
> choose and "trusted publishers" tab
> and "check" or "uncheck" the "Trust Access To Visual Basic Project
>
> any ideas?
>



 
Reply With Quote
 
thread
Guest
Posts: n/a
 
      20th Nov 2006
unfortunately the use of sendkey for this metter is an optional,it is
working as i wanted but i prefer to have a normal member/controls
procedure instead
i have an example of something close
CommandBars("Menu Bar").Controls("Tools").Controls("Database
utilities").Controls("Compact and repair
database...").accDoDefaultAction

Robin Hammond лъб:
> For good reason, it can't be done.
>
> You might be able to do something through sendkeys, but I have not tried it,
> and would be very annoyed if someone did try it on my machine through code.
>
> Robin Hammond
> www.enhanceddatasystems.com
>
>
> "thread" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi all,
> > I'm trying to make a change in the macro security via vba,
> > i know that there is an option like this in access for hide or show the
> > toolbar
> > all i need to do is
> > enter "tool"
> > go to "macro"
> > "then "security
> > choose and "trusted publishers" tab
> > and "check" or "uncheck" the "Trust Access To Visual Basic Project
> >
> > any ideas?
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trusted publishers PeterNL Microsoft Excel Misc 0 17th Feb 2010 05:14 PM
A question about Trusted Publishers... =?Utf-8?B?SVRfcm9vZmVy?= Microsoft Excel Programming 1 24th Jul 2007 03:44 PM
option for trusted publishers =?Utf-8?B?bWFyeWo=?= Microsoft Access 0 11th Aug 2005 03:48 PM
Cookies will not enable even after changing settings for "Security" and "Privacy" tabs in "Internet Options", any suggestions? =?Utf-8?B?dGlhbmltaA==?= Windows XP Help 2 27th Jan 2004 12:46 AM
Manual "Windows Update" produces "ActiveX/active scripting" error message even with "LOW" security level setting in "Trusted" Zone Ray2 Windows XP Help 1 14th Nov 2003 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:52 AM.