473,246 Members | 1,482 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

URGENT> Starting up a VB application from ASP

tim
Hi all,

I want to execute a VB application from a ASP page (not .Net). Want I want
to do is
that I write some parameters to a database and then start the external
application that will pickup these parameters and run in the background. I
looked for a sample but I can't find any. Who can help me.

Many thanks
Tim

PS
Sorry for the multi posting if this is bothering you.
Jul 16 '07 #1
7 1859
tim wrote on 16 jul 2007 in microsoft.public.inetserver.asp.general:
I want to execute a VB application from a ASP page (not .Net). Want I
want to do is
that I write some parameters to a database and then start the external
application that will pickup these parameters and run in the
background. I looked for a sample but I can't find any. Who can help
me.
Set a variable, say in the database with the ASP,
and poll it with your external script or program.
PS
Sorry for the multi posting if this is bothering you.
I bothers me that you,
while you know it is not done,
and hopefully know why it is not done,
still say(!) you did multipost [no space].

Do you know the concept of crossposting?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 16 '07 #2
tim
Als je dan ook zo bij de hand bent om hier op te reageren verwacht ik dan
ook een zinnig antwoord op mijn vraag. Klaarblijkelijk heb je hier zeker dan
geen verstand van?
Het stoort mij dat mensen te snel een oordeel geven over iets wat niet
gewenst is maar wees dan een vent en kom dan met een zinne reactie dan
alleen deze.

Tim
"Evertjan." <ex**************@interxnl.netschreef in bericht
news:Xn********************@194.109.133.242...
tim wrote on 16 jul 2007 in microsoft.public.inetserver.asp.general:
>I want to execute a VB application from a ASP page (not .Net). Want I
want to do is
that I write some parameters to a database and then start the external
application that will pickup these parameters and run in the
background. I looked for a sample but I can't find any. Who can help
me.

Set a variable, say in the database with the ASP,
and poll it with your external script or program.
>PS
Sorry for the multi posting if this is bothering you.

I bothers me that you,
while you know it is not done,
and hopefully know why it is not done,
still say(!) you did multipost [no space].

Do you know the concept of crossposting?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 17 '07 #3
tim wrote on 17 jul 2007 in microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.netschreef in bericht
news:Xn********************@194.109.133.242...
>tim wrote on 16 jul 2007 in microsoft.public.inetserver.asp.general:
>>I want to execute a VB application from a ASP page (not .Net). Want
I want to do is
that I write some parameters to a database and then start the
external application that will pickup these parameters and run in
the background. I looked for a sample but I can't find any. Who can
help me.

Set a variable, say in the database with the ASP,
and poll it with your external script or program.
>>PS
Sorry for the multi posting if this is bothering you.

I bothers me that you,
while you know it is not done,
and hopefully know why it is not done,
still say(!) you did multipost [no space].

Do you know the concept of crossposting?
[Please do not toppost on usenet, Tim]
Als je dan ook zo bij de hand bent om hier op te reageren verwacht ik
dan ook een zinnig antwoord op mijn vraag. Klaarblijkelijk heb je hier
zeker dan geen verstand van?
Het stoort mij dat mensen te snel een oordeel geven over iets wat niet
gewenst is maar wees dan een vent en kom dan met een zinne reactie dan
alleen deze.
Tim is annoyed because he thinks he has a right ot a usefull answer on
usnet and he [wrongly, IMHO] does not think my answer is. Perhaps he
thinks usnet to be a paid helpdesk.

He is also annoyed that I reacted on his probable multiposting,
which he himself(!) brought up. Perhaps he really does not know the
concept of crossposting.

So be it.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 17 '07 #4
"Evertjan." wrote:
>
Perhaps he really does not know the
concept of crossposting.
Would you provide this information about the
concept of crossposting?

— Jim Rodgers
Jul 22 '07 #5
=?Utf-8?B?SmltIFJvZGdlcnM=?= wrote on 22 jul 2007 in
microsoft.public.inetserver.asp.general:
"Evertjan." wrote:
>>
Perhaps he really does not know the
concept of crossposting.

Would you provide this information about the
concept of crossposting?
<http://www.blakjak.demon.co.uk/mul_crss.htm>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '07 #6
Tim,

"Evertjan" briefly mention an idea that I use with great success.
Let me describe what I did, and you might find some aspects of
this will work well for you.

I have web pages where customers enter data that need to
be processed by another program – and this other program
does not play well with IIS (because the IIS "user" accounts
do not have user profiles, and for many other reasons). So,
this other process runs all the time in the background, and it
monitors the database where the web page puts the customers
data.

I can run this "background" program either in the foreground
(in other words, log-in to the server and run it) or in the
background (actually) by making it into an NT Service (which
is super easy, by the way). An NT Service keeps running even
if you log-out. Also, it can be set to auto-restart in the event
it terminates abnormally.

