2011-08-24 45 views

回答

0

你想要什么称为超文本应用程序或HTA。您使用HTML来创建表单。

+0

是的我已经提出了一个关于制作对话框的问题,并且有人提到了你所做的同样的事情。感谢您的帮助,我一定会练习这种语言。 – angel

1

答案是:这是不可能的。 MsgBox只能显示字符串。

文档: http://msdn.microsoft.com/en-us/library/sfw6660x%28v=vs.85%29.aspx

另一种方法是在一个小的Internet Explorer窗口来显示图像。下面是一个例子:

Set objExplorer = CreateObject("InternetExplorer.Application") 

With objExplorer 
    .Navigate "about:blank" 
    .ToolBar = 0 
    .StatusBar = 0 
    .Left = 100 
    .Top = 100 
    .Width = 200 
    .Height = 200 
    .Visible = 1 
    .Document.Title = "Important image!" 
    .Document.Body.InnerHTML = _ 
     "<img src='http://sstatic.net/stackoverflow/img/venn-diagram.png' height=100 width=100>" 
End With 

这应该显示在堆栈溢出的about部分找到的文氏图。

+0

好的,再次感谢。 – angel