Show IDE window from form

Is there a way to display the ide in MS Access using code? I would like to have a database form that if the user puts in the correct password the ide is displayed.
Howiee22Asked:
Who is Participating?
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Connect With a Mentor Database ArchitectCommented:
Here you go:


Private Sub Command1_Click()
   VBE.MainWindow.Visible = True
End Sub


mx
0
 
David L. HansenProgrammer AnalystCommented:
Try this:

Application.SendKeys("%{F11}")
0
 
Howiee22Author Commented:
Sorry, I didn't add one item (important). I am disabling the special keys on startup so the send key functionality does not work. Sorry, I should have included that. I was able to solve the problem using DoCmd.RunCommand acCmdDebugWindow
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.