This invention relates to a method of treating type II diabetes with a polyacetylenic compound of the following formula: in which R1 is H, C1-C10 alkyl, C2-C10 alkenyl, C2-C10 alkynyl, C3-C20 cycloalkyl, C3-C20 cycloalkenyl, C1-C20 heterocycloalkyl, C1-C20 heterocycloalkenyl, aryl, or heteroaryl; R2 is H or a monosaccharide residue; R3 is H or C1-C10alkyl; m is 2, 3, or 4; n is 0, 1, 2, or 3; o is 0, 1, 2, 3, or 4; and p is 1, 2, 3, or 4.本發明係關於一種用於治療第二型糖尿病之醫藥組合物,其中前述醫藥組合物係包含一化學式如下之聚炔類化合物及醫藥可接受之載劑: (I),;其中R1係為氫、C1-C10烷基、C2-C10烯基、C2-C10炔基、C3-C20環烷基、C3-C20環烯基、C1-C20雜環烷基、C1-C20雜環烯基、芳香基、或雜芳基;R2係為氫或一單醣殘基;R3係為氫或C1-C10烷基;m係為2、3或4;n係為0、1、2或3;o係為0、1、2、3或4;及p係為1、2、3或4。