473,396 Members | 2,029 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,396 software developers and data experts.

Calling VBS from a webservice

hi there, i have to use a statistical program called (R-Project) to
calculate some data on the server. so i decided to write a webservice that
calls the program.. but the problem is that program dont have a .net
compability for communicationg with the client. only supports JAVA and
ASP(vb script)
so i wrote a vbscript for that program but now i need to call the
"calculate.vbs" from the service. (the program must run from the
serverside).. thanx for helping. have a nice day.
Nov 19 '05 #1
3 1027
"Serdar C." <se*****@interaktif.gen.tr> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
hi there, i have to use a statistical program called (R-Project) to
calculate some data on the server. so i decided to write a webservice that
calls the program.. but the problem is that program dont have a .net
compability for communicationg with the client. only supports JAVA and
ASP(vb script)
so i wrote a vbscript for that program but now i need to call the
"calculate.vbs" from the service. (the program must run from the
serverside).. thanx for helping. have a nice day.


Assuming your service has sufficient permissions, and can see
calculate.vbs...

using System.Diagnostics;

Process objProcess = new Process();
objProcess.StartInfo.FileName = "calculate.vbs";
objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
objProcess.StartInfo.CreateNoWindow = true;
objProcess.Start();
objProcess.WaitForExit();
Nov 19 '05 #2
thank you for the information.. it was a long time not to write a program
lkie that :)

see ya

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:#s**************@TK2MSFTNGP15.phx.gbl...
"Serdar C." <se*****@interaktif.gen.tr> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
hi there, i have to use a statistical program called (R-Project) to
calculate some data on the server. so i decided to write a webservice that calls the program.. but the problem is that program dont have a .net
compability for communicationg with the client. only supports JAVA and
ASP(vb script)
so i wrote a vbscript for that program but now i need to call the
"calculate.vbs" from the service. (the program must run from the
serverside).. thanx for helping. have a nice day.


Assuming your service has sufficient permissions, and can see
calculate.vbs...

using System.Diagnostics;

Process objProcess = new Process();
objProcess.StartInfo.FileName = "calculate.vbs";
objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
objProcess.StartInfo.CreateNoWindow = true;
objProcess.Start();
objProcess.WaitForExit();

Nov 19 '05 #3
"Serdar C." <se*****@interaktif.gen.tr> wrote in message
news:ua*************@TK2MSFTNGP15.phx.gbl...
thank you for the information..
Welcome.
it was a long time not to write a program lkie that :)


???
Nov 19 '05 #4

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

Similar topics

8
by: Rob Kellow | last post by:
Hello, I'm working on an application for use within my company on our intranet that will be used to gather some information and store some of the info in a SQL Server database and the rest of the...
1
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name...
3
by: Henrik | last post by:
Hi all,,, I need to get a refferece to a XML-webservice, and get some data from it.... But I can't add it like an web-refference... What options does I else have?? I've been told that i've to...
3
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. ...
1
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.