USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Fórum

  Visual Basic
Voltar
Autor Assunto:  execular um Private Sub teste()
jongle
CAPANEMA
PA - BRASIL
Postada em 20/03/2006 15:43 hs            
pessoal, como eu faço para executar um "Private Sub teste()"
 
crie assim:
 
Private Sub teste()
comando
comando
.....
end sub
 
quero em um botao executar ele....
 
 
     
Daniel
Pontos: 2843
SÃO PAULO
SP - BRASIL
Postada em 20/03/2006 15:48 hs            
Coloque no evento click do botão:
 
Private Sub Nome do Botao_Click()
     Sub teste
End Sub

dsmn
     
Daniel
Pontos: 2843
SÃO PAULO
SP - BRASIL
Postada em 20/03/2006 16:44 hs            
Coloque no evento click do botão:
 
Private Sub Nome do Botao_Click()
     teste
End Sub

dsmn
     
Alexandre C.G
Pontos: 2843 Pontos: 2843
PATOS DE MINAS
MG - BRASIL
Postada em 21/03/2006 06:28 hs            
Private Sub Nome do Botao_Click()
   call teste
End Sub

     
Alexandre C.G
Pontos: 2843 Pontos: 2843
PATOS DE MINAS
MG - BRASIL
Postada em 21/03/2006 06:29 hs            
'sem ser no evento click
Private Sub pNome()
    call teste
End Sub

     
Página(s): 1/1    


Seu Nome:

Seu eMail:

ALTERAR PARA MODO HTML
Mensagem:

[:)] = 
[:P] = 
[:(] = 
[;)] = 

HTML DESLIGADO

     
 VOLTAR

  



CyberWEB Network Ltda.    © Copyright 2000-2025   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página