Jump to content

Ayuda con vb.net


Recommended Posts

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 7
resto = vmware 7 -- esta es la parte que necesito.. si alguien pudiera ayudarme
de antemano gracias !!
Function Extraer() As String
Dim resto As String
If Caracter = "OCC" And InStr(Path, Caracter) = 0 Then Return Nothing
resto = Right(Path, Len(Path) - InStrRev(Path,Caracter))
Extraer = resti
Return Extraer

 

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...