ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyone know what component or where to get a tutorial on how to connect to a LINUX machine using a VB app?
I am trying to create a WIN32 Visual Basic application that communicates to a LINUX machine. I will need to read some file info from the LINUX machine and display it in the application. If change is need I will write the change to the file.
I'm guessing all you really need to do is make a server/client program. The server will be on the linux system, and the client would be on your windows system.
err.. to much of method to do, the simplest way is:-
1. make sure the linux server install samba and the services is turn on (complete this task your linux almost become a windows file server)
2. mount the share folder into windows as a network drive (maybe U
3. Fire up your vb application to edit file in U:\
Of course, there is something to consider, included the workgroup, user, password to consider.
* you can use another way like ssh file system, nfs, ftp but all using the same scenario.
I search around, there is a program called "plink", an command version of putty. I plan to get the file from the LINUX box over to a temp folder in WINXP and do an I/O operation. You guys think it is easy this way? Or is there anyway?
I do not know if I can install SAMBA on the Linux Box. The LINUX OS is running on a 512mb flash drive. How big is this SAMBA?
Also, the LINUX server has an SSH server. I do not know how to work VB with ssh. Is there any library or control component for it?
Any answer you receive is just wild speculation until you know what network service(s) is provided on the Linux hosts. Until you know the answer to that question, it is pretty much impossible to give a good answer. Are you asking how to build functionality into some existing VB application, or are you just assumiong that no suitable application already exists, and you think you want to write one using VB? Do you have license to set up a peer network service on the Linux hosts, or is the Linux configuration a fixed standard?
Get the answers to these questions before you start designing software.
--- rod.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.