launching asp.net code without IE popping up.

  • Thread starter Thread starter Guest
  • Start date Start date
RickH said:
I need to call some asp.net code on my Website to start some processing.
I use :
WSHShell.Run("http://nnn.nnn.nn.nnn/haldb.net/frmDocumentMailer.aspx", 1,
False)
Unfortunately, this method causes IE to pop up, causing lots of problems.
Is there another way to do it that suppresses calling up IE??

Where exactly did you place that code? Maybe using 'HttpWebRequest' is an
option.
 
This code is used in Infopath forms, after I submit to a SQL db, I start some
processing.
I also use it in some standalone Windows forms that I schedule to start
processing at specific times..
 
Sounds like a good candidate for a web service, but I may be missing
part of the thread.
 
Never used a Web service before.
The asp.net code is called from the Website internally by other code and has
to be called manually from clients.
No response is needed--everything is logged to SQL.
 
well, I tried using
httpwebrequest.getresponse
and ignored anything returned (I looked at what was returned and it looked
like Web header info--useless to me)
It launched the asp.net code ok--didn't seem to be any problems.
Be nice to get a usable response, but I have no idea what to do and if it
was a lot of work it wouldn't be worth it..
 

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

Back
Top