Running modules in other apps

  • 19 years ago

    is it possible to run a module in another application just by calling it?


    or a way to set a default module to run on startup in Access VBA?

  • 19 years ago

    tomjowitt said:

    Quote:
    is it possible to run a module in another application just by calling it?


    No. The only way to do this would be to create a class module and create an ActiveX DLL/EXE. Alternatively, you could specify a command line parameter (ie myapp.exe /u), and then the other app could run a procedure in the module when /u is present in Command$


    Quote:
    or a way to set a default module to run on startup in Access VBA?


    Don't know about that one, I'm afraid....

  • 19 years ago

    ok, thanks a lot .... i'll figure out some other way

  • 19 years ago

    Go to Tools > Startup... and you can specify options there.  While there is no way to specify a module, you can just specify a form and put the code in there, then close the form.  Just a thought...

  • 19 years ago

    thanks a lot ... that solved the problem

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Memory is like an orgasm. It's a lot better if you don't have to fake it.” - Seymour Cray