Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ancient Syntax
Message
From
09/02/2015 12:36:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Ancient Syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01615028
Message ID:
01615028
Views:
70
We have an ancient Label Printing program (no longer supported by the vendor) and an application that calls it with the following
lcCommand = [! /N c:\directory\exe.Exe /Usr uuuu /Pwd ppppp/cmd ] + addbs(path) + 'somefile.cmd'
&lcCommand
Wait Window 'Label printed' Nowait
We converted the application from VFP8 to VFP9 and it has suddenly stopped printing. The application opens, appears to work, closes without having printed anything.

Is there any possibility that using SHELLEXECUTE() would make a difference? If so, could somebody please help with the syntax once I've declared the DLL?

Thanks.............Rich
Next
Reply
Map
View

Click here to load this message in the networking platform