Visual Basic is an object-oriented programming language, it is simple to understand and convenient to operate, it is simple and practical to write some small measurement programs with it. This article first introduces the calculation method of highway curve segment coordinate, then present the needed widen parameters when considering the road widening, and how to realize the road widening, and also establishes the mathematical model according to the calculation formula, by using VB to design the calculation program of lofting coordinate when considering the road widening. At the same time, this article analyses and introduces the complied programming, puts forward some advantages and the existing problems.