PDA

Ver la Versión Completa : link on form


andresilvaus
16-05-2007, 14:31:30
hi,

need use link (text) on my form...

i' used this " ShellExecute(Handle, 'OPEN', 'http://www.phenixcreations.com');" but not working.. :confused::( why? what wrongon this code?

sorry my bad english

regards

Bicho
16-05-2007, 14:44:49
sorry my bad english

Pues si tú inglés es malo, escribe en castellano leches!! :D

De todos modos, ¿has añadido al uses la unidad ShellApi?
La función ShellExecute necesita más parámetros, prueba así:

ShellExecute(Handle, 'OPEN', 'http://www.phenixcreations.com', '', '', SW_SHOWNORMAL);

Saludos

seoane
16-05-2007, 14:57:14
Cando dis que non traballa, estas dicindo que non compila? porque faltan parámetros nesa función.


uses Shellapi;

ShellExecute(Handle, 'OPEN', 'http://www.phenixcreations.com',nil,nil,SW_SHOW);


PD: Xa que estamos, eu falo en galego ;)

andresilvaus
16-05-2007, 14:58:49
Pues si tú inglés es malo, escribe en castellano leches!! :D

De todos modos, ¿has añadido al uses la unidad ShellApi?
La función ShellExecute necesita más parámetros, prueba así:

ShellExecute(Handle, 'OPEN', 'http://www.phenixcreations.com', '', '', SW_SHOWNORMAL);

Saludos

:cool::cool:

más mi castellano i bad! LOL
tieno usado un texto e aplicadolá fuction ShellExecute(Handle, 'OPEN', 'http://www.phenixcreations.com', '', '', SW_SHOWNORMAL);

más no trabaja...

necessito del cuedigo completo

andresilvaus
16-05-2007, 15:02:12
Cando dis que non traballa, estas dicindo que non compila? porque faltan parámetros nesa función.

Código Delphi [-] (http://www.clubdelphi.com/foros/#)uses Shellapi; ShellExecute(Handle, 'OPEN', 'http://www.phenixcreations.com',nil,nil,SW_SHOW);


PD: Xa que estamos, eu falo en galego ;)

valle!! muchas gracias... working !!! :D:D:D