Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / VB Syntax / August 2008



Tip: Looking for answers? Try searching our database.

shell command bug

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ep. - 13 Aug 2008 19:14 GMT
The following prog does start the app except the two statements:
AppActivate(ProcID)
SendKeys.SendWait("username")
cause some kind of unspecified error where I'm supposed to send an error
report to microsoft.  Is this the correct prog?  Could you pls suggest a fix?
thx.,
ep.
---------------------------------------------------------------------------------------
Imports Microsoft.VisualBasic
Imports System.Windows.Forms

Module Module1

Sub Main()
Dim ProcID As Integer
ProcID = Shell("c:\mydir\SYSAPP.EXE", AppWinStyle.NormalFocus)
AppActivate(ProcID)
SendKeys.SendWait("username")
End Sub
End Module
MikeD - 13 Aug 2008 20:38 GMT
> ---------------------------------------------------------------------------------------
> Imports Microsoft.VisualBasic
> Imports System.Windows.Forms

You need to ask this in newsgroup having "dotnet" or "vsnet" in the name.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.