那只不过都是些按钮罢了。要获得Windows所有字体并加入到一个组合框中那还不容易吗?在VB中可以用Screen对象获得系统所安装的所有字体并加入到一个组合框中:'获得系统所系统的字体列表: 在Form1中加入一个组合框,并在Form1中加入如下代码: Private Sub Form_Load() Dim counter As Integer For counter = 0 To Screen.FontCount-1 Combol1.AddItem Screen.Fonts(counter) Next End Sub 其他的,就不说了!
插入对象怎么弄啊 我这样写了 On Error Resume Next OLE1.InsertObjDlg If Err <> mscomdlg.cdlCancel Then zjjss.OLEObjects.Add , , dlgCommonDialog.FileName End If 但是弄出来的东西放不到richtextbox里边去啊 ,高手快来,解决了我要加分了
在Form1中加入一个组合框,并在Form1中加入如下代码:
Private Sub Form_Load()
Dim counter As Integer
For counter = 0 To Screen.FontCount-1
Combol1.AddItem Screen.Fonts(counter)
Next
End Sub 其他的,就不说了!
On Error Resume Next
OLE1.InsertObjDlg
If Err <> mscomdlg.cdlCancel Then
zjjss.OLEObjects.Add , , dlgCommonDialog.FileName
End If
但是弄出来的东西放不到richtextbox里边去啊 ,高手快来,解决了我要加分了