Communicate With A Server(linux Shell)?

Jun 12, 2011

is there any exemple that explain how to connect to a shell command in lunix system like connect to ms doss in localhost. but we need to connect with a user and pass. so is there any exemple to do this??

View 3 Replies


ADVERTISEMENT

[2008] Send Linux Console Commands To A Remote Linux Server?

Jan 23, 2009

Is there a way for my program to send Linux Console Commands to a remote Linux server?

View 4 Replies

.NET Connect To Linux Server?

Jun 22, 2011

I have to develop a small application that will connect to a Linux server (scp on port 22), upload a file, and then execute the file. The first thing that came to mind was to call WinSCP from my app, but the initial connection will always prompt to accept the hostkey. When calling WinSCP from the commandline you can press a key to copy the hostkey to the clipboard, and then you can use it with the -hostkey switch to connect. Any thoughts on how I might do this in VB? It would have to look like this:

Attempt to connect via WinSCP
Copy hostkey to clipboard when prompted
Attempt to connect again using hostkey

I'm just not sure about #2. I would have to send a keystroke for the letter 'C' which causes the hostkey to be copied to the clipboard.

View 2 Replies

Access Online Linux Based SQL Server?

Apr 18, 2011

Im new on this forum here, i have already browsed many topics but i really didnt found a answer on my question.

I want to connect to a web-based linux SQL server. Is there a way to do that? Or do you have to use the Microsoft SQL server?

View 2 Replies

Connect Webapp VB/LINQ To A MySQL Database Server On A Linux?

Jul 7, 2009

I have a programmer who is using VB and LINQ; and I have a MySQL database that is running on a linux server. My programmer tells me that:he cannot connect to the MySQL database via LINQ if he was able to connect then it would require all sorts of rewriting I don't know anything about LINQ but I thought it was an ORM. As such, any DB server that is supported should work just fine? Right? OK, so maybe it's not an ORM... maybe it should generically connect to ODBC and render similar results?

View 1 Replies

DB/Reporting :: Can VB 2005 Front End Running In Win XP Access MySQL Database In Linux Server?

Aug 5, 2008

I am asked to write a front end program in VB 2005 (that will run in client computers which running on Win XP) to access an existing MySQL database running in Linux. It is not my preferred choice, but the user have the database and server working just as he wants it, and do not wish to change, at the same time I do not wish to change programming language. Is that even possible? Can we actually write VB 2005 programs that will run in client computers complete with NET framework 2.0 to access a Linux operating database?

View 4 Replies

Mpd Server Working In Linux Machine - Code Works Fine Until There Are Spaces In Directory Name

Jul 21, 2011

I have mpd server working in Linux machine. Code works fine until there are spaces in directory name.

How can I handle spaces?

CODE:

View 6 Replies

Connect And Communicate With A Server?

May 28, 2011

What I am trying to do is to connect to a server and be able to send and receive data packets in hex.I am using Vb.NET 2010.

View 1 Replies

Make A Udp Server That Waits Client To Communicate

Apr 16, 2010

how i can make a udp server that waits client to communicate with him and the server answer them back even if the server doesn't know the ip of the client in vb.

View 3 Replies

Make Two PCs Communicate Via Network Using Server / Client

Jun 22, 2010

I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks. I want to make two PCs communicate via network using server/client I followed the example from this site: [URL] (VB.NET TCP Client/Server Socket Commmunications) When I run the applications server and client in one computer then is possible the client to connect with server.

[Code]...

View 2 Replies

Communications :: Write A Server That Can Communicate With Multiple Clients Through Tcp/ip?

Feb 10, 2010

I'm new to network programming and i'm trying to write a server that can communicate with multiple clients through tcp/ip, the clients need to communicate with the server to and with the other clients. Currently i've got a client server program that works fine for only one client:

[Code]...

I'll guess to accept multiple clients i have to create some clienthandler class at server side, but i have no idea which code it has to contain, i've already spend hours searching on google but didn't find anything usefull. Can somebody help me with this ?

View 1 Replies

VS 2008 - Flex Actionscript - Create A Windows Client That Could Communicate With Server Using Protocols

Sep 23, 2009

I am going to create a gaming platform primarily with flash,flex and was also looking to create a windows client that could communicate with my server using these protocols. Could someone point me in the right direction on any possible .net libraries available that could handle the communications between client and server?

View 2 Replies

Using Shell To Run Program On Server That Requires A Dialog Box

May 8, 2009

I am using this statement

CODE:

The command procedure calls a Java program that opens a dialog box, the cmd and java exe shows up in task manager, so I know it is being called, but no dialog box. I know normally having anything show up on a server that requires user interaction is a bad idea, but in the case, the users remote into the server to do their work. (They have to because of the environment) So, there is no problem with them being able to respond to a dialog box. I just need it to show up.

(I cannot rewrite the Java program as the latest source is not the right version) Running, Framework 2.0, 3.5.

View 7 Replies

VS 2008 Make A Shell Replacement For The Windows Default Shell

Aug 1, 2009

