Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


what's wrong here?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1499
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> what's wrong here?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 what's wrong here? - 10/20/2004 4:23:51 PM   
  j

 

Posts: 5
Score: 0
Joined: 9/16/2004
From:
Status: offline
hey guys can sum1 help me here.. i dnt know what's wrong here? below is a vb script to launch a program (calculator at this one) from an onclick button. The bolded part below should execute calculator at this button called convert as explained below. Better off try viewing all of these code on a browser and u'll c what i mean.. cheers

and one more thing:when user inputs some filename, how is it saved into a variable and so we can use it as a parameter of running file ??...


hope to hear from anyone as soon as possible!!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<SCRIPT type="text/vbscript">
<!-- Hide this script from incompatible Web browsers!
sub submit_onclick
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)

end sub
<!-- -->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form name="form1" method="post" action="">

<input type="file" name="file" value="file" id="file">
Click Browse to view and select file/s to be converted.
</form>
<form name="form2" method="post" action="">
<p>
<input type="submit" name="Submit" value="Convert">
Now click the "CONVERT" button to convert the selected files to Xml
and it will generate a zip file and will store its contents inside. </p>
</form>
<form name="form4" method="post" action="">
<input type="submit" name="Submit3" value="Index">
Click here to view the contents of the zip file
</form>
<p> </p>
</body>
</html>
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> what's wrong here? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts