dbTalk Databases Forums  

Editing the registry using VB Script

comp.database.ms-access comp.database.ms-access


Discuss Editing the registry using VB Script in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Dauria
 
Posts: n/a

Default Editing the registry using VB Script - 08-26-2004 , 10:23 AM






I have an application that prints a Word mail merge in the background.
That now fails in Office 2003 because Word is sitting in the
background waiting for the user to give confirmation that it is okay
to run an SQL Statement. I found on Microsofts website that I need to
add this registry key to bypass the message

For Word 2003

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\W ord\Options

"SQLSecurityCheck"=dword:00000000

1. Start Registry Editor.
2. Locate and then click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\W ord\Options
3. Click Edit, point to New, and then click DWORD Value.
4. Under Name, type:

SQLSecurityCheck
5. Double-click SQLSecurityCheck.
6. In the Value data box, type:

00000000
7. Click OK.

Any VB script experts around that could tell me how to do this in a
script so that I don't have to go around to a whole bunch of end user
machines and manually add this key? TIA

Reply With Quote
  #2  
Old   
Iman Mayes
 
Posts: n/a

Default Re: Editing the registry using VB Script - 08-30-2004 , 10:43 AM






Try this link:

http://www.mvps.org/access/tables/tbl0010.htm

They actually have code for relinking tables, but they included
registry stuff in there.

Iman

tdauria (AT) bu (DOT) edu (Tom Dauria) wrote in message news:<56ec1535.0408260723.5f48dedc (AT) posting (DOT) google.com>...
Quote:
I have an application that prints a Word mail merge in the background.
That now fails in Office 2003 because Word is sitting in the
background waiting for the user to give confirmation that it is okay
to run an SQL Statement. I found on Microsofts website that I need to
add this registry key to bypass the message

For Word 2003

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\W ord\Options

"SQLSecurityCheck"=dword:00000000

1. Start Registry Editor.
2. Locate and then click the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\W ord\Options
3. Click Edit, point to New, and then click DWORD Value.
4. Under Name, type:

SQLSecurityCheck
5. Double-click SQLSecurityCheck.
6. In the Value data box, type:

00000000
7. Click OK.

Any VB script experts around that could tell me how to do this in a
script so that I don't have to go around to a whole bunch of end user
machines and manually add this key? TIA

Reply With Quote
  #3  
Old   
alessandro
 
Posts: n/a

Default Re: Editing the registry using VB Script - 09-02-2004 , 09:12 AM



Tom Dauria wrote:

Quote:
Any VB script experts around that could tell me how to do this in a
script so that I don't have to go around to a whole bunch of end user
machines and manually add this key? TIA
You could make a .vbs (vbscript) file but you still should run it on
every single client.
ilvecchioalex


--
Per rispondermi tieniti... ilregalo!
Keep... "ilregalo" to answer!


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.