IP Testing Tool - Ping Set Of IP When Button Pressed
Oct 23, 2009
I'm very much a beginner programmer in Visual Basic 2008 Express. I am trying make a program that when a button is pressed, it pings a set of IP's, let's say in Listbox1 and have it go down the list of IP's. The good ones will be added to Listbox2. I would like to know how I can have the listbox contain multiple lines as well as getting the ping information to check if the IP works or not. Then if the IP is up and running it will add it to listbox2.
View 21 Replies
ADVERTISEMENT
Mar 2, 2011
A long time ago. before .Net net existed, I used an automated and a graphical tool. It seens to me that it was made by Microsoft. Is there a graphic regression testing tool that anyone knows of?
View 1 Replies
May 17, 2012
In my project developed for using asp.net with vb.net coding. Now we need to performance testing using the Jmeter tool. we can't able to test because in my application lot of session variable used, Jmeter tool does not support session variables i think.
Check with debugging:1.Assign the session(userName) ="abc" then goes to next page, then check value same session vaule as nothing.
View 3 Replies
Aug 14, 2008
How can I set a button, so that when it is pressed, it stays in the pressed down graphic state. Then when pressed again it returns to the normal not-pressed visual.Make a button stay like this until pressed again: url....
View 3 Replies
Mar 15, 2010
I have a button on my form where I'm showing a ContextMenu when the user left clicks on it, I'm actually using MouseUp right now to show it.What I would like to have happen is the user click on the button, the button stays pressed while the ContextMenu shows, it returns to normal when the ContextMenu closes (Either a menu item was selected, the user hits the escape key or they click/tab to somewhere else). Also I'd like to position the ContextMenu in the lower left corner if the menu opens down or the top left corner if it opens up. So the left edge of the ContextMenu is flush with the left edge of the button.Moreso the button staying pressed until the ContextMenu is closed.
Edit: I'm also ok with this being it's own control inheriting the FW's Button that used the assigned ContextMenu as well.
View 2 Replies
Aug 20, 2011
how do i insert text for the designated object when the help button (next to the 'close' button) is pressed?
View 1 Replies
Feb 7, 2010
I just want a program compiled in Visual Basic 2008. which can just submit a form of only one field. the form is already uploaded to the server but i don't want to go to that url every time to do so.What I want here, just to open application and fill that field and submit. Is this possible in visual basic 2008?Also let me know how to create a button that can rapidly submit the form repeatly untill the second button named cancel is pressed.
field name of that form is "msisdn" and the action on submit button is post method and url in target is url...
View 1 Replies
Jul 8, 2009
i have tried altering some code i have to ping an ip address and store the result in an access db.i had it working when i had the ip hardcoded in as a string but I am now gettin an error.instead of having the ip address hardcoded in to the code i want it to be read in from the access db but im now getting this error:System.nullreferenceExceptionbject reference not set to an instance of an object at...button1.click event args ei have underlined the piece of code i tried to change
Imports System.Data
Public Class Form1
Dim Ping As Net.NetworkInformation.Ping
[CODE]...
View 39 Replies
Oct 25, 2011
I have button1 and button2.When button1 is pressed, I want the color of button2 to switch between white and red every second until it is pressed.
View 1 Replies
Jan 10, 2011
how to make the button move when arrow button is pressed
View 1 Replies
Oct 13, 2010
I am using VB 2008 and doing the project on office 2007. I've created a Ribbon (Visual Designer) and put a button. Now thats all I've done. I'm still researching on how to make it so that when I press the button , a box will appear and at the side of the box will be something like" Search, Stop, Select, Cancel" buttons the box will be a container where when search is pressed, the wireless/LAN connections will be displayed.
View 1 Replies
Jun 22, 2010
I got a button array of 40 buttons And i handle all the button events in 1 sub .But i need to know what button is pressed.[code...]
View 7 Replies
May 15, 2009
I'm looking into adding some unit tests for some classes in my data access layer and I'm looking at an update routine that has no return value.It simply updates a row based on the id you provide at whichever column name you provide.Inside of this method, we collect the parameters and pass them to a helper routine which calls the stored procedure to update the table.Is there a recommended approach for how to do unit testing in such a scenario?
View 4 Replies
Mar 6, 2010
How can I check if a perticular button was pressed first?
I need something along the lines of:
if btnNewGame.wasPressedFirst then
do this
else
do this
View 1 Replies
Mar 4, 2011
I want to display a button so that it looks as if it has been pressed.[code]...
View 3 Replies
Aug 25, 2009
I use VS team system 2008. At the moment i need to test some business classes, i have found two kinds testing NUnit and the unit testing provided by the VS team system. what are there differences?
View 1 Replies
Apr 9, 2009
Is this possible? I have a list of tasks in a threadpool that i would like to clear (stop) when a button is pressed.Is there any way i can do this?
For i = _PortFrom To _PortTo
Threading.ThreadPool.QueueUserWorkItem(wcb, i)
Next
As you can see its a port scanner, and id like to be able to stop it half way through if possible?
View 1 Replies
Apr 24, 2010
I have a datagridview on a form. I have the .selectionmode set to FullRowSelect.
I use the datagridview.select to put the focus on the form. Pressing up/down arrows they navigate through the results.
How do I capture the enter button being pressed on the current row they have highlighted?
What I will do is take the ID field of that row, I just need to know how to capture the enter button being pressed in that datagridview.
View 4 Replies
Dec 30, 2010
I am writing an application and I want to be able to have it check for updates. When someone presses a button. (Note: I am using Visual Studio 2010, and the application is in VB.NET 4.0)
View 5 Replies
Jun 12, 2012
Is there a *simple* syntax that will close a form when a button is pressed and leave the application completely if there is only one form? In vb6 it is, e.g.
Private Sub Command2_Click()
Unload(me)
End Sub
I have got as far as knowing its Button2_Click...
View 22 Replies
Sep 13, 2011
I tried your code and got it to work - put buttons on my form, etc. I included the AddHandler for each btnNew(index):
Public Class ButtonAdd
Private btnNew(9) As System.Windows.Forms.Button
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code]....
View 1 Replies
Apr 11, 2010
I have a button on a form, and I want to increment a counter an display it in a lable, while the buttion is pressed. Similiar to a numberic up down control. The reason is that I want to use a custom looking button, rather than the look of the numeric up down control.
Is there an easy way to do that while the button is being pressed? Or would it make sense to change the look of the numberic up down (I don't want UP and DOWN on the same control, though).
View 3 Replies
Jan 23, 2012
When I press a button on my form i need it to open a file. E.g. I want it to open a song (in windows media player, windows media player is the default program to open mp3's)
Shell("C:UsersTomDesktopmysong.mp3")
When trying the above ^ it just says file cannot be found.
View 12 Replies
Sep 30, 2011
I'm developing a interface in VB.net which will control two stepper motors. Counting on your tips I managed to control them manually I mean, there're 4 buttons used to move the motors clockwise and anti-clockwise. The point is, the main part of our project is control the motors automatically. Our idea is based on two editable fields, X and Y, where the user would insert the displacement value he'd like the motor to move. After filling up both fields, the "GO" buttons would be pressed. So the loop would run depending on the displacement values in X and Y.
Attached you can find the main screen:
Below you can find the main code.
Public Class Form3
Dim velocidade As Double = 0.004
Dim X As Integer = 0
[Code]....
View 7 Replies
Oct 20, 2009
Im looking for guidance/example on how to track if a button was pressed so that I can turn on another button and turn off the first button. I am saving a bunch of user data to a text file & that works fine. Once the user enters all of the required data, I turn on button "btnCBSave". What I am trying to accomplish is once button "btnCBSave" has been pressed once, turn itself off and make button "btnCBNew" visable so that the user can enter new data.
My little chunk of code is below:
CODE:
View 6 Replies
Jun 29, 2010
On an form i have few labels, upon clicking on that labels i want to display an another form which contains 3 textboxes(Default,Current,New) and 3 buttons(Default,Current,new). I need to save the values of all the textboxes to the label's tag, but the label's text will contain the value of the textbox based upon the button which is pressed. i.e if 'Default' button is pressed then the 'Default' textbox text should be the label's text. I have created a class with three mem. variables to the save these class objects in the labels tag. But how should i know which button was pressed.
View 3 Replies
May 13, 2010
I'm building an Active Directory wrapper in VBNET 2.0 (can't use later .NET) in which I have the following:
IUtilisateur
IGroupe
IUniteOrganisation
These interfaces are implemented in internal classes (Friend in VBNET), so that I want to implement a façade in order to instiate each of the interfaces with their internal classes. This will allow the architecture a better flexibility, etc.Now, I want to test these classes (Utilisateur, Groupe, UniteOrganisation) in a different project within the same solution. However, these classes are internal. I would like to be able to instantiate them without going through my façade, but only for these tests, nothing more.
[Code]...
View 1 Replies
May 27, 2010
I have a simple windows application that pops up an input box for users to enter in a date to do searches.
How do I identify if the user clicked on the Cancel button, or merely pressed OK without entering any data as both appear to return the same value? I have found some examples of handling this in VB 6 but none of them really function in the .NET world.
Ideally I would like to know how to handle the empty OK and the Cancel seperately, but I would be totally ok with just a good way to handle the cancel.
View 4 Replies
Feb 18, 2011
I have a tab control in my form with two pages. I want to automatically go to tabPageTwo after a button is pressed on tabPageOne.
View 2 Replies
Apr 29, 2011
The image below shows a part of my Login form . The program works fine and I am able to login when I press the Enter Button. But I want to Login when I press My Enter Button (Return Button) on my Keyboard. How can I do this ?
View 3 Replies