Click here to Skip to main content
13,559,785 members
Rate this:
Please Sign up or sign in to vote.
I have created a Button and a Form in a 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 ?!?
Posted 4-Dec-12 2:56am
Teenustar 4-Dec-12 9:39am
Did you create an object for your EmailForm ?
EmailForm Obj = new EmailForm();

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

Dim myEmailForm As New EmailForm

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

Thanks again Teenustar.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02-2016 | 2.8.180527.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100