Reading From CMD - Program Which Creates A Console In Which It Sends A Ping To An Domain

Oct 15, 2011

I was thinking of making a program which creates a console in which it sends a ping to an domain, in this case "www.google.com". then read this into my vb application. Probably looking to read each line into a listbox, this way i can add a parser to only take the data i want.

View 3 Replies


ADVERTISEMENT

Sends GET Httpwberequests And Parses The Content After Reading?

Oct 25, 2010

My app currently sends GET httpwberequests and parses the content after reading the response stream for each request and the repeats this process over and over. I need to implement a continuous http stream which uses the same GET request but the connection stays open, from what I understand. how would I change my existing code to do this?

[Code]...

View 1 Replies

String Reading - Sends Back A Numerical Value For The Letter

May 2, 2010

i want to type in a name to a textbox like type in "Ben" to textbox1. Then i want to click a button and have correlating numbers, say 126 show up in the textbox2. Im using a function to do this, how would i write a function that takes the string in textbox1, goes through each letter and sends back a numerical value for the letter through the function. I know how to do this with text files with stream reader, but don't know how to do this with strings.

View 5 Replies

VS 2008 Execute A CLI Program And Have It Output Or Return What The CLI Program Saids Such As Ping Etc?

Apr 25, 2009

Is there a way i can execute a CLI program and have it output or return what the CLI program sais, such as ping etc.

View 3 Replies

.net Program That Sends Email?

Dec 15, 2009

Vb.net program that sends email?Can we do that?

View 1 Replies

Program In VB That Sends Emails To More Than One Recipient?

Dec 24, 2008

i want to do a program in VB that sends emails to more than one recipient i have already done that for one recipient and it works nicely

[Code]...

View 12 Replies

Sends The Output To Our Charting Program?

Jun 4, 2009

2.0 Framework.Our software does some measurement and then sends the output to our charting program. Right now it is taking 20-30 seconds for the results to print after our chart has sent the data to the printer since the printer is in sleep mode. What we are wanting to do is send a command to wake the printer at the end of our test, before it sends the results to the charting program, so the printer is (hopefully) done "waking up" by the time the chart program auto prints.

I have been looking around and haven't been able to find anything regarding this. The printer we are mainly using is a Brother HL 5250DN. I have contacted Brother but I have yet to hear anything back from them.

View 1 Replies

Communications :: Program Which Sends Email Automatically?

Dec 6, 2008

I am writing a program which sends email automatically. Sending the mail works fine. The problem is that this will be on portable systems and not always have internet connection.

Is there a way to determine if an internet connection is available before attempting to send.

View 2 Replies

Program Sends A String To A Server Without FTP Or MySQL?

Apr 23, 2012

How could I make it so my program sends a string to a server without FTP or MySQL.

I know it's possible, and I'm thinking about PHP.. Not sure how..

View 1 Replies

Program That Sends Their User And Password On Email

Apr 26, 2011

i made a program that sends their user and password on my email and post in a site a link.But some email me using my gmail that i used in my program. How can i hide my codes on my VB program. im using VB 2010. [code]

View 1 Replies

Ping Using Vb.error - Ping An Ip Address And Store The Result In An Access Db

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

Program That Creates New Objects?

Mar 30, 2012

I have a Car object that does a few things, but I need the program to create New Cars without having to write the code for every new one. Basically, the user checks some combination of Checkboxes and then pushes a button. And I need the program to create a New Car with a unique name for each combination of checked Checkboxes when the button is pushed.

For example, if Checkboxes 1,3,5 were all checked, it would create a New Car that had a different name than the New Car that is created when Checkboxes 1,2,3 are checked.

But I also need the program to be able to check when a New Car has already been assigned to some combination of checkboxes, so that it doesn't create a New Car every time that Checkbox 1,2,3 are checked and instead will use the Car that was already created.

View 8 Replies

Create A Program That Sends & Receives Data Via Rs232?

Apr 15, 2010

I need to create a program that sends & receives data via rs232. I have done it many times in VB6 with easy.

Why is so hard in vs2008?

I managed to send (or so I think). Because I can see the LEDs flashing on my board connected to the pc. But I do not get any response back from the board.

The reason I do it in vs2008, is because I need the program to run on a PDA. But to understand how rs232 works in vs2008, I just created a simple program for the pc to talk to my board.

for example, I send:

SerialPort1.Write(Chr(2) & "I" & Chr(3)) and I expect back (into a textbox), a hex string 25 characters long.

The board also send data to rs232 sometimes, without me requesting it.

View 6 Replies

VS 2008 Make A Program That Sends An AT^ Command To A Port?

Aug 29, 2010

I want to make a program that sends an AT^ command to a port The AT^ Command is

AT^CARDLOCK="TEXT IN TEXT BOX 1"

View 4 Replies

Create A Program That Creates An .EXE File?

Aug 6, 2009

I was thinking about creating a program that creates an .exe file. (I know that that is very difficult but I have 3 days that I'm not sleeping because i'm thinkin about it)The program should create the .exe file on button clickThe created exe should be in Normal Windows State, it should have only a button that doesn't do anything and it's path should be C:UsersAdministratorDesktop

View 4 Replies

Created A Program Which Creates Folders?

Dec 15, 2009

A weird thing just happened. I created a program wich creates folders and now when i want to "save as" an excel document in a folder created by my program this error occurs:[URL].. But this only error occurs if i try to save as an excel document

View 7 Replies

