App's form. I think it was a rather convoluted process to get a VB
App to accept commandline parameters. I read some about it once, never
"Freeserve" <nospam@bigfoot.com> wrote in message
news:blchpq$n4c$1@news6.svr.pol.co.uk...
> well its a VB app which I run from the command line like:
>
> aspsend some_text
>
> and some_text is sent to the other app. The problem is this doesn't
work
> when called from an ASP script if the VB has a form in it but does
work if
> it doesn't as in the case of writing to a file. I want to use DDE
which
> requires a form.
>
>
> "Phillip Windell" <pwindell{at}wandtv*d0t*com> wrote in message
> news:ezI6P63hDHA.3448@tk2msftngp13.phx.gbl...
> > If it is done with VB than it is not "commandline"!
> >
> > VB doesn't do "commandline" (aka "console" applications)
> >
> > --
> >
> > Phillip Windell [CCNA, MVP, MCP]
> > pwindell@wandtv.com
> > WAND-TV (ABC Affiliate)
> >
www.wandtv.com > >
> > "Freeserve" <nospam@bigfoot.com> wrote in message
> > news:blcef3$lks$1@newsg2.svr.pol.co.uk...
> > > I have 1 app running on the server that communicates with the
serial
> > port
> > > (sending data) and listens for DDE from either a local app,
netDDE
> > or from
> > > the web server via the command line app. The communication
between
> > the web
> > > server and the app doesn't have to be DDE, I used it because it
if
> > fairly
> > > easy to implement in VB6. I have seen examples using a very
similar
> > method,
> > > but the ran on PWS not IIS. PWS has an option to 'allow
interaction
> > with
> > > the desktop' that IIS doesn't seem to have. I think you are
correct
> > about
> > > DDE as it is not supported in VB.NOT, but using COM as an
> > alternative is
> > > difficult in VB6.
> > >
> > > In summary the user submits a form that sends some text to the
> > serial port.
> > > The VB bit if for checking an to allow another GUI to also use
the
> > same
> > > port.
> > >
> > >
> > > I had hoped to get the communication with the serial port to be
2
> > way, but
> > > one way will do for now!
> > >
> > > Any suggestions?
> > >
> > >
> > > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
> > message
> > > news:%230iukW2hDHA.1508@TK2MSFTNGP10.phx.gbl...
> > > > Even if it's a GUI app, you may still be able to run it on the
> > server.
> > > But
> > > > it's better to use applications that are created for running
sans
> > GUI.
> > > >
> > > > I could have sworn I heard rumors about DDE being added to
> > Microsoft's
> > > > "Deprecated Technologies" list. I'm not sure how true that
is, as
> > I
> > > believe
> > > > that netdde still exists in 2003, at least.
> > > >
> > > > What are you trying to do here? Have a user submit a form,
and
> > then your
> > > > asp page will call one VB app which will then call another?
If
> > so, the
> > > > issue is with your VB app.
> > > >
> > > > Ray at work
> > > >
> > > >
> > > > "Freeserve" <nospam@bigfoot.com> wrote in message
> > > > news:blc29g$ua4$1@news7.svr.pol.co.uk...
> > > > > It's not ActiveX as you may have guessed. I am using
> > Wscript.Shell, but
> > > > > this doesn't work if the VB project has a form in it. If it
has
> > no form
> > > I
> > > > > can take the command$ argument and write it to a file. To
use
> > DDE I
> > > need
> > > > a
> > > > > form with a TextBox. Even though the form doesn't display I
> > think it
> > > > causes
> > > > > a problem when run from Wscript.Shell because you have to
load
> > the form
> > > > even
> > > > > if it doesn't display. (I am guessing here).
> > > > >
> > > > > BTW I don't have to use DDE if you can suggest a better way.
I
> > just
> > > need
> > > > to
> > > > > pass some text from an ASP script to a running VB app on the
> > server.
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>