FoxPro/Visual FoxPro - FOTOS EN RED

 
Vista:

FOTOS EN RED

Publicado por alberto (404 intervenciones) el 02/01/2009 05:48:06
COMO ANDAN AMIGOS, FELIZ AÑO, MI PROBLEMA ES QUE YO GRABO LA RUTA DONDE ESTA LA FOTO EN EL REGISTRO, EL SISTEMA TRABAJA EN RED, PERO CDO ESTA EN LA TERMINAL ME DICE QUE LA FOTO NO SE ENCUENTRA, USO EL GETFILE() PARA GRABAR LA FOTO.
EN EL REGISTRO SE GRABA ASI "C:WINVETFOTO4.JPG".
ES UN ERROR LOGICO SE DEBERIA GRABAR ALGO SI " \SERVIDORCWINVETFOTO4.JPG, PERO COMO HACER QUE SE GRABE ASI ?
SALUDOS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:FOTOS EN RED

Publicado por HELDER MARTINEZ (COUNDY)  (711 intervenciones) el 02/01/2009 16:45:24
**extraer ruta
cR=SYS(1271, thisform)
cR=SUBSTR(cR, 1, RAT("forms", cR))
cA=ALLTRIM(cR) + "Images"
SET PATH TO ALLTRIM(cA)
SET DEFAULT TO ALLTRIM(cA)

**Extraer foto
cLogotipo1=GETFILE("png, jpg, gif")
IF LEN(ALLTRIM(cLogotipo1))<> 0
thisform.imgLogotipo1.Picture =cLogotipo1
thisform.edtLogotipo1.Value = cLogotipo1
ENDIF


puedes usar esto amigo
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar