Solved

Opening MSAccess Form from Desktop shortcut without Access window itself opening

Posted on 2004-10-07
7
158 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 68
vb6 programatically bring window to front 8 72
Macro Excel - Multiple If conditions 2 72
Help me. 3 56
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 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