Unable To Run Unix Commands To Execute Processes On A Unix Server?

Jul 6, 2011

I was recently assigned to do some research on how to approach a project. Right now we have an old program written in tcl. From this tcl program ( running on VMS client computer), we are able to run unix commands to execute processes on a unix server. This is done via tcpip. Now, we are thinking of making upgrades to this system . We are wondering if this kind of thing was possible with Visual Basic. Are we able to run a VB program on windows computer to run UNIX commands on a server? If so, what issues might be brought up. If anyone has even the briefest guideline or tip on this,

View 3 Replies


ADVERTISEMENT

[2005] Run A Unix Script On A Unix Machine Without Using A Third Party Software

Jan 8, 2009

Is there a way to run a unix script on a unix machine with VB .NET without using a third party software like Rebex ssh?

View 4 Replies

VS 2008 Connect To UNIX Server With VB?

Oct 25, 2009

Is there any possibility to develop an application using Visual Basic that connects to a unix server (using SSH) and run some commands? I will try to describe what i need : The user should enter the server adress, username and password!Than the user must enter some "filenames" and after pressing a button the application will run a command (e.g more "filename") and generates an output file with the result of his command!

View 5 Replies

Getting GMT As Unix Epoch?

Mar 28, 2009

I have to convert a data (not the current date) to GMT and represent it as a Unix Epoch.This is what I'm trying - it returns something that looks correct - but I'd like to know if anyone with more experience knows if I am doing this correctly.

