Jump to content
Macro Express Forums

Newbie Question: Starting Macro Via Javascript?


cflannagan

Recommended Posts

Sorry,

I don't know; try yuor main "Run" command line at Windows start button; if that runs it ok, I would need to know more about js; ? a js forum?; 

best, randall

Yup, it runs ok from Run command.

 

I don't have any luck running it from ASP.NET either.. I used the following method:

 

System.Diagnostics.Process.Start("C:\MyFolder\VT_Login.mxe")

 

which I imagine would run ok because the windows environment already have the Macro Express file association with .mxe.

 

And also the following won't work either (code is in VB.NET):

 

Dim sMeprocLoc As String = "C:\Program Files\Macro Express3\meproc.exe"
Dim sParam As String = "/MXEC:\MyFolder\VT_Login.mxe"

System.Diagnostics.Process.Start(sMeprocLoc, sParam)

 

 

I do see MeProc process being started in the Task Manager, though.. but the username was "ASPNET".

 

Simple for me to get it running from command line, but I'm having a lot of trouble trying to run it from javascript, ASP.NET, or some remote means.. hmmm..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...