Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 9th, 2005, 07:49 AM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Execute VBS files via ASP.NET (VB.NET)

Hi all,

I've a serious problem:
I want to run a VBS-file at the server, called by an ASP.NET file (coded in VB.NET).

(Reason: The VBS-file converts every uploaded .DOC file to .PDF automatically - this works when i open it manually)

I've tryed Shell-Functions and some other Framework functions/methods, but it did not work. When i tried to open i.E. calc.exe, i see it in the task-manager (means: it is executed). When i open a .bat file, i also see cmd.exe in the task-manager, but the bat does not do what i want (echo hello>test.txt).

The IIS and ASP.NET user are setted to Administratos and have full rights to everything.

(I know that ASP.NET does not show a window when a file is executed, that does not matter - but it does matter when it does not do anything ;) )

Does anybody of you have a solution???

thanks for reading/answering,

Mario


BTW: I can not convert the VBS into my VB.NET because it's forbidden to open Office-Applications with framework functions (MS' protection).






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Execute Store Procedure with Asp.net in NHi mukeshhaval .NET Framework 3.5 0 October 15th, 2008 04:49 AM
Execute SSIS Package from ASP.NET ghari ASP.NET 1.0 and 1.1 Professional 0 June 11th, 2007 12:51 AM
send MASS Emails in ASP.NET 2 with VB.NET 2005 alexdcosta ASP.NET 2.0 Basics 1 July 17th, 2006 12:31 AM
call window dialog component with asp.net/vb.net s3ng ASP.NET 1.x and 2.0 Application Design 0 June 21st, 2005 04:54 AM
How can I execute .exe file from asp.net page suri_thanda ASP.NET 1.0 and 1.1 Professional 4 May 10th, 2005 01:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.