Click here to Skip to main content
11,789,706 members (59,886 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VS2010 VB.NET Outlook
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 at 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
0 OriginalGriff 999
1 Maciej Los 765
2 KrunalRohit 686
3 CPallini 606
4 Richard MacCutchan 430

Advertise | Privacy | Mobile
Web02 | 2.8.1509028.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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