ozgurtekin
Programmer
Hi
I want to open a web page in the default browser
but the web page's position is not stated.
I added ShellAPI in uses and
I did this but didnn't work:
ShellExecute(handle,'open',OpenDialog1.FileName,nil,nil,1);
When I change OpenDialog1.FileName to a file like ''c:\test.htm' it works.
Is it possible to have a changable file name in the
ShellExecute(handle,'open',OpenDialog1.FileName,nil,nil,1);
code
I want to open a web page in the default browser
but the web page's position is not stated.
I added ShellAPI in uses and
I did this but didnn't work:
ShellExecute(handle,'open',OpenDialog1.FileName,nil,nil,1);
When I change OpenDialog1.FileName to a file like ''c:\test.htm' it works.
Is it possible to have a changable file name in the
ShellExecute(handle,'open',OpenDialog1.FileName,nil,nil,1);
code