× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Never mind. I figured it out. :)

For the archives:

C eval wCmd =
C 'STRPCCMD PCCMD('
C + '''rundll32 shell32,ShellExec_RunDLL '
C + %trim(SERVERLOC) + %trim(FILENAME)
C + ''') PAUSE(*NO)'



On 10/23/2010 10:20 PM, Booth Martin wrote:
I can open an image from RPG using STRPCO& STRPCCMD using "start."

But, as Scott has pointed out, that blinks the DOS command prompt window
open and seems kinda cheesy.

So... I got all excited and decided to use rundll32, as has been
recommended.

Doesn't work. Obviously I am doing something idiotic.

Lets suppose I have an image:

c:\Users\Sam\Pictures\Halloween\Anatomy.jpg

I want that image to open with whatever program the user has associated
with .jpg extensions. What is the STRPCCMD command? What obvious thing
am I missing?

Another thing that worried me: rundll32 sounds like it is for 32 bit
machines and Windows 7 runs on 64 bit. Are we looking at a scenario
where in a few years rundll32 will be as unsupported, just as 16 bit
stuff is today?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.