Board index » delphi » parameter HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

parameter HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Good night!

I have a graphic program that carries an image for parameter:
Example:

C:\Demo\Photo.Exe C:\Imagens\Foto001.Jpg

When I try to do this same operation inside of another program it doesn't
work. I have the name of the picture in a field DBEDIT.

Example that doesn't work:

WinExec(Pchar (' Photo.Exe') + Picture.Text,sw_showdefault);

Does anybody can me to help?

Respectfully,

Franco Angello of Motta.

 

Re:parameter HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Hi, Perhaps you could try this:

WinExec(Pchar ('Photo.Exe ' + Picture.Text),sw_showdefault);
Hope this helps :-)

--
Paul Nicholls.
********************************************************
Live long and optimise
--------------------------------
Web Page : www.southcom.com.au/~phantom

Re:parameter HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


hi!

or use ShellExecute

Paul Nicholls schrieb in Nachricht <7nr6ju$b...@forums.borland.com>...

Quote
>Hi, Perhaps you could try this:

>WinExec(Pchar ('Photo.Exe ' + Picture.Text),sw_showdefault);
>Hope this helps :-)

>--
>Paul Nicholls.
>********************************************************
>Live long and optimise
>--------------------------------
>Web Page : www.southcom.com.au/~phantom

Re:parameter HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Quote
> Does anybody can me to help?

By the way, you owe $78 dollars to the TeamB retirement fund -- one for
extra (more than one) exclamation point per sentence, and a $5 surcharge for
a subject with more than three exclamation points.

- Rick

Other Threads

1. DBNavigator HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2. L.EGAL C.A.B.L.E TV DE-S.C.R.A.M.B.L.E.R ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddbbbbbbbbbbbbbbbbbbbbhbgbbbbbbbbbbbbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffqqqqqqqqqqqqqqqqqqqqq2qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzz

3. Pascal Guru's please help....................................................................

4. ++ Meet More Women Easily With Pheromones ++ frrrtttyyyyyyyyyyyyyyyyyyyyyyyyjjjjjjjjjjjjjnnnnnccccnnnnnbbbbbbbbbbbbbbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffdsddddddd 488 [1/2]

5. +++GET YOUR FREE PENTIUM CELERON-300+++____________________________________________________________________________________________rtyu4598rut oiwty etijew u65her iuer

6. !!!!!!!!!!!!!!!!!!!! PROGRAMS FOR SALE !!!!!!!!!!!!!!!!!!!!????????????????????????????????????????????????????????????????????????????????????????????????

7. ** EVIDENCE ELIMINATING SOFTWARE** dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd 2587 [1/2]

8. ++ Meet More Women Easily With Pheromones ++ frrrtttyyyyyyyyyyyyyyyyyyyyyyyyjjjjjjjjjjjjjnnnnnccccnnnnnbbbbbbbbbbbbbbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhffffdsdddddddddddddddddddddeee44444deeeeyyyuyp 4151 [1/2]

9. ALERT- - Rid your PC of Illegal Images rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

10. Problems with TADOStoredProc.Parameters.Refresh in runtime