在Outlook 2007中显示窗体 [英] Displaying Form in Outlook 2007

查看:152
本文介绍了在Outlook 2007中显示窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VS2010在VB.net Outlook程序中创建了一个Button和一个Form。



如果单击Button,它会显示一条MsgBox消息。 />


我现在想修改代码以显示我的Form而不是MsgBox消息,但是,当我在代码中输入 EmailForm。时我没有得到显示选项,我得到了18个选项的下拉列表,但无法显示表格。



表单本身只不过是我从服务器资源管理器中拖入的SQLCE数据集,允许我添加E:Mails到它。



我做错了什么? !?

I have created a Button and a Form in a VB.net Outlook program using VS2010.

If I click the Button it displays a MsgBox message.

I now want to amend the code to display my Form instead of the MsgBox message, however, when I type "EmailForm." into the code I do not get a "Show" option, I get a drop down list of 18 options, but no way of displaying the Form.

The Form itself is nothing more than my SQLCE dataset dragged in from the Server Explorer to allow me to add E:Mails to it.

What am I doing wrong ?!?

推荐答案

Teenustar解决了它,谢谢...除了这是一个VB程序,而不是C#,所以实际代码是...



Teenustar has resolved it, thank you ... except this is a VB program, not C#, so the actual code is ...

Dim myEmailForm As New EmailForm
myEmailForm.Show()





......我会围绕vb& amp; Java最终,我保证我会!!!



再次感谢Teenustar。



... I will get my head around vb & Java eventually, I promise I will !!!

Thanks again Teenustar.


这篇关于在Outlook 2007中显示窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