Sponsored Content
Top Forums Programming Connect to UNIX server with Visual Basic Post 302365191 by SuperDuck on Monday 26th of October 2009 09:29:02 AM
Old 10-26-2009
Later Question

Is there anyway to "invoke" Putty in my application and use it to connect, send commands... etc..

Thanks in advance, and sorry for my bad english
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to connect unix server to unix server through shell scripts

Hi, I would like to connect UNIX server to UNIX server through shell scripts and i have some concepts . But i am totally confused how to connect UNIX server to UNIX server throuth running a script. It will be greatful to me if any buddy will help me. Thanks in advance. Phatan:) (2 Replies)
Discussion started by: phatan
2 Replies

2. Shell Programming and Scripting

How to connect unix server to unix server through shell scripts

Hi, I would like to connect UNIX server to UNIX server through shell scripts and i have some concepts . But i am totally confused how to connect UNIX server to UNIX server throuth running a script. It will be greatful to me if any buddy will help me. with simple example please. Thanks in... (2 Replies)
Discussion started by: phatan
2 Replies

3. Windows & DOS: Issues & Discussions

To Connect to Windows server from Unix server

Hi i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation". I am able to connect to this unix... (4 Replies)
Discussion started by: vidzz911
4 Replies

4. UNIX for Dummies Questions & Answers

Using FTP mget from Visual Basic Shell

Hi calling a batch file with FTP commands from Visual basing with Shell, it basically to copy files then delete them. The delete seems to work but the copy, it looks like the mget command doesn't have the complete information on where to copy the files. Here is the batch file content. Open... (2 Replies)
Discussion started by: Mario120560
2 Replies

5. Windows & DOS: Issues & Discussions

Start An Hummingbird Exceed Shell With Visual Basic

Hi all. I have a script that I've finished on Solaris 10 recently. Now they want me to build a GUI for it with VB. This is my first endeavour with VB. I am using Visual Studio 2008 to write the GUI. The GUI is all done and has the string var 'Command' that I want to execute in the shell. ... (0 Replies)
Discussion started by: Grizzly
0 Replies

6. Solaris

how to connect a PC terminal to UNIX server?

Hi everyone, I am new to Unix and looking for help here. we have four terminals connected to our solaris server (x86 based). the server got an interface card which provide serial port and video port for all chained terminals in a serial way. All these clients have no IP and they all display... (3 Replies)
Discussion started by: Cheong
3 Replies

7. Windows & DOS: Issues & Discussions

[Template] Send SMTP email with Visual Basic Script (vbs) from Command Prompt using CDO

This is a script in visual basic that basically sends an email from an existing account, in this case the example is provided for live.com. It uses CDO (Collaboration Data Objects). All you need to do is replace the fields with the proper information. The email is send from Command Prompt... (0 Replies)
Discussion started by: Tribe
0 Replies

8. Solaris

How to FTP (get multiple) unix files to windows using visual basic 6

How to FTP (get multiple) unix files to windows using visual basic 6. I am a list of files in my unix location, need to ftp those files to windows machine using Visual basic 6 or VBA macros. Thanks in Advance (3 Replies)
Discussion started by: sureshmani
3 Replies

9. Programming

Visual Basic converting a decimal data type to a label with currency format

Here is the code that I am working with. I have tried several other things. any suggestions? Lbl_Cost_Output.Text = (dDistance * dCostPerMile).ToString("C") The label is formatted correctly in terms of value 0.00 but no dollar sign appears. Please let me know if you have any questions. (1 Reply)
Discussion started by: briandanielz
1 Replies
send(n) 						       Tk Built-In Commands							   send(n)

__________________________________________________________________________________________________________________________________________________

NAME
send - Execute a command in a different application SYNOPSIS
send ?options? app cmd ?arg arg ...? _________________________________________________________________ DESCRIPTION
This command arranges for cmd (and args) to be executed in the application named by app. It returns the result or error from that command execution. App may be the name of any application whose main window is on the display containing the sender's main window; it need not be within the same process. If no arg arguments are present, then the command to be executed is contained entirely within the cmd argument. If one or more args are present, they are concatenated to form the command to be executed, just as for the eval command. If the initial arguments of the command begin with ``-'' they are treated as options. The following options are currently defined: -async Requests asynchronous invocation. In this case the send command will complete immediately without waiting for cmd to complete in the target application; no result will be available and errors in the sent command will be ignored. If the target application is in the same process as the sending application then the -async option is ignored. -displayof pathName Specifies that the target application's main window is on the display of the window given by pathName, instead of the display con- taining the application's main window. -- Serves no purpose except to terminate the list of options. This option is needed only if app could contain a leading ``-'' charac- ter. APPLICATION NAMES
The name of an application is set initially from the name of the program or script that created the application. You can query and change the name of an application with the tk appname command. DISABLING SENDS
If the send command is removed from an application (e.g. with the command rename send {}) then the application will not respond to incom- ing send requests anymore, nor will it be able to issue outgoing requests. Communication can be reenabled by invoking the tk appname com- mand. SECURITY
The send command is potentially a serious security loophole. On Unix, any application that can connect to your X server can send scripts to your applications. These incoming scripts can use Tcl to read and write your files and invoke subprocesses under your name. Host-based access control such as that provided by xhost is particularly insecure, since it allows anyone with an account on particular hosts to con- nect to your server, and if disabled it allows anyone anywhere to connect to your server. In order to provide at least a small amount of security, Tk checks the access control being used by the server and rejects incoming sends unless (a) xhost-style access control is enabled (i.e. only certain hosts can establish connections) and (b) the list of enabled hosts is empty. This means that applications cannot con- nect to your server unless they use some other form of authorization such as that provide by xauth. Under Windows, send is currently dis- | abled. Most of the functionality is provided by the dde command instead. KEYWORDS
application, dde, name, remote execution, security, send | Tk 4.0 send(n)
All times are GMT -4. The time now is 08:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy