Re: How to start MS Access 2003 app from vb.net app

From: Brian (bcap_at_IHATESPAMclara.co.uk)
Date: 03/04/05


Date: Fri, 4 Mar 2005 17:58:46 -0000


"Brendan Reynolds" <anonymous at discussions dot microsoft dot com> wrote in
message news:unZZCKAIFHA.3936@TK2MSFTNGP10.phx.gbl...
> Thanks for that Brian. This is just my opinion based on a few cursory
tests,
> so I could be wrong, but the way it looks to me so far is that the help
> topic is just poorly phrased. As far as I can see, Command/Command$ is
> always available in VBA, but most Office applications (I checked Word and
> Excel help, I haven't checked PowerPoint) don't support the /cmd start-up
> switch, so when using these applications, while the Command function is
> available, there's nothing for it to return. I expect (though I have not
> tested this) that Command$() will always return an empty string in Office
> applications other than Access. I have not tested whether Command()
(without
> the '$') returns an empty string or a Null value.
>
> --
> Brendan Reynolds (MVP)
>

Hi again Brendan,

I've never tried to use it outside of Access, I daresay you are right.

I use it to do exactly what the original poster wanted, i.e. to create VB
"launcher" programs which set up an Access front end environment (copy in
the latest front end, set up various other files and so on) and then launch
the Access app. Unfortunately for him, I do it with VB6, not dotnet, which
is why I didn't just post my code!

Brian



Relevant Pages

  • Re: How can I put shortcuts on my desktop in Gnome/Ubuntu?
    ... For applications that are not in a menu, locate the application, startup script, or link. ... ON the Gnome Desktop, right-click, select create launcher. ... Fill in the name, a description if you want, and the command. ...
    (alt.linux)
  • Creating shortcuts from command line
    ... Is it possible to create desktop shortcuts from the command line? ... go through the applications menu to a launcher then right click I get ...
    (linux.redhat)
  • Re: Weird situation
    ... output scrolling out and thinking why can't I do this in DOS? ... the introduction of windoze went a long way ... at the UNIX command line as she did at the DOS command line. ... You probably won't find *nix applications that look/feel ...
    (comp.os.linux.security)
  • Re: Stopping OS X from cascading windows
    ... Command + / is the most commonly ... You can use the Keyboard pref pane to set a shortcut, ... work in Cocoa applications that have an appropriate menu item. ... Make a Windows skin so people ...
    (comp.sys.mac.system)
  • Re: command line print of file
    ... these files associated to their proper applications. ... printer by dragging the documents/files in Windows to the printer I'm wanting ... I know I can open a file from the run line or dos command line with a file ... Some Microsoft Office applications have Object Linking and Embedding ...
    (microsoft.public.windowsxp.print_fax)