你在工程中加一个标准模块
用public pp as string 声明就可以了如果你在form1中声明了一个变量
如public p as string
可以在form2中如此引用
form1.p="应用"