.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 31st, 1969, 07:00 PM
AppWinStyle.MinimizedFocus
Guest
ASP Free Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
100000)<br /><br /><br /><br />------------<br />Phil at 3/29/2002 11:20:17 PM<br /><br />Within my

<i><b>Originally posted by : P (aspemail@yahoo.com)</b></i><br /><br />This is from MSDN, did you try this?<br /><br />If the Pathname argument supplies the directory path as well as the file name, it is a good idea to enclose the entire specification in quotes, as the following example shows:<br /><br />ID = Shell("""C:Program FilesMyFile.exe"" -a -q", , "TRUE

Reply With Quote
  #2  
Old March 30th, 2002, 02:20 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
VB.NET Shell Function

<i><b>Originally posted by : Phil (philbsmith@comcast.net)</b></i><br />Within my VB.NET .aspx page, I need to run a program (TextSound) that accepts some parameters and produces a .wav file, which I then embed in the page output.<br /><br />When I select RUN from the START menu and copy and paste in the string that my .aspx page uses, it works fine. A sample string (s) that works is:<br /><br />"C:Program FilesTextSoundTSC.EXE" /s "talk to me" "c:inetpubwwwrootphilsmith empvoicevoice4.wav" "Adult Female #2, American English (TruVoice)"<br /><br /><br />When I use the VB.NET shell function:<br /><br />fc = Shell(s, AppWinStyle.MinimizedFocus, "TRUE")<br /><br />the file doesn't get created.<br /><br />I have write permissions set on the directory in which I creating the file.<br /><br />Any help would be appreciated.<br /><br />Thanks much -- Phil<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > VB.NET Shell Function


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT