test changes without build the app

The place for peer-to-peer support for Visual ProMatrix versions older than VPME 9.1.

test changes without build the app

Postby jluishg » Tue Feb 10, 2015 7:07 pm

Is it posible to test made to a form whit out build the app?

Thx in advance
jluishg
 
Posts: 3
Joined: Thu Feb 05, 2015 8:58 am

Re: test changes without build the app

Postby Gerhard Schmidbauer » Wed Feb 11, 2015 5:50 am

You could use the button RUN in the Form Editor.
Gerhard Schmidbauer
URANUS Software GmbH
Germany
Gerhard Schmidbauer
 
Posts: 152
Joined: Tue Jun 15, 2010 10:33 am
Location: Burtenbach, Bavaria, Germany

Re: test changes without build the app

Postby jluishg » Wed Feb 11, 2015 12:55 pm

The problem is tha when I use the run button it seems the the path for forms, reports, etc it is not reconized. Some idea what is wrong? Thx again.
jluishg
 
Posts: 3
Joined: Thu Feb 05, 2015 8:58 am

Re: test changes without build the app

Postby stecenko » Fri Feb 13, 2015 8:11 pm

You can create a prg called s<prefix>upo

This program is run every time you enter the developer's environment, i.e. when you open the project and when you return from running the app. It is not run in the exe.

In there you can set what ever you need for the form to run.

Here's an example....

*
* set paths that I need
*
DO d:\iProjects9112\common\prgs\addpath WITH "d:\iProjects9112\common\prgs"
DO d:\iProjects9112\common\prgs\addpath WITH "d:\iProjects9112\common\classes"
DO d:\iProjects9112\common\prgs\addpath WITH "d:\iProjects9112\common\reports"
DO d:\iProjects9112\common\prgs\addpath WITH "c:\xFrx"

*
* mimic properties set by login
*
_screen.oApp.oSec.AddProperty('UserData_cUserID', 'richard')
_screen.oApp.oSec.AddProperty('UserData_cFirstName', 'Richard')
_screen.oApp.oSec.AddProperty('UserData_cMiddleName', 'Wayne')
_screen.oApp.oSec.AddProperty('UserData_cLastName', 'Stecenko')
_screen.oApp.oSec.AddProperty('UserData_cMenuPermissionGroup', 'Admin')

I do the above for forms that I might have that are dependent on permissons or where I want to write the user's name, stuff like that. If you don't have the addpath.prg let me know and I'll send it to you.
Richard Stecenko
Interactive Computer Services Inc.
Victoria, British Columbia
204.453.2052
stecenko
 
Posts: 822
Joined: Mon Jun 21, 2010 8:06 pm
Location: Saanich, British Columbia


Return to VPM - older versions

Who is online

Users browsing this forum: No registered users and 1 guest

cron