franklin1232
New Member
I have finally found a way in our ERP system to run windows programs on the client machines, but I have a small problem. What I have done is write a small .p
{v:\vantage\vbp\vb.i}
Define Variable RMARowid as Rowid no-undo.
Define Variable strWRR1000 as char no-undo.
set RMARowid = getcurrentRowID().
FIND RMARcpt WHERE ROWID(RMARcpt) = RMARowid No-lock.
DOS SILENT VALUE("v:\vantage\VBP\wrr1000.exe -" + String(RMARcpt.RMANum)).
return.
When I click a button on the ERP screen this program runs and opens the wrr1000.exe. Problem is after closing the WRR1000 I want to return to the ERP screen, but everything is hung. It does comes back eventually depending on the machine speed.
Is there a better way to run this. I am guessing some wierd memory space issue or handle thing, but I don't know 4GL and Prowin that well yet so any help would be appreciated.
Thanks
{v:\vantage\vbp\vb.i}
Define Variable RMARowid as Rowid no-undo.
Define Variable strWRR1000 as char no-undo.
set RMARowid = getcurrentRowID().
FIND RMARcpt WHERE ROWID(RMARcpt) = RMARowid No-lock.
DOS SILENT VALUE("v:\vantage\VBP\wrr1000.exe -" + String(RMARcpt.RMANum)).
return.
When I click a button on the ERP screen this program runs and opens the wrr1000.exe. Problem is after closing the WRR1000 I want to return to the ERP screen, but everything is hung. It does comes back eventually depending on the machine speed.
Is there a better way to run this. I am guessing some wierd memory space issue or handle thing, but I don't know 4GL and Prowin that well yet so any help would be appreciated.
Thanks