Friend Function GetEpoch(ByVal dDate DateInteger
Return (dDate.ToFileTimeUtc DateTime(1970,10000000

[code].....

View 1 Replies

Run A Unix Script?

Jan 12, 2008

Is it possible for vb.net to run a unix script?

If so , how to? Which namespace should I use?

View 5 Replies

Get The Unix Timestamp In VB 2008?

Sep 18, 2010

I want to know if it is possible to get the Unix Timestamp in VB 2008? I have no idea on how to get it.

(Unix timestamp is the amound of seconds passed since 1 January 1970 00:00)

View 1 Replies

Acces Unix UNC Path From Within Application?

Aug 17, 2009

For the application im writing i need to access files on a network server. I have tried different ways, but none of them seem to work.When i try using impersonation i keep getting logon failure (1326). I did try few solutions i found on the net but none seem to work.

View 1 Replies

Access Oracle (UNIX) Directory From .NET?

Oct 27, 2009

We have an Oracle 11g R2(UNIX) server. A directory was created on this UNIX box for the purpose of uploading/downloading CSV files.I need to access this directory, programmatically from VB.Net in order to search for a specific file (a log file more precisely) and then open it it programmatically in Notepad from my Vb.Net application. I should also be able to delete or copy it to my local drive.I am trying to find a VB.Net code sample that would allow me to implement this: Read/Write/Open files on an UNIX directory.

View 5 Replies

C# System.PlatformID.Unix Vs. Linux?

Aug 8, 2010

I need to make some system calls in my C# applications.Unfortunately, this behaves differently on Linux than on UNIX.Now I used to switch the Operating system at runtime like this

If Environment.OSVersion.Platform = System.PlatformID.Unix Then
' Linux/Unix '
ElseIf Environment.OSVersion.Platform = System.PlatformID.MacOSX Then

[code].....

View 1 Replies

Connection To UNIX File Path?

Jun 13, 2011

I want to connect to a UNIX file path over our network and grab some .log files. Is this possible? If some do I need to do anything more than what I would do if I was opening files from a local path?

View 5 Replies

Call A Program From A Unix Shell Script?

Jun 11, 2012

I need to be able to kick off a vb.net program on a windows server from a unix shell script on an AIX server. What what I need to do to make this possible? I'm a newbie on the .Net side, but I was thinking, maybe make the vb.net program some sort of web service then have the unix shell script invoke that somehow

View 2 Replies

Connecting To Unix And Calling A Shell Script?

Aug 15, 2011

I wanted to connect to unix and call a shell script program from dot net application (windows application).do i need to use MS Winsock control to connect to unix or is there any other best option?

View 3 Replies

Converting Unix Time From Mssql String

Jan 17, 2011

I have recently started programming in vb.net (or trying to) I have made a application that gets some info from a mssql server. I can get the information perfectly, but one of the items called "date" i get in to my program is a date field in UNIX time. Is there a easy way to convert that into GMT time?[ code]

View 2 Replies

Microsoft Binary File From A Unix Computer?

May 5, 2009

I'm working on a program that's an update from Microsoft Basic on unix to VB .net 2008 on the PC.The files that are on the Unix are Microsoft Binary files.How do I read a binary file and then input the data into a SQL table?

View 3 Replies

Show Realtime Cpu Usage Via Unix Using Top Command

Mar 19, 2012

currently i am working on a project to help our customers troubleshoot our products, our products have the availabilty to be access via telnet, i can use the top command to show

top provides an view of processor activity in real time. This utility reads the status for all processes in /proc each <seconds> and shows the status for however many processes will fit on the screen. This utility will not show processes that are started after program startup, but it will show the EXIT status for and PIDs that exit while it is running.

I am looking to but this into my project in real time and show a graph do you think this can be achived ?

View 3 Replies

VS 2008 Extending VB Program To Linux And UNIX?

Jan 13, 2012

I have a program built on VB.NET and C# . It calls Win32 API and another APIs we made and others (WodSSH and DevExpress).Now we plan to extend our tool to run on Linux and UNIX GUI for UNIX end-users. We have doubts whether to try to import the program somehow (I heard about Mono and Wine) or build it from scratch in Java.

View 6 Replies

VS 2010 Get UNIX Directory And Display In A Combobox?

Aug 4, 2010

I have a two ComboBoxes. ComboBox #1 displays...

Directory 1
Directory 2
Directory 3

Whenever I pick any from Directory 1, Directory 2, or Directory 3, I will display all sub-directories of that chosen Directory onto ComboBox #2. If I choose Directory 1, I will populate ComboBox #2 with all the subdirectories of Directory 1, and so on.

[Code]...

I hoped that I did explain that properly. Let me know if I need to clarify something up. Oh and let me stress it again, I'm trying to get the directory structure from a UNIX-based system and I'm trying to display it in VB (windows-based).

View 2 Replies

.NET To Monitor A Remote Linux/Unix Filesystem For Changes And Even Write To It?

Oct 19, 2011

Is there anyway in VB.NET to monitor a remote Linux/Unix filesystem for changes and even write to it? Like a cross-platform FileSystemWatcher?

View 1 Replies

C# :: .NET Write Text File For Unix System (Icinga Or Nagios)?

Nov 11, 2011

I want to create a file with VB.NET and I want to use this file for a Icinga or Nagios configuration.

View 1 Replies

Conversion - Convert A Unix Timestamp To A Human Readable Date

Feb 26, 2009

How can I convert a (unix) timestamp (which I get from a web service as integer) to a human readable date?

View 3 Replies

VS 2005 System.Net.WebClient Whats The Best Way To Get Text File From Unix?

Dec 12, 2009

I need to parse a Unix text file so, I am using System.Net.WebClient to ftp into a Unix server then using the .DownloadFile() method to get the text file, but its coming in with the Unix end line ""; so is there a way to convert that to windows format while doing the DownloadFile method? I do re-read it after and fix it, I am just looking for a better way.

Or is there an alternate such as instead of a DownloadFile, and the two other steps above can I just read it into an array right off the Unix server?? If so then what method would I use?

View 4 Replies

Convert A UNIX TIMESPAN Into A "Normal" Date/time Forma?

Oct 13, 2010

How can I convert a UNIX TIMESPAN into a "Normal" date/time format... e.g. convert 1240812201 into a date/time format.

View 1 Replies

Win32 API - Equivalent To Making System Calls Abd And Library Calls In UNIX?

May 8, 2010

What the Win32 API is? I have looked around but no where really outlines what it is. Is it basically a set of procedures, outlined by Microsoft for programmers in order to get services from the operating system? In essence is it the equivalent to making system calls abd and library calls in UNIX? And yes I now Windows makes library calls too.

View 2 Replies

VS 2005 Remove The Box (0x0A) Unix End Line Code; Then Replace It With CR+LF Normal ASCII Code?

Dec 13, 2009

I have this string just down loaded of a Unix server. I would like to remove the box (0x0A) Unix end line code; then replace it with CR+LF normal ASCII code. Also, I would like to do the replace before I save the data, while it in memory.

View 14 Replies

Converting Unix Time Stamp To Normal Format Time?

Dec 18, 2010

Is there a way of converting a unix time stamp to normal format time and date in .NET?

View 3 Replies

Convert Unix File Path To Windows Path?

Jun 14, 2012

I'm using acrobat that returns unix paths instead of windows path's. So im wondering if there is a way in vb.net to convert the path to windows path.

i tried using:

docs(i) = javaScriptObj.path().ToString.Replace("/", "").Substring(1)
position = docs(i).IndexOf("")
docs(i) = docs(i).Substring(0, position) + ":" + docs(i).Substring(position + 1)

this only works on local files, but fails when im starting to use network drives.

View 1 Replies

Execute Two Commands At Once?

Dec 31, 2009

catch statements - it works well just checking my disk drive for a file, if an error is thrown then I open the disk tray and ask them to put the disk in, click OK on the message box and it performs another check for the file, if this fails the button that starts all this is disabled on my main form (the code is shown below).

Okay, so my problem is I'd like to have the message box pop up and the have the drive open up (using an API which I have) either at the same time or in the order of: message box then drive open. I can see two ways to do this: Have the commands happen at the same time (Can you even do this?) OR Have the message box appear and then open the disk drive (but how I could achieve this I don't know as the message box waits for the user to click OK... I originally though of starting a timer just before and getting it to open the disk drive tray in the tick event,

Code:

Public Class Form1
'open cd-rom tray API
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal _

[Code].....

View 5 Replies

Create A Child Processes Which Will Execute In Parallel The Piece?

Nov 2, 2010

My aim is to create a child processes which will execute in parallel the piece of VB.NET code say a function. I want to do it specifically using processes and not threads. Please suggest the ways to do this?

View 2 Replies

Execute AS / 400 System Commands Through VB

Jan 20, 2009

I need to execute AS/400 System Commands thru VB. What would be the way to perform this?

View 4 Replies

Execute Commands In CMD From Progra 2010?

Feb 26, 2012

I am new to VB and am trying to write a program that will open cmd and execute commands when a button is clicked.[code]...

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved