anybody know what each of these values do.. say for example I want to enable the print options in access runtime..
David |
top
|
Have you searched MSDN David ?
|
yes and technet and google :(
|
|
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 |
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 |
All times are GMT +1. The time now is 01:46 PM. |
© 2024 MH Sub I, LLC dba Internet Brands