Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 by Thearon Willis, Bryan Newsome; ISBN: 9780764574016
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 20th, 2007, 12:15 PM
Registered User
 
Join Date: Jul 2007
Location: , , USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page 370 - New ContextMenu

Having a bit of trouble understanding the following context menu instructions from page 370...
Code:
'Create a new context menu
Dim objMenu As New ContextMenu()
When I add this code, the program works fine; however, as I'm typing the code, Intellisense does not offer "New ContextMenu" - it only offers "New ContextMenuStrip".

Can anyone explain why? Just trying to gain a better understanding of the code.

  #2 (permalink)  
Old July 25th, 2007, 04:37 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Location: Fuquay Varina, NC, USA.
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

The ContextMenu class is being phased out in favor of the new ContextMenuStrip class which is the new replacement. I have no idea why Intellisense has been disabled for this class.

Thearon
  #3 (permalink)  
Old July 25th, 2007, 10:26 AM
Registered User
 
Join Date: Jul 2007
Location: , , USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the information Thearon... and thanks for the great book!

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Ch 10 Page 370 - Simple User Control surefire BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 February 25th, 2008 01:53 PM
ContextMenu obrienkev Visual Studio 2005 1 November 30th, 2007 03:21 AM
IFrame and the contextmenu harshad Javascript 1 November 1st, 2006 02:20 AM
IFrame and the contextmenu harshad Javascript 2 October 31st, 2006 02:10 AM
Code snippet error on page 370 cebartling BOOK: Professional Java Development with the Spring Framework 0 September 18th, 2005 10:00 PM



All times are GMT -4. The time now is 08:54 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.