Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / November 2006

Tip: Looking for answers? Try searching our database.

Encapsulate Forms in one Window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
undrline - 09 Nov 2006 01:20 GMT
I'm trying to figure out how to make all my forms open in the same window,
even if the user has
Tools>Options...>View (tab)>Windows in Taskbar (checkbox)
checked.  I'd prefer not to modify their settings, and just encapsulate my
database.

I'm a newbie, so speak slowly :)
Damian S - 09 Nov 2006 01:50 GMT
To have that sort of control over your application you will need to use VB,
which handles MDI (multiple document interface) forms.

Damian.

> I'm trying to figure out how to make all my forms open in the same window,
> even if the user has
[quoted text clipped - 3 lines]
>
> I'm a newbie, so speak slowly :)
undrline - 09 Nov 2006 18:54 GMT
Okay.  Thank you for your response.  Do you mean VBS instead of VBA, and
there's a different forum I should be posting to? or could you help me out
with the script?

>To have that sort of control over your application you will need to use VB,
>which handles MDI (multiple document interface) forms.
[quoted text clipped - 6 lines]
>>
>> I'm a newbie, so speak slowly :)
Mike - 09 Nov 2006 19:20 GMT
Not VBS but Visual Basic or Visual Basic.NET. Here are related discussion
groups:

VB - http://www.vbmonster.com
VB.NET - http://www.dotnetmonster.com
undrline - 15 Nov 2006 20:51 GMT
And, if I'm willing to change the user's settings, how would I write the If
statement?  Here's my broken example:

' If Statement
If Application.SetOption("ShowWindowsInTaskbar",False) Then  ' BROKEN LINE
strWIT = "Off"
Else
strWIT = "On"
End If

' Do it the way I want
Application.SetOption "ShowWindowsInTaskbar", False

' Set it back the way it was before quitting
If strWIT = "On" Then
Application.SetOption "ShowWindowsInTaskbar", True
End If

DoCmd.Quit

>Not VBS but Visual Basic or Visual Basic.NET. Here are related discussion
>groups:
>
>VB - http://www.vbmonster.com
>VB.NET - http://www.dotnetmonster.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.