VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 300,479 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,754 people online right now. Registration is fast and FREE... Join Now!




shell tresults to an OLE?

 

shell tresults to an OLE?, VB 6

onelap

13 Nov, 2008 - 08:54 AM
Post #1

New D.I.C Head
*

Joined: 13 Nov, 2008
Posts: 1

looking to display the shell command results to an access for when it is orinated ia same form

CODE

Private Sub Ping_Click()
Dim stAppName As String
Dim strIPAddress As String
strAppName = "C:\WINDOWS\system32\ping.exe -t"
strIPAddress = [COMPNAME]
Shell Environ$("COMSPEC") & " /c " & strAppName & " " & strIPAddress, 1
output = Text
End Sub


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 03:41AM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month