Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run paradox 7 as a service or in the background?

Status
Not open for further replies.

cmose

Technical User
Aug 4, 2003
14
US
Hello,
my company has a software product that runs on Paradox 7. The gui is built using the paradox scripting language. As it stands right now, when you run the program paradox opens first and stays open while the program runs within it. Is there any way to run paradox as a service or run it in the background so that only the gui loads up rather than paradox loading up and then loading the gui within that?
Thanks very much for any input!!
 
Hi,

In 32-bit Pdox 7 ....

You have to declare the form as a dialog box (Form | Window style, choose Dialog box) and then hide the application using the following code (try it out on a pushbutton):

var

app application

endvar

app.hide()
sleep(3000)
app.maximize()

If it's 16-bit, I think Window Style is under Properties | Form | Window style .....


Hope this helps.




Darragh Quinn
 
Just to clarify - there is no way of displaying the form without Paradox, no way of creating executables, if that's what you were implying.

Darragh Quinn
 
cmose,

Just to add to Darragh's comment, it is possible to build Services that use Paradox tables, just not with Paradox for Windows. You'll want to use a full programming language for that, e.g. Delphi, C++ Builder, or some other language.

Both Delphi and C++ Builder (currently) include the Borland Database Engine, which provides native access to Paradox tables; however, you can also use ODBC drivers from various sources.

Hope this helps...

-- Lance
 
thanks for the info folks. One app we have is built entirely using the pdox scripting language so I guess opening up the tables and forms without visually opening paradox is not necessarily possible. Follow up, is there a way to keep users from resizing certain windows/forms? Thanks much for the replies!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top