473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to force a dialog Box to close without VBA

Hello,

I have a big issue. I have program a login screen on my access database but I disabled "Allow editing", so now I'm stuck on the login screen. The Close button and the short menu are also disabled so no way to close it through those ways.
Please help me this project is very important
Thank you
Mar 26 '18 #1
3 1785
twinnyfo
3,653 Expert Mod 2GB
Hit Alt-Fll

Then in the immediate window type:

Expand|Select|Wrap|Line Numbers
  1. DoCmd.Close acForm, "Your Form Name"
Hope this hepps!
Mar 26 '18 #2
NeoPa
32,556 Expert Mod 16PB
Ctrl-F4 should work for you.

In most cases, it's not a good idea (It's a very bad idea!) to manage users separately for your database. Unless you have a very good reason not to, use the account the user logged onto the computer or domain with to determine their rights.
Mar 26 '18 #3
twinnyfo
3,653 Expert Mod 2GB
This article may provide some insights as to what NeoPa is talking about. Not a perfect solution for everyone, but might get you on a path to something more usable.
Mar 26 '18 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Walter Beierdonck | last post by:
Hi, I've written a script dat has to run with a windows-shortcut... ex: http://www.domein.com/script.php This is my script: <html> <head> <script> var howLong = 2000;
1
by: Apple | last post by:
hi is there any way to invoke a .udl dialog in my program i have to dynamically create a data connection string and i dont want to create a new udl file. Is there any objects which will meet...
2
by: | last post by:
Hi all, I need to be able to hide a child form (e.g. an about box) when the user closes it with the Close icon in the title bar (control menu), but I need only to hide the form and not to...
3
by: JimO | last post by:
Is there a way to force a post without using submit button? Thanks, Jim
2
by: peter.mcclymont | last post by:
Hi There, I am using a PrintPreviewDialog and I would like it to close the print preview dialog when I press the escape key. What is the best way to do that? I tried to make myself a new...
1
by: Smita Kashyap | last post by:
Hello Great Developers I am working in Asp.net 2.0. I want to know how to identify that our web application is close so that cookies get expire.Actually I want to expire cookies whenever web...
1
Shashi Sadasivan
by: Shashi Sadasivan | last post by:
Hi all, I have got my windows app to handled any UI or unhandled exceptions. following is the code static class Program { /// <summary> /// The main entry point for the...
2
by: tovishal2001 | last post by:
Hi, I am trying to read first 6000 bytes from a webpage, using StreamReader.Read(buffer, offset, no_of_bytes_to_read) method and trying to close the connection. Because, the useful data I need is...
2
by: spv2 | last post by:
this is dialog open function and i am calling it from page behind. function OpenDialog(url) { $('#searchDialog').dialog({ autoOpen: false, ...
1
by: manhart | last post by:
hello everyone! is possible to force to close an open access file through other file using vba? thanks!
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.