Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

HKCU\Software\Microsoft\Office\8.0\Access\Settings \CommandBars

Thread Tools
 
Search this Thread
 
Old 18 February 2003, 04:55 PM
  #1  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

anybody know what each of these values do.. say for example I want to enable the print options in access runtime..

David
Old 18 February 2003, 05:41 PM
  #2  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

top
Old 18 February 2003, 10:18 PM
  #3  
IWatkins
Scooby Regular
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
Post

Have you searched MSDN David ?
Old 19 February 2003, 10:10 AM
  #4  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

yes and technet and google
Old 19 February 2003, 10:27 AM
  #5  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

would it be useful using DoCmd.RunCommand?

http://www.tkwickenden.clara.net/coding.htm
Old 19 February 2003, 10:50 AM
  #6  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

David,

Are you using VB? Im not sure but I dont think you can import type libraries in VB can you? would make life alot easier if you could early bind the code completion would help you, anyway the commandbars and buttons are indexed lists which you can access by name or number. So in Delphi to acheive what you want with say Word using late binding I would just do:


var
bar, button, msw: olevariant;
begin

msw := CreateOleObject('Word.Application');
msw.Documents.Open(<<document name>>
msw.Visible := True;

bar := msw.CommandBars['Standard'];
bar.visible := True;

button := bar.controls['Print'];
button.enabled := False;

end;

This should give you an idea.

Cheers

Gary
Old 19 February 2003, 11:11 AM
  #7  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

what it is...

there are loads of databases about the business, licences for access are expensive, so we are using access runtime... however someone has added the registry key above.. and it removes the menus from all databases... including the print option which they want..

David
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
Brumguy34
Subaru Parts
8
04 October 2015 07:51 PM
Wurzel
Computer & Technology Related
10
28 September 2015 12:28 PM



Quick Reply: HKCU\Software\Microsoft\Office\8.0\Access\Settings \CommandBars



All times are GMT +1. The time now is 10:47 AM.