The building construction is vital to Egypt's economy. The main contractor is dependent on subcontractors to finish the job. However, a lack of planning, poor management, and poor contracting result in various issues, including delays that result in claims and disagreements among project participants. A paradigm based on Visual Studio, the C++ programming language, and the problems and solutions program (PASP) was designed to overcome project problems. In Egyptian construction projects, a case study of the interaction between the main contractors and the subcontractors was conducted. The factors of problems and resolution of disputes that face the main contractor and subcontractor relationship during execution of the project have been stated and gathered by interviews in case study in Egypt . this problems related to the main contractor, the sub contractor, and the other source .The factors to resolution of disputes was related to communication , financial, work performance, contract and other sources .This study aids in the selection of a subcontractor for a project as well as the enhancement of the Egyptian subcontracting environment. The result showed good acceptable limits of homogeneity and reliability that allowed to this model to use for identify answers to a variety of project difficulties. The project's recommendations focused on selecting a subcontractor and improving the Egyptian subcontracting environment, such as contract compliance, selecting contractors who have experience in the required works, timely contract progress payment, inefficiency, and favoritism without regard. This research opens the way for continued improvement of model parameters that will help in effectively treating this field.