﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>The VNC Manager - SmartCode Solutions Forum / SmartCode VNC Manager / Feature Requests  / Error code message / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>The VNC Manager - SmartCode Solutions Forum</description><link>http://www.s-code.com/forum/</link><webMaster>forums@s-code.com</webMaster><lastBuildDate>Thu, 08 Jan 2009 13:53:07 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>The idea is for the vbs script to return the error code.&lt;/P&gt;&lt;P&gt;Eg for putty:&lt;/P&gt;&lt;P&gt;Dim Args&lt;BR&gt;set Args = WScript.Arguments&lt;BR&gt;Set WshShell = WScript.CreateObject("WScript.Shell")&lt;BR&gt;ip = Args.Item(0)&lt;BR&gt;WshShell.Run "putty -ssh " &amp;amp; ip, 1, false&lt;BR&gt;WScript.Quit 999</description><pubDate>Tue, 11 Jul 2006 12:22:38 GMT</pubDate><dc:creator>cse</dc:creator></item><item><title>RE: Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>since v3.1 was never released and scraped in favor to v3.5, so this feature didn't make it too ..just kidding :)&lt;BR&gt;&lt;BR&gt;But anyway, it's not implemented yet. What you actually suggesting will require a GUI that will allow the end user to build some conditions. I'm not sure how many users would use such feature. Could you please give an example of a typical use case for such? You mention Putty... but I don't see why current error conditions are not enough to satisfy Putty's needs ?</description><pubDate>Fri, 07 Jul 2006 05:13:32 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>Has this been do able?</description><pubDate>Fri, 07 Jul 2006 04:10:28 GMT</pubDate><dc:creator>cse</dc:creator></item><item><title>RE: Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>[quote]What about not returning an error message?[/quote]&lt;/P&gt;&lt;P&gt;I think this is doable. Will add it to the v3.1 features list.</description><pubDate>Mon, 21 Nov 2005 00:05:16 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>RE: Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>Ok, that was obvious if I had looked.&lt;P&gt;What about not returning an error message?&lt;/P&gt;&lt;P&gt;Regards</description><pubDate>Fri, 18 Nov 2005 10:42:10 GMT</pubDate><dc:creator>cse</dc:creator></item><item><title>RE: Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>[quote]As an aside, can I call vbs scripts direct? I currently just use a batch file to pass on the same arguments to a vbs script - not a major issue, but tidys things up[/quote]&lt;/P&gt;&lt;P&gt;Yes, you can do it. Actually two of the sample scripts (start/stop VNC service) included with the VNC Manager are vbs based. When you adding new script, you should enter cscript.exe as executable name and your vbs file as argument.</description><pubDate>Fri, 18 Nov 2005 09:23:10 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>Error code message</title><link>http://www.s-code.com/forum/Topic614-4-1.aspx</link><description>While waiting for in builtin ssh and telnet capabilities, would the following be possible:&lt;P&gt;The 'do not connect on error' works great and reports the error number. If the error is a specific value then an error message box is not reported. This allows for access via vbs script to telnet or putty (or anything else) without receiving an error message.&lt;/P&gt;&lt;P&gt;As an aside, can I call vbs scripts direct? I currently just use a batch file to pass on the same arguments to a vbs script - not a major issue, but tidys things up.&lt;/P&gt;&lt;P&gt;Regards</description><pubDate>Thu, 17 Nov 2005 08:07:18 GMT</pubDate><dc:creator>cse</dc:creator></item></channel></rss>