WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE with Access

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Access Visible Problem


Question:

Why is Access visible when the message shows up, and how can i avoid that ?

Answer:

This might clear things up: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q167/6/59.asp&NoWebContent=1
;Start an instance of Microsoft Access.
appAccess = ObjectOpen("Access.Application")
;Hide the instance of Microsoft Access.
hwnd =  appAccess.hWndAccessApp
AddExtender("wwctl34i.dll")
id = cWinIdConvert(hwnd)
WinHide(id)
Pause("Access","Is hidden")
;Unhide the instance of Microsoft Access.
appAccess.Visible = @True
appAccess.UserControl = @True
Pause("Access","Is visible")

Article ID:   W16096
File Created: 2004:03:30:15:42:50
Last Updated: 2004:03:30:15:42:50