Hi,
For the life of me I can't get an addin to show the same error handling that is displayed when the code is being run as a program. I have tried using the addin/-addin code but whatever I do the addin suprreses the errors. in particular i'm trying to handle errors relating to sharing violations when importing data using "import(type=excelxml, c=max)" method.
Any help appreciated, I can send the addin if needs be
thanks
jack
displaying errors for addins
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: displaying errors for addins
Post the Addin.
Re: displaying errors for addins
see attached with work file showing the table it uses for reference. the addin works but if for example the file name is mis-spelt it won't say anything as to why it fails. When ran as a program it prompts with message box/log. i've ended up using the status line but still interested to know the issue.
thanks!
Jack
thanks!
Jack
- Attachments
-
- data import.prg
- (1.72 KiB) Downloaded 296 times
-
- WF1.WF1
- (61.08 KiB) Downloaded 255 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: displaying errors for addins
Seems to work for me - I get the same errors whether I run the program as a program or as an Add-in.
Re: displaying errors for addins
not sure what the issue is then as when ran as an addin it's definitely not been showing the same errors.
The addin is distributed via an azip file installer but i couldn't post that. would that make a difference?
The addin is distributed via an azip file installer but i couldn't post that. would that make a difference?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: displaying errors for addins
Shouldn't
Who is online
Users browsing this forum: No registered users and 2 guests
