22. september 2005 - 10:05Der er
15 kommentarer og 1 løsning
Access lukkes ikke ved brug af DoCmd.Quit - hvorfor
Hej Jeg har det problem, at mit program lukker når jeg bruger DoCmd.Quit, men umiddelbart efter åbnes et tomt Access-vindue, som jeg efterfølgende kun kan lukke vha. joblisten !!
Gode idéer til hvordan jeg kommer udover dette problem er mere end velkomne ! Kan man evt. lukke Access mere "hårdt" ??!
Normally docmd.quit should be enough. How are you starting Access?
Mads, you have a couple of old questions still open. If you havent receievd the help you wnat with those then you could palce an answer yourself and get your points back :o) And also it would reduce the still opened question in Access category from over 1000!
An dthere is NO code which could cause Access to open again? Have you tried making a very simple database with a form containing a button to close the application? JUst to see of its a general problem with your installation or jsut for the specific application.
Yes, I have tryed to locate the problem - it occurs when a form opens another form with an MapX-object (activeX-object). After closing the second form and then the first form (with docmd.quit) then the problem occurs!
it sounds to me as though there is an error in the ActiveX control. Not all ActiveX controls are designed to run in Access, many which are made for VB6 for example can run in Access, but there are also many which dont. I'v ejust looked at MapInfo's home page and cant see if it should be OK for Access, but it only says "add mapping functionality to any application - quickly and easily."!
I see you have placed a comment on MapInfo site. Maybe you will get some help there.
Ok ... it is quit complicated, cause the problem only occurs in a very specific setup ! I'll hope someone at the mapinfo forum with specific knowledge about the MapX-component can help ! But thanks very much for trying :)
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.