Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML inside the program
Message
From
28/03/2005 15:44:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/03/2005 13:00:39
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00999405
Message ID:
00999528
Views:
14
>>>Hi all,
>>>
>>>I know we can save myreport.frx as myreport.html while opening it.
>>>
>>>How to do it inside the program and to call the browser to view immmediately ?
>>>
>>>Any help or advice would be reallly appreciated ?
>>>Tia
>>
>>
>>m.lcOutPut = fullpath("myOutput.htm")
>>Declare Long ShellExecute In "shell32.dll" ;
>>	long HWnd, String lpszOp, ;
>>	string lpszFile, String lpszParams, ;
>>	string lpszDir, Long nShowCmd
>>ShellExecute(0,'Open', m.lcOutput,0,0,1)
>>
Cetin
>
>Much better than what I had been doing. A further question if I may?
>
>Which parameter opens a new browser session?
>
>Thanks.........Rich

This appears to be a way:
ShellExecute(0,'Open', 'iexplore',m.lcOutput,0,1)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform