smallredville
Programmer
Hello,
Recently I wrote a java program to create a shortcut with LAPI.
I tried both:
CREATESHORTCUT from LAPI_DOCUMENTS
CREATEALIAS from LAPI_DOCUMENTS
as shown in the followings:
if (doc.CreateReferenceEx(volumeID, objectID, -2000, 2000, objName, doc.CREATESHORTCUT, createInfo, objectInfo) ==0){}
if (doc.CreateReferenceEx(volumeID, objectID, -2000, 2000, objName, doc.CREATEALIAS, createInfo, objectInfo) ==0){}
both worked fine...
Just curious what is the main difference between the two then?
Many thanks in advance...
smallredville
Recently I wrote a java program to create a shortcut with LAPI.
I tried both:
CREATESHORTCUT from LAPI_DOCUMENTS
CREATEALIAS from LAPI_DOCUMENTS
as shown in the followings:
if (doc.CreateReferenceEx(volumeID, objectID, -2000, 2000, objName, doc.CREATESHORTCUT, createInfo, objectInfo) ==0){}
if (doc.CreateReferenceEx(volumeID, objectID, -2000, 2000, objName, doc.CREATEALIAS, createInfo, objectInfo) ==0){}
both worked fine...
Just curious what is the main difference between the two then?
Many thanks in advance...
smallredville