underflip Posted June 5, 2013 Report Share Posted June 5, 2013 hola bueenas !, necesito ayuda con un problemilla, necesito extraer la parte de la ruta fija.. ya que el proyecto al cambiar de ubicacion puede traer dramas para ejecutarse ej: C:\Documents and Settings\Usuario\Escritorio\VmWare 7resto = vmware 7 -- esta es la parte que necesito.. si alguien pudiera ayudarme de antemano gracias !! Function Extraer() As StringDim resto As StringIf Caracter = "OCC" And InStr(Path, Caracter) = 0 Then Return Nothingresto = Right(Path, Len(Path) - InStrRev(Path,Caracter))Extraer = restiReturn Extraer Link to comment Share on other sites More sharing options...
bombero_7 Posted August 2, 2013 Report Share Posted August 2, 2013 te servira esto ?? System.AppDomain.CurrentDomain.BaseDirectory() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now