vb.net has a steep learning curve, so please bare with me.
I am trying to create a program where you can select multiple Linux hosts, then select a bash script (which already exists on the Linux hosts), and click a button to execute the script on all the hosts. I've managed to get vb.net to...
Hi,
I am trying to create an application that runs bash scripts on a remote Linux computer. The scripts already exist on the Linux computer, I just want to run them using this application. I'm using SSH NET by Renci to establish the SSH connection.
The scripts are expected to provide full...
I have a CheckedListBox and I want to use it for editing a text file. This is what I have so far.
Private Sub CheckedListBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles CheckedListBox1.SelectedIndexChanged
If CheckedListBox1.CheckedItems(0) = "test1" Then...
For some reason, when using the code below, when I click any of the 2 buttons to stop or start the spooler service, I get the error attached. I've googled it, but I could not find the reason why. Any ideas?
Imports System.ServiceProcess
Public Class Form1
Dim Spooler As New...
So, I'm creating a form with a label, a picture box and two buttons. This form will control the Spooler service.
The label will say "Running" when the service is running and the picture box will be green. The "Start" button will be disabled and the "Stop" button will be enabled. The label will...
I have a form with a textbox and I want that textbox to read from httpd.conf on line 162.
Line 162 reads ServerAdmin you@yourdomain.com
Shouldn’t this code work? Because it does not.
Public Class Form1
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles...
I know how enable a button when the state of a checkbox is enabled or disabled.
But in my case I want to enable the button simply when the state of the checkbox is changed.
It doesn’t matter in which state the checkbox is. It can be enabled or disabled when the form opens, but when the state...
Hi,
I want to create a Windows form with checkboxes, which will edit the configuration file of apache webserver. That’s a 437 lines text file, which means that each time I want to edit a setting, visual basic will have to find the correct line and make the appropriate modification.
I have have...
Hi,
I am using visual basic 2010 express for the past three days, and I am trying a few things out
I am using this to start a service
Private Sub StartService_Click(sender As System.Object, e As System.EventArgs) Handles StartService.Click
Dim sc As New...
A friend created this form for me, so that i would be able to control my local webserver. He created it in Visual Basic 6. I have tried using it in VB Express 2005 (since it's free) but i get error messages. Some of those errors are these:
http://www.aristos.net/files/images/vbexpress/1.jpg...
I need to create an application, that will have 2 buttons, to start and stop a windows service. If i make the first 2 work, more butons for more services will follow of course. There should also be a progress bar showing the service starting or stopping, and also an indicator showing if the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.