Solved

Running Ping Command with Vb6

Posted on 2008-10-20
1
860 Views
Last Modified: 2008-12-03
how can i run ping command with dos like im doing it as

A = Shell("C:\Windows\System32\cmd.exe ping -t google.com", vbNormalFocus)

thanks
0
Comment
Question by:BILAL69
1 Comment
 
LVL 7

Accepted Solution

by:
FER_G earned 250 total points
ID: 22761007
Prove the next code...
?Shell(Environ("COMSPEC") & " /k ping www.google.com",vbNormalFocus)

Saludos
--
Ing. Fernando D. Giletta
San Fco. Cba. Argentina.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question