Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML inside the program
Message
From
28/03/2005 16:03:07
 
 
To
28/03/2005 15:44:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00999405
Message ID:
00999536
Views:
16
>>>>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


That does it. Muchly appreciated.........Rich
Previous
Reply
Map
View

Click here to load this message in the networking platform