Plz clarify the question again. let me know first where the subprogramm has written? if it is with in a class then justĀ use the name of that subprogramm to call it, and if it is outer to the class then call it using the object of that class, and if it is outer to the assembley then add reference to ur application and call the subprogram by creating the object of the class defined inside the assembley.