Excute a program

  • Thread starter Thread starter Marco
  • Start date Start date
M

Marco

Hi.

I have PC one and PC two. In PC one I have nicelabel (nicelabel is an
application to create and print lables) installed with a specific label.

I would like to make it run that label from an access form. Is it possibel?

Regards,
Marco
 
Hi Marco,

I may be a little confused: what are you trying to do with PC two? If you
are trying to run a program that is installed on PC one from PC two, you may
run into issues (not to mention license violations).

To run everything from PC One: open your form in design mode, add a button.
In the OnClick event of that button, type:

Dim strPath as string

'replace the brackets and the text contained in them below with the full
path (including the .exe extension) that the executable is stored in
strPath = "<Path to NiceLabel>"

Application.FollowHyperlink strPath

Hope that helps
 
Marco said:
Hi.

I have PC one and PC two. In PC one I have nicelabel (nicelabel is an
application to create and print lables) installed with a specific label.

I would like to make it run that label from an access form. Is it
possibel?


The Shell function can run an application, given the path to the executable.
You'll find it in the online help, though depending on your version of
Access you may have to search help from the VB Editor window, rather than
the Access application window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Address Labels 1
Printing Label from Access 1
Printing one label 3
Incresase the Excution Time? 2
printing 2
Labels - Multiple copies of same info 4
Label printer sharing 1
Printing of mailing labels 3

Back
Top