View Single Post
  #15   Report Post  
Posted to microsoft.public.excel.programming
Jay J Jay J is offline
external usenet poster
 
Posts: 1
Default Problem with Shell command

I;m having the same problem with an .msi file from vb.net 2005 in a
smart client, error file not found.:

Dim fiInstall As IO.FileInfo = New
IO.FileInfo("Cargo\BriltechCRM_701.msi")

If fiInstall.Exists Then
Shell(fiInstall.FullName.Trim,
AppWinStyle.NormalFocus, True)
End if

File name has spaces, but
"""" & fiInstall.FullName.Trim & """"
did not work...












*** Sent via Developersdex http://www.developersdex.com ***