VB9 Send\receive Ping Information?
Jan 21, 2009
i am trying to ping some terminals and all i could find for code is this
If My.Computer.Network.Ping(IPaddress, 1000) Then
MsgBox(IPaddress & " pinged successfully.")
Else
MsgBox(IPaddress & " request timed out.")
End If
it keeps comming up request timed out message. and i got this from microsoft. instead of a message box i am going to return the response to a listview control but i have to get a successful message first.
View 5 Replies
ADVERTISEMENT
Jan 7, 2009
I'm making a network monitoring program, and the way it works is after five ping-fails, it sends an email, but I cant get it to work! the test email works fine, so its not the email code.
Dim s As Short
Dim newstr(4) As String
Dim I As Integer
Dim name As String
Dim MS As String
[Code] .....
View 13 Replies
May 28, 2009
Are there any good books out there that will show someone how to set up a form using Visual basic that will take information and send it to the server and then send a recipient an Email?
View 2 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
Jul 7, 2010
I have an asp.net webpage that only contains a textbox and a button. The user submits their email address using this webpage.What I am trying to do now is take the information submitted by the user and go to another website. Where my "website/program" gives the different website the entered email address, and clicks the submit button.
If I where to physically go to the different website, there would be a textbox to enter the email. But since I am accessing the website from my page "behind the scenes" I cant manually enter their email address.Is it possible to do this, if so how? Also, my code behind is in VB.
View 1 Replies
Sep 2, 2010
I'm wanting to transfer data between two programs. Basically, I have one program which is the "monitor" program. It opens another program and will fill a textbox in said program and then click a button on the program. When everything is done after clicking the button, the program will need to send something back to the monitor to tell it to close the program and open up another one to start the process over again.
View 4 Replies
Oct 26, 2009
I need a code that will let me send string or text to the same application running on a different computer ? im completely new to sending and recieving information in an application.
View 3 Replies
Oct 11, 2011
I am building a customized login form so a worker can access a certain network drive on the network.
PLEASE DON'T SAY USE THE DEFAULT WINDOWS ONE BECAUSE I WANT TO CUSTOMISE THE LOGON INFORMATION.
What I want is to have the user enter their username, password and other information, click on a button and then pass the information in the fields to a batch file as a variable so it can do it's thing from there.
View 5 Replies
Sep 26, 2010
I am attempting to build a program through Microsoft Visual Basic 2008 Express Edition.
View 3 Replies
Dec 29, 2010
I am trying to send information to an mdb. I have already retrieved data from the database. I have preformed changes to the data, they are all still integers and there is the same number of results as there are samples. How do I get the new results back into a MS Access database?
Output
Dim dr As DataRow
dr = DS1.Tables(0).NewRow()
[Code]....
Would it be better to create a new row or to access an existing row?
View 1 Replies
Jan 3, 2010
This is my code where I send a query to the console; how do I change this to be sent to a list box ?
[Code]....
View 1 Replies
Jan 4, 2010
I need a tutorial on how to send information to a printable report or something..
cause i have a litle app i started for invoicing but it does the job but it is only a form based..so i need to generate a report to print..
View 1 Replies
Dec 23, 2011
how can i send the content of any form to specify email address on submit button. For example if anyone fill the contact form the on submission all the form data will be send to particular email address which we can specify in coding.
View 1 Replies
Nov 15, 2009
I have an application that connected to a database (SQL Server 2000) .Is there any way to send an information and Report made by Crystal reports by mail so customers can check it from his email?
View 4 Replies
Nov 16, 2009
What I am wanting to do is pass some information from my app to a new DLL project I have created. In the DLL I have 2 test forms (frm123, frm456). What I need to do is send 2 parameters over to the DLL, when the DLL recieves the info it would then determine which form to open. In the DLL I have in the Main Module ' I will use arg(0) later
[Code]....
View 18 Replies
Apr 1, 2011
An currently writing a vb.net application to send and receive information from a client via telnet. Am using System.net.Sockets to do this. I can send data great and get data back is ok. So the Problem is in the command window after I telnet in to the server application, when i press the delete key the cursor moves back a character and doesn't delete the character, just over writes it and when I read the bytes in I get the deleted character and the ascii value for the delete key and then the replacement character. I have seen another telnet application that shows the deletion of characters in the Command window.
View 1 Replies
Dec 24, 2009
Is it possible to send information to a USB Video game controller in VB.Net? The kind of information I want to send to it is information causing the device to think that a button is pressed on the controller when it really is not. Or even better, is it possible to make a USB wire that connects to your computer and another USB port on something such a computer and send information that a video game controller would send to the other computer or whatever? Basically what I want to do is emulate a guitar hero controller sending the data of the buttons being pressed to an xbox 360 console.
View 6 Replies
Jun 18, 2010
I want to send a PDF form from my program.Sending the form is not the problem.But i would like to fill in the Subject, and some detail information in the E-mail automatically.
View 5 Replies
May 10, 2011
I took sample code to implement the IReportServerCredentials to send the login information to retrieve a report remotely but for some reason the implementation is error prone.
[Code]...
View 1 Replies
Jun 15, 2009
Is there a way to programmatically send information from a text box into specific columns in a DataGridView? I tried
vb.net
Column1.Text = TextBox1.Text
and it obviously does not work.
View 4 Replies
Jan 30, 2009
Currently I have been using mysql connectors to send and retreive information from my database. Someone suggested that a web service (wdsl? etc) would be a more efficient way of sending information both ways.
View 9 Replies
Jul 18, 2009
I have been developing a calculator for complex math. (Much more complicated than +,-,/,*, and above your usual scientific calculator)Its works quite well .In past programs I have used "private functions". I know that you give them a value and it returns on back. But what if you dont want to recive or send value? My example for this is a function I am attempting to make called "Autopi".The idea of Autopi is that whenever a mathimatical operation is about to be performed textbox(s) are cheked to see if they contain pi. (3.14 or 3.141) If they test positive Autopi will continue pi to however many places have been specifyed in the program. (Currently 300 places just beacuse i can :) Before the Autopi function does this it chekes to see if variable "pi" = 1. If it does it proceeds if it doesent its job is done
How would I create a code that can be called apon to activate but not recive or send any information through the program.And just to clarify what I mean by that is it will read information out of a textbox and write into it. But it wont actualy recive anything or send anything back from where it was called apon.
View 5 Replies
Jun 11, 2011
Ok so here is the HTML of the page:
<!-- Generated by F12 developer tools. This might not be an accurate representation of the original source file -->
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
[Code].....
View 1 Replies
Oct 7, 2010
I'd like to ask if anyone knows how to properly use the clipboard to take information from a rich text box and send it to the clipboard. You see, if I try the following, which is pulling text from a rich text box, named RichTextBox2:
[Code]...
View 7 Replies
Oct 15, 2009
In my Windows Forms application (on startup) I use the ping command to check if both the Internet connection and my SQL Server are alive.Is there any "better" way-command I should use for accomplishing the above task in the .NET framework 2.0?
View 6 Replies
Jun 10, 2011
I'm currently doing my project to check my server status with ping option. but i got problem to check either the network is plugged or unplugged...I need this checking automaticly using timer...here what i have done....to ping the server is success but when pulgged back the network...error come around..
Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
Timer4.Interval = 30000
If My.Computer.Network.IsAvailable Then
If My.Computer.Network.Ping("www.mine.my", 500) Then
[code].....
View 2 Replies
Dec 29, 2009
what are other ways to do ping in vb.net or c# other than the way found here:
Dim pinger As New System.Net.NetworkInformation.Ping
MessageBox.Show(pinger.Send("192.168.0.119").Status.ToString)
View 2 Replies
Jul 20, 2009
I have this code to ping a list of over 400 switches , the program works fine but for some reason the first time i ping all the switches alot of the attempts time-out(even tho they shouldnt) which makes the program alot slower , if i click ping again less of the attempts time-out(and as a result the program runs faster) and if i click it a third time i usually get a completely accurate result with all the switches pinging back "success" (except for a few which i know for a fact are down anyway) any ideas why this is ?
CODE:
View 5 Replies
Mar 16, 2010
I am trying to create a tool that will test to see if a device is reachable b ICMP and report back with the latency, i.e. send a ping. If possible, I would also like to get the hop count value.[code]I keep getting an error message saying " 'Send' is not a member of 'NetworkTool.Ping' ", but everyone seems to use it. So how do I do get .Send to work?
View 1 Replies
Mar 30, 2009
I cannot understand why I get no 'ping' sound when the following messagebox comes up. I'm using VISTA and VB.NET 2008.[code]
View 1 Replies