why why why do you insist on changing things that are not broken when you should really apply your time on trhings that need fixing??
Problem:
this worked just fine in 2013
Dim oFileLocations As FileLocations Set oFileLocations = ThisApplication.FileLocations Dim FolderPath As String FolderPath = oFileLocations.Workspace Shell "explorer.exe" & " " & FolderPath & "", vbNormalFocus
it allowed us to open the current project folder instead of ardulously trawling through the server the get to the folder
in 2015, ThisApplication.FileLocations doesnt even exist! why?
on the other hand, Presentation files still continue to randomly remove the textures all on their own without any changes being made to assemblies or parts.
fix what needs fixing, leave what works just fine.
Can you please direct me to the alternaive for FileLocations?
Thanks
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Your code works perfectly for me in 2015. I have a few functions that use ThisApplication.FileLocations without issue. It seems you might have another issue outside of that code.
edit:
wow my english is horrible this morning
hmmmmm i got errors on every tool at the point of declariing as FileLocation.
not to worry, i have created a workaround anyway by truncating the filename 🙂
Cheers
Nigel
Nacho
Automation & Design Engineer
Inventor Programmer (C#, VB.Net / iLogic)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.