Chat LIVE With Programming Experts! There Are 23 Online Right Now...

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

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




shell tresults to an OLE?

 
Reply to this topicStart new topic

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: 7/4/09 06:03PM

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