This paper focuses on the design and development of an expert system for on-line detection of various control chart patterns so as to enable the quality control practitioners to initiate prompt corrective actions for an out-of-control manufacturing process. Using this expert system developed in Visual BASIC 6, all the nine most commonly observed control chart patterns, e.g., normal, stratification, systematic, increasing trend, decreasing trend, upward shift, downward shift, cyclic, and mixture can be recognized well, employing an optimal set of seven shape features. Based on an observation window of 32 data points, it can plot the control chart, compute the control limits, identify the control chart pattern, calculate the process capability index, determine the maximum run length, and identify the starting point of the maximum run length. After pattern recognition, it can also inform the users about various root assignable causes associated with a particular pattern along with the necessary pre-emptive actions. It opens up wide opportunities for quality improvement and real-time applications in diverse manufacturing processes. This developed expert system is built for a vertical drilling process and its recognition performance is tested using simulated process data.