Studio 5.1 open a web page

Michael Seall ms at smartrack.co.uk
Thu Dec 8 11:30:14 EST 2011


   Good point Mark. Thanks.
   Michael
   On 08/12/2011 16:27, Mark Phillips wrote:

On Dec 8, 2011, at 7:32 AM, Michael Seall wrote:

Register DLL ('Shell32.dll','ShellExecuteA','JJCCCCJ') Returns ECode
Call DLL ('Shell32.dll','ShellExecuteA',0,'#NULL#',URL,'','#NULL#',1)

One caveat about the solution above. Windows limit the URL length; 248 characte
rs or something around that. 

That is no problem for simple URL's but can be a royal PITA if you are attempti
ng to drive RESTful URL's through ShellExecuteA, or want to use the "mailto:" f
orm Andy presented with a long message body. 

hth,

 - Mark Phillips_____________________________________________________________
Manage your list subscriptions at [1]http://lists.omnis-dev.com

References

   1. http://lists.omnis-dev.com/



More information about the omnisdev-en mailing list