_Path Hard-coded references...

_Path Hard-coded references...

serge
Advocate Advocate
230 Views
2 Replies
Message 1 of 3

_Path Hard-coded references...

serge
Advocate
Advocate
When I'm installing ACAD-VBA-applications with References to other *.dvb (protected functions) by Clients, there's always a error-messages that ACAD can't find the referenced *.dvb at the initial location. My question is: It seems to me that these references are Path-hardcoded, is there any way to avoid is, My Client(s) do not have the same Directory structures as on my PC ... Thanks for any tips ... SMD
DEVIDTS Serge, CAD Consultant
http://www.CADdICT.be
0 Likes
231 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Well the obvious is to setup a test station that you resolve the references before you release the projects. The next logical is to not reference other dvb files. If this type of functionality is actually required, have your company invest in a seat of full vb and create DLLs. -- ___________________________ Mike Tuersley CADalyst's AutoCAD Clinic Rand IMAGINiT Technologies
0 Likes
Message 3 of 3

Anonymous
Not applicable
Yes the Test station is the most obvious. Short of that I like to define Autocad a virtual path. That way it doesnt matter if its installed in the Temp Folder. Tell your Client(s) to put all their dvb's in support.Then [vbcode] Dim FileName As String FileName = ThisDrawing.Application.Path & "\Support\"[/vbcode] -- allfro - Chaos Coder Extraordinaire 'site index' (http://www.vbdesign.net/) | please use [ vbcode] \"your_code_here\" [/vbcode ] code tags | be nice | 'augi' (http://tinyurl.com/ytk37) |'go babelfish' (http://tinyurl.com/2j7df) ------------------------------------------------------------------------ allfro's Profile: http://www.vbdesign.net/expresso/member.php?action=getinfo&userid=37 View this thread: http://www.vbdesign.net/expresso/showthread.php?threadid=59832
0 Likes