Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 01 AUG 2006 04:52:49AM Brian Scarth wrote:

Hi,

We have a 16bit application which allows a user to open a file in its native environment, for example .txt files by Notepad and .doc files by Word, by issuing a Utility_Run32 call.

Under Windows 2000 the application works ok, but under Windows XP it only works some of the time.

Any file registered to Notepad or WordPad will open ok but the same file registered to Word will not open from the application.

With .jpg's, the file wouldn't open, but after I registered it to Notepad then back to "Windows Picture and Fax Viewer" it opens ok.

Our similar 32bit application is ok under Windows XP as it uses ShellExecute.

Any ideas ?


At 01 AUG 2006 09:08AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Increased security in XP might be a starting point given that the Utility_Run32 relies on scripting.

The Sprezzatura Group

World leaders in all things RevSoft


At 01 AUG 2006 11:13PM Bob Carten wrote:

If you look at OIRUN.VBS in the OI directory you can see that it is just a call to the Start command.

You may get the same or better results with

call Utility("RUNWIN", "CMD /C START " : quote(filename ) )

See the help for the ASSOC and FTYPE commands to see how to create file associations

HTH

Bob

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/2e6cff108389521f852571bd0030c835.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1