Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Sandbox related...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 30264 of 31596
Post > Topic >>

Sandbox related question (are we sick of these yet?!)

by "james_keegan via AccessMonster.com" <u26538@[EMAIL PROTECTED] > May 14, 2008 at 04:44 PM

I have one of those unanswerable 'why' questions.

The 'control wizards', like for buttons and such, make extensive use of
the
'DoCmd' keyword.

E.g. if you use the button wizzard to add a button to a form, and tell the
wizard that you want that button to open up a form, you get VBcode that
says:

"DoCmd.OpenForm stDocName, , , stLinkCriteria"

Now, since 'DoCmd' is one of the MANY functions/expressions that are
blocked
by 'sandbox mode', how are we supposed to re-write the code to make a
button
open up a particular form in a way that *won't* get blocked by sandbox
mode?

(and here comes the unanswerable 'why') Why would the wizards still use
'dangerous expressions' to do what needs doing?  (Or is there no better
way,
and MS is merely trying to feed more money to the third-party certificate
authorities?)

We aren't nearly big enough to need a Certificate Authority.
Is there a way to use a 'self-certified cert'?

I'd like to not have to turn off sandbox mode just to be able to run my
own
code!  So if I could re-write the code to comply with the sandbox rules,
that'd be great.  So how do I get VBcode to open a form without using
'docmd.
openform'?

(If I wrote a WSH-type script to turn the sandbox on or off via the
registry,
would a user without admin rights be able to do that?  Or would I need
some
sort of 'run as...' thing?)

jk

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/200805/1
 




 4 Posts in Topic:
Sandbox related question (are we sick of these yet?!)
"james_keegan via Ac  2008-05-14 16:44:32 
Re: Sandbox related question (are we sick of these yet?!)
"Rick Brandt" &  2008-05-14 17:32:23 
Re: Sandbox related question (are we sick of these yet?!)
Tom van Stiphout <no.s  2008-05-14 21:05:20 
Re: Sandbox related question (are we sick of these yet?!)
lyle fairfield <lyle.f  2008-05-15 02:32:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 11:41:16 CST 2008.