Starting the default program for file format
Wayne Germann
wgermann at PACIFIC.EDU
Tue Sep 1 10:52:11 EDT 2020
Instead of the "#NULL#"
-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of Kelly Burgess
Sent: Monday, August 31, 2020 7:51 PM
To: OmnisList <omnisdev-en at lists.omnis-dev.com>
Subject: Re: Starting the default program for file format
Hi Brian,
>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)
Like Jim, I have "open" as my 4th parameter, but your other problem is that for Unicode Studio, you need to change 'ShellExecuteA' to 'ShellExecuteW' because you'll be giving it a unicode path.
Kelly
_____________________________________________________________
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