Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB Express 2010 PowerPack problem

Posted on 2011-02-25
6
Medium Priority
?
1,432 Views
Last Modified: 2012-05-11
I have a program I started in VB Express 2010.  Everything was working fine, I have the UI complete and much of the coding is done.  For reasons (not related to my program) beyond this post, I had to reinstall the OS (Win 7 x64) and reinstall VB Express 2010.  This was done as a new clean install (new drive).  My original program used a few features of the PowerPack (line and circle).  When I first attempted to load my program, I got an error that the ShapeContainer and LineShape were not defined.  I realized that I hadn't installed the PowerPack.  I quit my program (didn't save it) and proceeded to install the PowerPack tools.  However when I reload my program, it doesn't recognize that the PowerPack tools exist. If VB sees errors in the Form.vb(Design) code, it won't display the design.  I commented out the error lines (which is frowned upon), and my UI design is visible (without the lines and circles).   I can see the tools in the Tool Box, and in fact I can add a line to my existing UI.  However if I add a line, I get the same error (Microsoft.VisualBasic.PoserPacks.LineShape is not defined.  I have tried to remove the reinstall the PowerPack - doesn't help.  Anyone have any ideas about this?  I really need my lines and circles!
Thanks in advance
0
Comment
Question by:TopCatOnyx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 

Author Comment

by:TopCatOnyx
ID: 34985481
I also get a warning: "Type 'Microsoft.VisualBasic.PowerPacks.ShapeContainer' is not defined.      "
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 34987676
1) I haven't seen this problem before

2) It sounds like something has changed

3) This kind of problem usually takes a little digging to find a cause

4) For me, information is king.  

5) What version of the Power Pack are you working with?

6) What do your project references look like?
0
 

Author Comment

by:TopCatOnyx
ID: 34989485
Hi,
I downloaded version 3.0 of the Power Pack.
In the references there is a listing for "Microsoft.VisualBasic.PoserPacks.Vs" however there is a warning sign beside it.  the warning says "The referenced component 'Microsoft.VisualBasic.PoserPacks.Vs' could not be found.".  The properties show:
Copy Local: False
Embed Interop types: False
File Type: Assembly
Identity: Microsoft.VisualBasic.PoserPacks.Vs
Resolved: False
Specific Version: True
Strong Name: False
Version: 0.0.0.0

So it looks like it can't be found, but I went through the defined method of adding it into the project (right click in the Tools area, Choose Items etc.).
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:TopCatOnyx
ID: 34997472
I also found that if I start a new project and place a line and an oval on the form, everything works as advertised.  The problem is only with my existing program.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 34999565
Did you try to remove and add the reference back in the project references?
0
 

Author Closing Comment

by:TopCatOnyx
ID: 35000254
I thought that I had done that, but after doing it (maybe again!) and restarting the program, everything worked.  Thank you very much for your help.  EE is a great place to find answers.  Almost everyone with whom I have had contact has been very helpful.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question