Jump to content
Sign in to follow this  
jafm

Chamar String

Recommended Posts

jafm

boas, queria passar um parâmetro, que fosse alterado, pra isso sei que é possível colocar o parâmetro no caminho, assim que fazemos o debug. Alguém me consegue ajudar como se faz esse mecanismo?

Share this post


Link to post
Share on other sites
nelsonr

Boas,

queres passar um parametro para a tua aplicação?

Em debug podes colocar o parametro indo às propriedades do projecto / Debug / Start Options / Command line arguments

Para leres os parametros podes usar My.Application.CommandLineArgs

http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.applicationservices.consoleapplicationbase.commandlineargs.aspx?cs-save-lang=1&cs-lang=vb

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.