× 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.



Yes, it is possible. To call the program you must use RUNRMTCMD and you have
to configure Client Access to allow incoming commands, run detached and to
interact with the desktop. In the RPG pgm, you call a CLP that grabs the IP
address of the pc (Code found on Midrange.com). Then set up the command to
call, with the name of the VB program (including location) and any
parameters you are passing to it. 
   ChgVar     Var(&CMD) +                           
    Value('\\SERVER\DIR\PROGRAM ' +   
           || &FILE || '-' || &APYR || '-' || &OFCD +  
            || '-' || &TNNB)                            

Then call the RUNRMTCMD cmd(&CMD) RMTLOCNAME(&IP *IP). We do not currently
pass any information back, but this should get you started.

We use this setup to call a VB program that allows our staff to enter
comments using windows from a green-screen home grown application. The nifty
thing is that the programmer that wrote this, incorporated using WORD for
spell check. All the data is stored on the iSeries in standard PF's. If for
some chance, the person cannot invoke the VB application, they are dumped
back into a green screen program. Not as nifty, but usable.

If you have more questions, I can try to help offline.

Cyndi B.
Boise, ID
"The Idaho Housing and Finance Association provides funding
for affordable housing in Idaho communities. IHFA is not a state
agency under state law, and uses no state funds or state employees
to support its operations."



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.