Starting the default program for file format

Thad Bogert thad at technosolver.com
Wed Sep 2 10:50:23 EDT 2020


I may be mistaken, but I believe that it is ShellExecuteW for unicode versions of Omnis.



> On Aug 31, 2020, at 6:55 PM, Wayne Germann <wgermann at PACIFIC.EDU> wrote:
> 
> Hello All,
> 
> I'm using Omnis 8.1.7 on Windows 7 and above.  When I try to open the default program for a file in Omnis Studio it is not working.
> 
>                Register DLL ('Shell32.dll','ShellExecuteA','JJCCCCJ')
>                Call DLL ('Shell32.dll','ShellExecuteA',0,'#NULL#',iDigitalList.[iDigitalList.$line].Location,'','#NULL#',1)
> 
> Can someone take a look to make sure I have the coding correct?
> 
> Thanks
> Brian
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list