I'm going to attempt to make a shell replacement for the Windows default shell: explorer.exe. I'm not sure if its possible using Vb.Net, but I can't seem why not. My end goal is to use a custom made shell for a Windows Preinstallation Environment instead of the default command prompt. I plan to use a 3rd party program to compile the program with the .NET Framework. Otherwise, it wouldn't work because Windows PE does not support the .NET Framework.

View 1 Replies

Communicate From Client To Server From Multiple Clients On Multiple Requests In Socket Programming?

Jan 8, 2010

I have been struggling to find a solution for this problem. What I need to do is build a server application that accepts tcp client requests from different clients running on same port say:1003. I experimented by using asynchronous mode call backs etc. but it disconnects once connection is established and does not respond for further requests from the same client.

View 1 Replies

Use Shell To Have Application Call An External Application But Its Not Working - Error: 'System.windows.shell'

Jun 3, 2011

I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!

Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.

Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click

[CODE].....................

View 2 Replies

Automate Ssh To Linux Box?

Sep 24, 2011

I have automate ssh to Linux box using vbs script (to log in and execute commands)

but i need to make a tool which edit the vbs values and execute it

Brief vbs script set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "plink.exe -v -ssh ubnt@192.168.1.20 -pw ubnt -m UNIX_commands.txt" WScript.Sleep 2000 WshShell.AppActivate "192.168.1.20 - PuTTY" WshShell.SendKeys "conf term{ENTER}" as you can see it is first run plink.exe (ssh client) with specific User name & password and load specific commands to execute on Linux box from UNIX_commands.txt which located in same directory

[Code]...

View 1 Replies

VB Connecting To DB2 On Linux?

Jun 7, 2010

I can get Visual Studio 2010 Professional to connect to a DB2 UDB database but I don't see any tables. I can hand code the sql and get data returned but I want to be able to drag and drop and use the power of the Studio. I've tried OLE and ODBC connections but I'm still missing something in the set up.

View 4 Replies

VB GUI Designer For Linux?

Sep 6, 2009

I have MonoDevelop working, and so far it's been really good. The only thing that seems to be missing is the GUI designer.

View 2 Replies

How To Pass Commands To Linux CLI

Oct 18, 2011

I am trying to invoke a Linux machine through putty from VB.NET and to perform some operations on it.

I had invoked the Linux machine using following code:

Dim strCommand As String
Dim ret As Integer
ret = Shell("putty.exe Linux_machine_id", AppWinStyle.NormalFocus)

[Code]....

But once the Linux machine is opened its prompting for username and password.Using SendKeys i tried to send the username and password but its not passing to the Linux machine.

why username and password is passing to the Linux machine...

View 1 Replies

Porting VB Apps To OS X/Linux?

Dec 29, 2009

I've been wondering about this for a while, but is there actually any free way to port VB.net apps to OS X and Linux? I've searched the web for this and couldn't find anything much.

View 5 Replies

Run .net Windows Application In Linux?

Jun 11, 2011

can We run VB.Net windows Application (2.0 Framework) in Linux.

View 2 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

How To Deploy .net Windows Application In Linux

May 26, 2010

i developed a windows application in vb.net 2005 and i used ms-access as my database. i need to deploy my application in redhat linux operating system.

View 4 Replies

Make An Application That Works On Other OS's (Mac OS X - Linux)?

Oct 27, 2009

Can I make an application that works on other OS's (e.g. Mac OS X, Linux)?

View 3 Replies

Porting .net Application From Windows To Linux?

Mar 21, 2011

I developed an application using VB .NET on a Windows OS. If I want to enable this application for a client who uses Linux , how do I do so? Do they need to purchase VB .NET? I am totally lost on how this works.

View 5 Replies

Python - VB Developer Wants To Write Linux App?

Apr 17, 2012

I am trying to choose a language, IDE and other tools in order to develop a photo gallery application for a Linux platform. Specifically the Raspberry Pi My background is almost exclusively using Visual basic since the early 90's and most recently VB.NET in VS2008

View 1 Replies

Using Copy A File From Windows XP To Linux?

May 4, 2011

I have some simple vb.net code that I use to copy a file between 2 servers.

IO.File.Copy(fromFileName, toFileName, True) ' Overwrites existing files

That works fine when both machines are Windows XP.

What would I need to do differently if 1 of the machines happens to be a LINUX box?

View 1 Replies

VS 2005 Run Windows .net Application To Linux

Jul 31, 2009

I developed a application using vb.net 2005 and sql server 2008 for windows but i want to run this application on one of the client which is linux. means : windows server 2003 on which database is install. Five client machine is Windows Xp on which application is running ok they have two machine on which linux is loaded. Now I want to run the same application on linux machine also Guide how to do this..

View 3 Replies

An IDE As Good As Visual Studio 2008 For Linux?

Apr 13, 2009

I just want to ask is there an IDE as good as Visual Studio 2008 for Linux? MonoDevelop IDE is not good, I need a free Visual Studio for Linux?

View 3 Replies







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