The VNC Manager - SmartCode Solutions Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Error code message Expand / Collapse
Author
Message
Posted 11/17/2005 8:07:18 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/11/2006 12:18:51 PM
Posts: 7, Visits: 10
While waiting for in builtin ssh and telnet capabilities, would the following be possible:

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.

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.

Regards

Post #614
Posted 11/18/2005 9:23:10 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 12/1/2008 10:30:35 PM
Posts: 836, Visits: 1,364
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

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.



Kindest Regards,
SmartCode Solutions Support

Post #617
Posted 11/18/2005 10:42:10 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/11/2006 12:18:51 PM
Posts: 7, Visits: 10
Ok, that was obvious if I had looked.

What about not returning an error message?

Regards

Post #618
Posted 11/21/2005 12:05:16 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 12/1/2008 10:30:35 PM
Posts: 836, Visits: 1,364
What about not returning an error message?

I think this is doable. Will add it to the v3.1 features list.



Kindest Regards,
SmartCode Solutions Support

Post #619
Posted 7/7/2006 4:10:28 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/11/2006 12:18:51 PM
Posts: 7, Visits: 10
Has this been do able?
Post #949
Posted 7/7/2006 5:13:32 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 12/1/2008 10:30:35 PM
Posts: 836, Visits: 1,364
since v3.1 was never released and scraped in favor to v3.5, so this feature didn't make it too ..just kidding

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 ?



Kindest Regards,
SmartCode Solutions Support
Post #950
Posted 7/11/2006 12:22:38 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/11/2006 12:18:51 PM
Posts: 7, Visits: 10
The idea is for the vbs script to return the error code.

Eg for putty:

Dim Args
set Args = WScript.Arguments
Set WshShell = WScript.CreateObject("WScript.Shell")
ip = Args.Item(0)
WshShell.Run "putty -ssh " & ip, 1, false
WScript.Quit 999

Post #955
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Support (s-code), Alex (s-code)

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 11:45am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.281. 10 queries. Compression Disabled.