
March 30th, 2002, 02:20 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
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 />
|