COMO SABER SE A IMAGEBOX TA VAZIA OU NAO???

MARCELO.VB.PIRA 17/03/2005 10:51:26
#73370
COMO SABER SE A IMAGEBOX TA VAZIA OU NÃO???

eu estou apagando assim:

TxCliFoto.Picture = LoadPicture("")

mas quando eu aplico algo assim:

If TxCliFoto.Picture = Null Then Text1 = "vazio" Else Text1 = "tem foto"

sempre fala que tem foto

como saber se ela tem ou não imagem???

Obrigado colegas!!!!
PROGRAMADORVB6 17/03/2005 11:06:08
#73373
Resposta escolhida
exprimenta assim:
If TxCliFoto.Picture = empty Then
msgbox " "vazio"
end if
If TxCliFoto.Picture <> empty Then
msgbox "tem foto"
end if
até breve
MARCELO.VB.PIRA 18/03/2005 11:06:36
#73568
ppppuuuuuuuuuuuuuuuuuuuuutttttttzzzzzzzzzzzzzzzzz!!!!!!!!!!!!!!

era empty!!!!!!!!!!!!!!!!!!!!!

e eu usando null...

GGGGGGGGGRRRRRRRRRRRRRRRRRRRRRRRRRRRR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

hhhhhhhhhhhhaaaaaaaaaaaaarrrrrrrrrggggggggggggggggggg!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

(...que idiota eu fui...)

Obrigado amigo... desculpe a minha idiotice ...
Tópico encerrado , respostas não são mais permitidas