Launching to a Web page

Launching to a Web page

Postby Horizon » Tue Nov 04, 2008 7:14 pm

Hi,

I want to launch a web page using default browser. I use the ShellExecute function like below.

Code: Select all  Expand view
ShellExecute( ownd:hwnd, 'Open', 'http://www.google.com' )


But It does not work. Any Idea?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Launching to a Web page

Postby Enrico Maria Giordano » Tue Nov 04, 2008 7:26 pm

Try

Code: Select all  Expand view
SHELLEXECUTE( 0, 0, "'http://www.google.com", 0, 0, 1 )


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Horizon » Wed Nov 05, 2008 4:08 pm

Hi Enrico,

Your suggestion does not work also.

I have compiled the testmnu2.prg with changing menu 1.1 and menu 1.2.

Code: Select all  Expand view
http://rapidshare.com/files/160911694/TEST.rar


I have tested exe file in Vista Sp1 and XP Sp3. Both does not work.

Does this example work in your computer?

Thanks,
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Enrico Maria Giordano » Wed Nov 05, 2008 4:31 pm

Yes, I used it many times.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Horizon » Wed Nov 05, 2008 5:22 pm

I mean does my testmn2.exe work?

There may be a problem with my build.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Enrico Maria Giordano » Wed Nov 05, 2008 5:57 pm

Your EXE doesn't work here either but your PRG works fine if compiled here.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Horizon » Wed Nov 05, 2008 7:08 pm

It is the problem.

I have just build using xHarbour Builders xbuild testmnu2.prg.

I don't know how to do? I back to fwh from 8.10 to 8.03. There is no change.
I back to xbuilder from Sep2008-93 to June2008-63 and there is no change.

Any suggestion?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Enrico Maria Giordano » Wed Nov 05, 2008 8:43 pm

Sorry, I don't use xBuilder.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Horizon » Thu Nov 06, 2008 8:06 am

Thanks Enrico,

I want to try to another builds. When I look at the ftp of FWH, There are Harbour and XHarbour. What is the difference?

Enrico, Which one you use. Harbour/XHarbour, Borland/Microsoft?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Enrico Maria Giordano » Thu Nov 06, 2008 8:25 am

I'm using both Harbour and xHarbour with BCC.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests

cron