Solved

Opening MSAccess Form from Desktop shortcut without Access window itself opening

Posted on 2004-10-07
7
159 Views
Last Modified: 2013-12-26
Hi all,

I have an MS Access form which is used to display reports according to the combination chosen in it's combo boxes. I wanted to know if there is a way in which i could create a shortcut for the form on my desktop so that whenever i click it the form opens but without the accompanying window of MS Access. I have tried creating an autoexec macro which opens this form in the 'Dialog' view and have set the 'Dont display databse window' in startup but still the main Access window is displayed.

Chow
Goels
0
Comment
Question by:Goels
  • 3
7 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 12248258
I don't think it's possible, because a form is like a child-window in an MDI-application.
If you open the subform, you'll always have to open the main-form.
0
 

Author Comment

by:Goels
ID: 12248297
But isn't there some say 'Hide Window' command or such which could be used in VBA, with window being the name of the main Access window.

0
 
LVL 53

Expert Comment

by:Dhaest
ID: 12248352
Found at another forum. Don't know if it works

Forms!frmname.Visible = True
fSetAccessWindow (SW_SHOWMINIMIZED)
DoCmd.OpenForm "frmname"

I just visible=false the forms rather than minimize them.
Then this code hides the access window again and unhides the form.


http://www.utteraccess.com/forums/printthread.php?Cat=&Board=83&main=532529&type=thread
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 12248360
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12989052
PAQed with no points refunded (of 250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question