Results 1 to 11 of 11
  1. #1
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672

    Opening a form


    Is it possible to open a Visual Studio Windows Form Application, as your "startup" form when Access starts? If so, how would I begin to do this?

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    the question is, WHY?

  3. #3
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    Yet again, I am trying to decipher how a database that someone else designed works. And there is a form that opens @ startup, but if I go to tools, startup, and look for a startup form there isn't one specified. So, my thought process was, maybe they have a VSFA opening and running once Windows Opens.

    Maybe not even possible, Maybe not even the case! Just curious if it is possible, and if so, how to find out. I tried to run a dependency analyzer (Dependency Analyzer is what it is called) to find out, and unfortunately, it can not even complete running until it tells me that the computer is out of memory, so I am SOL on that one.

  4. #4
    Rod is offline Expert
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    ... er - sorry to butt in. Have you looked for a macro called 'autoexec?'

  5. #5
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    No, I haven't. I haven't quite understood how to read/decipher macro's. I usually convert them to a vb procedure, and follow the code there, but I recently found out that is not actually a good idea to do.

  6. #6
    Rod is offline Expert
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    What I meant is that the legacy way of displaying a form at start-up is to code a macro called 'autoexec' to display that form.

  7. #7
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    I looked at the auto-exec macro and it is calling a form to open at startup, but that form is not in the database that it is opening in. I don't see in the macro a location of where it is calling the form from either?!

  8. #8
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Quote Originally Posted by jo15765 View Post
    I looked at the auto-exec macro and it is calling a form to open at startup, but that form is not in the database that it is opening in. I don't see in the macro a location of where it is calling the form from either?!
    Perhaps the form is HIDDEN. You would need to right click on the Navigation Pane at the top just above the part which you select which objects you like to see and select PROPERTIES. Then make sure the SHOW HIDDEN checkbox is checked.

  9. #9
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    If I right click on the blue directly above where it shows where it shows my objects, I get an option that says database properties, which has tabs --- General, Summary, Statistics, Contents, Custom --- I don't see a show hidden check box on any of those tabs?

  10. #10
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Quote Originally Posted by jo15765 View Post
    If I right click on the blue directly above where it shows where it shows my objects, I get an option that says database properties, which has tabs --- General, Summary, Statistics, Contents, Custom --- I don't see a show hidden check box on any of those tabs?
    Oops, sorry. I somehow mistook your Access 2000 for 2007. So, it would be at TOOLS > OPTIONS and then on the view tab.

  11. #11
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    Ah, that was it! Now I can see the form that is being called at startup! Now only if I can figure out what it requires to run all of it's functions!!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Form opening too large
    By BigCat in forum Forms
    Replies: 2
    Last Post: 08-31-2015, 10:46 AM
  2. Replies: 5
    Last Post: 03-11-2011, 10:29 PM
  3. Opening Report From Form
    By injanib in forum Forms
    Replies: 4
    Last Post: 02-08-2011, 08:44 AM
  4. Replies: 1
    Last Post: 11-09-2010, 03:02 PM
  5. popup when opening a form
    By ajetrumpet in forum Forms
    Replies: 1
    Last Post: 10-08-2010, 09:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums