RunProg in VB Forms not finding programs

Mike,

I was having the same problem. Also after modifying the ".p" file I had to restart Vantage for changes to take affect. As I was told
by Epicor, the better way to do this is, to save "Vantage.vtg" file as let's say "VB_Temp.vtg" and delete "-q" entry from
"OtherParameters=-rand 2 -q -basekey ini" line. It's working like a charm.

Mike Tonoyan / MIS Manager
All American Products Co.
1135 Aviation Place
San Fernando, CA 91340
USA
Tel.: 818-361-0059 Ext.: 246
Fax 818-898-2236
E-mail: miket@...
Web: www.allamericanproducts.com



> --- In vantage@yahoogroups.com, "Mike Lowe"<MLowe@c...> wrote:
> Hi All,
>
> I'm hoping this is something simple I'm overlooking.
>
> I have a Progress program (.p) saved in the following location:
>
> n:\vantage\vbp\ncmr.p
>
> In my VB Form button I enter the following command:
>
> RunProg vbp\ncmr.p
>
> Whenever I press the form button I get an error message stating that "
> vbp\ncmr.p not found".
>
> The procedure runs fine when running from within the Procedure Editor
> just not
> when called by RunProg.
>
> I've also tried calling out the entire path and even using {_vbdir}.
> Still
> receive the error message.
>
> Any suggestions would be greatly appreciated!
>
> Mike Lowe
> Connor
>
> Vantage 5.1
> Progress 9.1C
> --- End forwarded message ---
>
Hi All,

I'm hoping this is something simple I'm overlooking.

I have a Progress program (.p) saved in the following location:

n:\vantage\vbp\ncmr.p

In my VB Form button I enter the following command:

RunProg vbp\ncmr.p

Whenever I press the form button I get an error message stating that "
vbp\ncmr.p not found".

The procedure runs fine when running from within the Procedure Editor just not
when called by RunProg.

I've also tried calling out the entire path and even using {_vbdir}. Still
receive the error message.

Any suggestions would be greatly appreciated!

Mike Lowe
Connor

Vantage 5.1
Progress 9.1C
Mike -

Here's a couple suggestions:

1. Remove the vbp\ from the command so that is only reads:
RUNPROG ncmr.p
(Note: By default Vantage Basic will look under the vbp folder for the
file.)

2. Exit and reopen Vantage on the work station. I have not found a rhyme or
reason as to why this step is needed. Sometimes it works other times it
don't. As a rule of thumb, I have added this as a standard step in testing.
Other ways of bypassing this if your client start up is slow, change the
name of the file you to which you are calling.)

HTH,
Misha 1, Ltd.
Calvin Dekker




-----Original Message-----
From: Mike Lowe [mailto:MLowe@...]
Sent: Tuesday, November 26, 2002 3:42 PM
To: vantage@yahoogroups.com
Subject: [Vantage] RunProg in VB Forms not finding programs


Hi All,

I'm hoping this is something simple I'm overlooking.

I have a Progress program (.p) saved in the following location:

n:\vantage\vbp\ncmr.p

In my VB Form button I enter the following command:

RunProg vbp\ncmr.p

Whenever I press the form button I get an error message stating that "
vbp\ncmr.p not found".

The procedure runs fine when running from within the Procedure Editor just
not
when called by RunProg.

I've also tried calling out the entire path and even using {_vbdir}.
Still
receive the error message.

Any suggestions would be greatly appreciated!

Mike Lowe
Connor

Vantage 5.1
Progress 9.1C


Yahoo! Groups Sponsor
ADVERTISEMENT




Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]