10-24-2009
thanks a lot for your help, but the application must be developed by me, because i have to do a lot of customization! I have some gaps regarding the code that i need for connecting trough ssh, and how to make the application to run commands on the server!
Still need help,
Thanks in advance and sorry for my bad english!!
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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.
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
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
LEARN ABOUT ULTRIX
xgetvisualinfo
XGetVisualInfo(3X11) MIT X11R4 XGetVisualInfo(3X11)
Name
XGetVisualInfo, XMatchVisualInfo, XVisualIDFromVisual, XVisualInfo - obtain visual information and visual structure
Syntax
XVisualInfo *XGetVisualInfo(display, vinfo_mask, vinfo_template, nitems_return)
Display *display;
long vinfo_mask;
XVisualInfo *vinfo_template;
int *nitems_return;
Status XMatchVisualInfo(display, screen, depth, class, vinfo_return)
Display *display;
int screen;
int depth;
int class;
XVisualInfo *vinfo_return;
VisualID XVisualIDFromVisual(visual)
Visual *visual;
Arguments
class Specifies the class of the screen.
depth Specifies the depth of the screen.
display Specifies the connection to the X server.
nitems_return
Returns the number of matching visual structures.
screen Specifies the screen.
visual Specifies the visual type.
vinfo_mask
Specifies the visual mask value.
vinfo_return
Returns the matched visual information.
vinfo_template
Specifies the visual attributes that are to be used in matching the visual structures.
Description
The function returns a list of visual structures that match the attributes specified by vinfo_template. If no visual structures match the
template using the specified vinfo_mask, returns a NULL. To free the data returned by this function, use
The function returns the visual information for a visual that matches the specified depth and class for a screen. Because multiple visuals
that match the specified depth and class can exist, the exact visual chosen is undefined. If a visual is found, returns nonzero and the
information on the visual to vinfo_return. Otherwise, when a visual is not found, returns zero.
The function returns the visual ID for the specified visual type.
Structures
The structure contains:
/* Visual information mask bits */
#define 0x0
#define 0x1
#define 0x2
#define 0x4
#define 0x8
#define 0x10
#define 0x20
#define 0x40
#define 0x80
#define 0x100
#define 0x1FF
/* Values */
typedef struct {
Visual *visual;
VisualID visualid;
int screen;
unsigned int depth;
int class;
unsigned long red_mask;
unsigned long green_mask;
unsigned long blue_mask;
int colormap_size;
int bits_per_rgb;
} XVisualInfo;
See Also
XFree(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XGetVisualInfo(3X11)