Click here to Skip to main content
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 3: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 650
1 Maciej Los 525
2 Suvendu Shekhar Giri 229
3 Sascha Lefévre 229
4 Richard Deeming 195
0 Sergey Alexandrovich Kryukov 9,693
1 OriginalGriff 9,185
2 Peter Leow 5,112
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,876

Advertise | Privacy | Mobile
Web01 | 2.8.150327.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