ProgReg.ini

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

ProgReg.ini

Postby TimGrun » Thu Sep 02, 2010 12:50 pm

We are writing a lot of add-ins that are used in our EViews development. To ensure that all our users have access to our add-ins, we have a centralized ProgReg.ini file that gets copied to each individual EViews user.
We have things working, but we are guessing what each parameter in the ProgReg.ini file does. Is there documentation for ProgReg.ini file?

Thanks,
Tim Grunwald

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: ProgReg.ini

Postby EViews Gareth » Thu Sep 02, 2010 1:23 pm

There isn't documentation available for it.

I'd recommend using an EViews program to install all of the addins, rather than copying the progreg.ini file. You can use the ADDIN command to register all of the addins.

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: ProgReg.ini

Postby TimGrun » Tue Sep 21, 2010 5:05 am

Thanks Gareth.

Are there ways of programming the deletion of an existing add-in, or setting the default add-in path?

Another problem, with the following command:
addin(proc="getfame", menu="Getfame",desc="Read from Fame database",docs="https://www.rsma.frb.gov/twiki/bin/view ... ns#GETFAME") \\mqlx1\mq-home/eviews/addins/GetFame/getfame.prg

The menu and desc options retain their mixed case, while the docs options does not. So the documentation for getfame goes to the wrong webpage. The path of the add-in, getfame, also appears to lose its mixed case, but somehow EViews is still able to find the add-in.

Thanks,
Tim

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: ProgReg.ini

Postby EViews Gareth » Tue Sep 21, 2010 8:14 am

Windows file paths are case insensitive. Http paths are not. It didn't occur to us that people might host their add-in documentation. I'll see if we can go about fixing the case issue.

There is no way to delete an add-in or set the default path though programmatically.

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: ProgReg.ini

Postby TimGrun » Tue Sep 21, 2010 11:21 am

Thanks Gareth,

We are using our internal twiki for all our other documentation, so it seemed like a good place for the add-in documentation too.
That's why we are "hosting" the add-in documentation. :D

I was afraid of the answer about deleting current add-ins and changing the default path. So what I do is delete the current progreg.ini file and stick the default add-in path as the first line, before executing the EViews program with all the addin commands.

Thanks,
Tim

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: ProgReg.ini

Postby EViews Gareth » Tue Sep 21, 2010 11:23 am

Of course, you could delete the progreg.ini file as part of the EViews program :D


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests