ProT Posted February 19, 2006 at 01:03 AM Report Share #14556 Posted February 19, 2006 at 01:03 AM Boas!!! Pessoal é o seguinte tou a fazer um programa em vb.net 2003 e precisava de saber como faço para quando clico num botão ele executar a calculadora do windows Agradeço respostas Cumps Link to comment Share on other sites More sharing options...
vbmaster Posted February 19, 2006 at 01:14 AM Report Share #14561 Posted February 19, 2006 at 01:14 AM Mete no código do botão: Shell "calc.exe", vbNormalFocus 😕 Link to comment Share on other sites More sharing options...
ProT Posted February 19, 2006 at 01:54 AM Author Report Share #14566 Posted February 19, 2006 at 01:54 AM Boas Brigadão vbmaster 😕 Cumps Link to comment Share on other sites More sharing options...
vaurdan Posted February 27, 2006 at 11:30 AM Report Share #15725 Posted February 27, 2006 at 11:30 AM como é isso pa VB6? http://www.neopt.org <- O meu blog xD Link to comment Share on other sites More sharing options...
vbmaster Posted February 27, 2006 at 12:33 PM Report Share #15728 Posted February 27, 2006 at 12:33 PM como é isso pa VB6? igual... Link to comment Share on other sites More sharing options...
skid Posted February 28, 2006 at 04:43 PM Report Share #16003 Posted February 28, 2006 at 04:43 PM vbmaster sera que voce poderdia explicar o que faz o shell e o vbNormalFocus desde ja muito obrigado Link to comment Share on other sites More sharing options...
vbmaster Posted February 28, 2006 at 04:51 PM Report Share #16004 Posted February 28, 2006 at 04:51 PM o shell executa qualquer .exe que tu lhe passes. a segunda expressão é o modo como o .exe é aberto. Se for o notepad.exe a abrir, podes abri-lo maximizado fazendo vbMaximizedFocus, minimizado: vbMinimizedFocus, e até escondido vbHide. Fica bem 😄 ;)😛 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