Solved

VB Express 2010 PowerPack problem

Posted on 2011-02-25
6
1,376 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
Independent Software Vendors: 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 500 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

Independent Software Vendors: 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!

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…

749 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