You _could_ run it on demand by launching the program from
your web page. I assume you would use the Windows
Scripting Host object to do this. But keep in mind what might
happen if multiuple users ran this at the same time: you will
have multiple instances of the "background" process running
as a result. In that case, you need to assure your system
does not run out of resources, and that the application will
run okay in multiple instances.

In my case, this is just another reason why the web page
cannot be talking directly to the background process. Instead,
I have the background process doing a query every 500ms
to see if there are any data to process. I have a table where
new "work" is posted, and one column in that table is a status
indicator. When the status column reads a certain value, the
background process takes care of it. I believe this is the kind
of thing "Evertjan" may have been suggesting.

Good luck,

Jim Rodgers

tim wrote on 16 jul 2007 in microsoft.public.inetserver.asp.general:

I want to execute a VB application from a ASP page (not .Net). Want I
want to do is
that I write some parameters to a database and then start the external
application that will pickup these parameters and run in the
background.
"Evertjan." wrote:
>
Set a variable, say in the database with the ASP,
and poll it with your external script or program.
Jul 22 '07 #7
=?Utf-8?B?SmltIFJvZGdlcnM=?= wrote on 22 jul 2007 in
microsoft.public.inetserver.asp.general:

"Evertjan." wrote:>
>Set a variable, say in the database with the ASP,
and poll it with your external script or program.
"Evertjan" briefly mention an idea that I use with great success.
Let me describe what I did, and you might find some aspects of
this will work well for you.

I have web pages where customers enter data that need to
be processed by another program ƒ " and this other program
does not play well with IIS (because the IIS "user" accounts
do not have user profiles, and for many other reasons). So,
this other process runs all the time in the background, and it
monitors the database where the web page puts the customers
data.

I can run this "background" program either in the foreground
(in other words, log-in to the server and run it) or in the
background (actually) by making it into an NT Service (which
is super easy, by the way). An NT Service keeps running even
if you log-out. Also, it can be set to auto-restart in the event
it terminates abnormally.

You _could_ run it on demand by launching the program from
your web page. I assume you would use the Windows
Scripting Host object to do this. But keep in mind what might
happen if multiuple users ran this at the same time: you will
have multiple instances of the "background" process running
as a result. In that case, you need to assure your system
does not run out of resources, and that the application will
run okay in multiple instances.

In my case, this is just another reason why the web page
cannot be talking directly to the background process. Instead,
I have the background process doing a query every 500ms
to see if there are any data to process. I have a table where
new "work" is posted, and one column in that table is a status
indicator. When the status column reads a certain value, the
background process takes care of it. I believe this is the kind
of thing "Evertjan" may have been suggesting.
Wel yes, "Jim",

If the background programme is not interacting with the user-at-hand,
in the sense that the output is not needed for the next page or AjAX
transaction, it could be run every 30 seconds, every 5 minutes or even
twice a day. This could be easily skedueled by the/a skeduler outside the
influence of the IIS, so having none of the restrictions of the IIS-user.

I can imagine this non-interaction to be the case with a programme that
sends resulting emails that can wait some time to be sent or even are
ment to be sent at a later time, like the Google reminder service.

That way the problem of running multiple instances could be negligible.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 22 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pargat singh | last post by:
Hi Everyone I am using SQLLDR to load the data and i am getting following error SQL*Loader-908: Unable to lock table TABLE_NAME due to ORACLE error 54. Loader Cmd is SQLLDR.EXE...
2
by: Albert | last post by:
Hello all I am using a datafeed that provides me with a Javascript that spits out a bunch of hyperlinks to other locations. Her is what it looks like: <script language="javascript"...
0
by: Daniel | last post by:
HI, Does anyone know to create crystal reports with sql string (T-SQL) query..?? If have any example more prefer. thanks in advance.... daniel.
0
by: Fabrice DG. | last post by:
Hi, we've got a small security setting problem here, an as I'm new to server 2003, I can solve it alone... here is the situation : we have a web application, hosted on Windows Server 2003,...
0
by: Dheeraj Verma via DotNetMonster.com | last post by:
Hi all, I have a asp data grid under which i have another datagrid which is my user control and is autogenerated.Now I am not able to implement sorting in my inner datagrid eventhough I have...
1
by: r_tirumalasetty | last post by:
Hi All, I need to develop an application that accepts users of a company and i want to develop a code for sending messages to all the users of that company provided that all the names of users are...
0
by: DavideR | last post by:
I have developed in vs2005 an application shipped from vb6 in a machine with w2000 professional then i make with the setup wizard a setup project for my exe (all reference are added) and then...
1
by: tim | last post by:
Hi all, I want to execute a VB application from a ASP page (not .Net). Want I want to do is that I write some parameters to a database and then start the external application that will pickup...
1
by: rajasekharsiva | last post by:
hi to all, i am new to this forum and also new to xml too... i have an xpath expression to select a list of values... XmlNodeList nl=doc.SelectNodes("//group/@group_name") it can select...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.