NeuronProfile.xml file location sensitive

If you think you''ve found a bug post it here.
robertspark
Posts: 29
Joined: 29 Jun 2017, 10:25

NeuronProfile.xml file location sensitive

Postby robertspark » 27 Sep 2017, 02:23

NeuronProfile.xml is sensitive to its file location

It appears it must be within the C:\uccnc\plugins folder.

Would it be possible to change the search path of the plugin to the following:

Code: Select all

Application.StartupPath + @"\Plugins\NeuronProfile.xml"


That way if someone was to install UCCNC within another directory (other than c:\uccnc) then the plugin will still find the xml file and not report an error.

Rob


This is discussed here:
http://www.forum.cncdrive.com/viewtopic ... rt=10#wrap
if you have a look at point #4 from dezsoe's post of Thu Jul 20, 2017 8:48 am

4. Instead of "C:\UCCNC\..." use Application.StartupPath + "\\Example_codes\\logfile.txt". E.g. I don't have C:\UCCNC folder at all. (At the moment I have 38 versions installed on E:\UCCNCNF\<versionnumber> folders. :))


may wish to use the similar path for anything else that the plugin may be looking for (such as the Zedgraph.dll ??) so they are not so folder speciifc but more application specific.

admin.neuron
Администратор
Posts: 19
Joined: 10 Dec 2016, 10:19

Re: NeuronProfile.xml file location sensitive

Postby admin.neuron » 02 Oct 2017, 18:22

Hello Rob!
This is a good idea. Thank you.
New version in this place https://www.dropbox.com/sh/czj004ewf82sb97/AABgfpBxvS08t6KLT1QTn9Vwa?dl=0

robertspark
Posts: 29
Joined: 29 Jun 2017, 10:25

Re: NeuronProfile.xml file location sensitive

Postby robertspark » 02 Oct 2017, 21:04

Thanks Andrew, much appreciated :)


Return to “Report a bug”



Who is online

Users browsing this forum: No registered users and 1 guest