I've used includes forever and have only now run into this problem and wonder if their is a workaround :
So normally i use
Code: Select all
XIncludeFile "C:\Users\MY_USERNAME\Documents\MY_PROJECT\_includes\MY_INCLUDE.pbi"The compiler doesn't like it if i put different username xincludes in a IF THEN ELSE or SELECT CASE scenario,
it also throws a hissy fit if the xinclude is on e network drive/share and you cant use variable in xincludes either.
I do want to keep my file structure in a specified users directory though.
Any help appreciated.
cheers