Creates A Program Where A User Can Key In 3 Coordinate Points?

Mar 15, 2012

code that creates a program where a user can key in 3 coordinate points and when the click "Generate Triangle" button. the program automatically creates the program.

View 5 Replies

Created A Program Which Stores And Creates Customers And Orders

Mar 2, 2010

I've been coding in VB.net for a while now, but still have never used the printing features. I've created a program which stores and creates customers and orders etc. I now require to print invoices related to these quotes.Is the following possible within VB.net when printing a document. Images i.e. Logo of company (which i've made already)Table of items orderedTotalshorizontal lines to split-up the design of the invoice/document.

View 2 Replies

Create A Shortcut For Program That Sends The User To The World Map Of A Website With The Press Of A Button?

Jun 7, 2011

I'm trying to create a shortcut for my program that sends the user to the world map of a website with the press of a button, but it isn't working. Here's my code:

Private Sub Game_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Game.KeyDown
If e.KeyCode = Keys.M Then
Game.Navigate("http:fallensword.com/index.php?cmd=world")
End If
End Sub

"Game" is a WebBrowser control.

View 4 Replies

Adding Active Directory Sub Domain User To Main Domain Group?

Sep 22, 2010

I have a function that works perfectly when I attempt to add a user from the same domain into a group of the same domain.

Function AddUserToGroup(ByVal strUserDN As String, ByVal strGroupDN As String, ByVal strGRPDC As String, ByVal strUserDC As String) As Boolean
Dim oUser As DirectoryEntry

[Code]....

The error is actually being thrown on the Invoke line, but as I said earlier, if the user is in the same domain, this works perfectly.

View 1 Replies

Desirable That Program Can Ping Devices In Quantity Simultaneously?

Jun 12, 2010

I am looking for program which can send PING command by set intervals. It is desirable that program can ping devices in quantity simultaneously.

View 4 Replies

VS 2008 - Program That Creates And Installs A Registry Key Which Changes Default Drive Icons?

Jan 16, 2011

Basically the problem i have is i have made a program that creates and installs a registry key which changes default drive icons etc.

But registry key directories need double backward slashes in the directories, e.g.

What i recieve;
C:exampleicon.ico

What i need;
C:\example\icon.ico


I was thinking sending the directory i recieve to another textbox and replacing '' with '\'. Is this possible?

View 3 Replies

Reading Text From Another Console Application

Jun 18, 2009

I have an application that telnets into a server and we ping a bunch of IPs. What I need to do is it will automatically ping it like "ping iphere" the output looks like "64 bytes from machine&hostnamehere (iphere): icmp_seq=0 ttl=121 time=60 ms. What I need to know is how I can read those lines then if it "iphere" matches the pinged ip it will update my txt file. The only thing I need is reading the lines to see if it pings. One thing is if it doesnt ping it doesn't say anything its just empty space.

View 4 Replies

Communications :: Write A Program To Ping Computers On Network To See If They Are Turned On?

Jul 4, 2008

I am trying to write a program to ping computers on my network to see if they are turned on. So far i have the following:

Code:

If My.Computer.Network.Ping("192.68.0.5") Then
MsgBox("Computer is on.")
Else
MsgBox("Ping request timed out.")
End If

If i use ip addresses, this works fine but i would rather use hostnames due to the ip addresses being dynamic (something which is outside my control). Using the hostname, it reurns "Computer is on" if the ping is successful, but if the hostname cannot be found, instead on returning "Ping request timed out", an error occurs as follows:

A first chance exception of type 'System.Net.NetworkInformation.PingException' occurred in System.dll

View 2 Replies

DB/Reporting :: Reading From MySQL And Then Output To The Console

Sep 23, 2008

I am trying to read from a MySQL DB, and then output to the console like this:

[Code]...

View 2 Replies

Forms :: Reading Console Output In A Window?

Apr 15, 2009

I've got an old dynamic link library that I'm using which was created primarily to be used in a console environment. As such it generally indicates what it's doing through Console.Write(). I've recently created a windows form which is using some of the functions from this library. I'd like to be able to grab the console output and place it in a textbox on my windows form so that the user can have some indication of the progress (right now it just says "Working").

View 3 Replies

Reading Console Output To Write Out An Error Log VB?

May 25, 2011

I am running some commands on computers and I would like to have them output a seperate text file if the command cannot run.

For Each strUserName As String In strLines
Dim ReplaceCommand As String = sCommand.Replace("*", strUserName).Replace("$$$", saveFileDialog3.FileName & ".txt").Replace("###", exeSearch)

[code]....

Am I on the right track? I am getting an output to a text file but its just one line ans always says PASS.

View 1 Replies

Build A Program Through VB That Creates A Folder In Program Files Folder?

Dec 28, 2010

Is it possible to build a program through VB that creates a folder in program files folder and behaves like any other usual program?If not, though witch program can i make this?

View 6 Replies

Get User Information In Current DOMAIN Program?

Aug 29, 2010

I want a user information including name, last name, phone number and ..

View 2 Replies

Add A Domain / ID To Outlook's Safe Sender's List Using Program?

Aug 19, 2009

I am working on an application using VB6.0, in which mails are to be automatically sent through an SMTP server.The mails which are sent through the server are going into the recipient's JUNK-FOLDER.One way could be adding the sender's domain/ID to Client's Outlook Safe Senders List manually.But instead of setting it manually, I want to add a domain/ID to the Safe Sender's List through my application itself.

View 1 Replies







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