Questions tagged [powerpacks]

MS Power Packs adds pre-.NET Visual Basic components back to versions of Visual Basic older than 2005.

The Microsoft Visual Basic Power Pack 3.0 component adds back to VB (versions 2005 and higher) a set of controls that were available in pre-.NET versions of VB (i.e. VB6) but removed in the first versions of VB.NET (2002 / 2003). Included in the power pack are the basic shape controls (line, oval, and rectangle), a PrintForm component, and the DataRepeater control.

49 questions
0
votes
2 answers

VB.Net Selecting LineShape

In Vb.Net, I'm dinamycally creating several textbox and labels. I'm naming them ex. VLabel1, VLabel2, VLabel3 ... and then I use CType and a variable to use them. Dim VarName as String Dim i as Integer Dim MyLabel as Label i=0 VarName = ("VLabel" &…
0
votes
1 answer

Unbound Data Repeater Scroll Issue

I Dragged a DataRepeater into my form. Added a TextBox to the DataRepeaterItem. Added A button to the form. Wrote these 2 Lines of Code : Private Sub Button1_Click(..) Handles Button1.Click DataRepeater1.VirtualMode = True …
0
votes
1 answer

VB.NET How to print a form without cropping a part of it?

I am currently using Power Packs to print my form. And with this line of code, I am able to print the form. PrintForm1.Form = Me PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview PrintForm1.Print(Me,…
Student
  • 432
  • 2
  • 10
  • 30
0
votes
0 answers

Alternative to RectangleShape Component in Visual Studio 2010

I'm looking for a control, like a label, that will have comparable properties to the RectangleShape Component in Visual Studio. And I suppose I should also pose the question: are Visual Basic PowerPacks like the RectangleShape really relevant…
0
votes
1 answer

How to set repeater control back colour by item index?

I am using a DataRepeater control to show a popup. I am able to set BackColor of the current item by this code private void dataRepeater1_CurrentItemIndexChanged(object sender, EventArgs e) { dataRepeater1.CurrentItem.BackColor =…
0
votes
1 answer

Panel Events Stop After MouseDown event on LineShape

In Visual Studio 2010, I am using mouse events with LineShapes located inside a panel. I created a simple example that demonstrates a behavior that I can not explain and is holding up my project. Public Class Form1 Public Moused_Down_On_Line As…
BigBobby
  • 423
  • 1
  • 3
  • 17
0
votes
1 answer

ShapeContainer not Staying In Front of PictureBoxes

I have a GUI in Visual Studio 2010 that has several PictureBoxes, LineShapes/Rectangles, and Labels/TextBoxes. The LineShapes/Rectangles need to be in front of the PictureBoxes, and the Labels/TextBoxes need to be in front of the…
BigBobby
  • 423
  • 1
  • 3
  • 17
0
votes
2 answers

F# 2.0 with Powerpack 2.0, fslex error 1

In namespace RSLispV3.RunTime: http://pastebin.com/XNb9qi11 LispParser.fsy: http://pastebin.com/pymF1Vvm LispLexer.fsl: http://pastebin.com/pfXdDuxs I got in MSBuild the PowerPacks targets, calling them from the .fsprog. When building with VS2008 I…
Ramon Snir
  • 7,520
  • 3
  • 43
  • 61
0
votes
1 answer

Missing reference / exe not working / - PowerPacks -

It took 2 days of searching to solve this problem. There are many threads out there but no real solution. The most peoples are just talking about the theoretical way but not about the practical. Here is the problem: When drawing shapes or lines out…
C4d
  • 3,183
  • 4
  • 29
  • 50
0
votes
1 answer

A way to remove selected LineShape shadow effect?

Is there a way to remove the LineShape shadow effect when selecting the lineShape? alt text http://lh4.ggpht.com/_1TPOP7DzY1E/S6kq2KQ-zdI/AAAAAAAADIg/tUy74j-EpQc/s800/capture4.png I tried Protected Overrides Sub OnPaint(ByVal e As…
serhio
  • 28,010
  • 62
  • 221
  • 374
0
votes
6 answers

Help Repainting a Line

I am doing a custom control (inherited from VisualBasic.PowerPacks.LineShape), that should be painted like as standard one, but also having a Icon displayed near it. So, I just overrided OnPaint like this: protected override void…
serhio
  • 28,010
  • 62
  • 221
  • 374
0
votes
3 answers

How to reference a dynamically created OvalShape with a string variable in vb.net

I have created 40 or so OvalShapes from MS power packs and when the user clicks them they send an ID to separate function that is supposed to change the color of the clicked oval. Unfortunately the Controls method seems to not work.…
110SidedHexagon
  • 555
  • 2
  • 14
  • 37
0
votes
0 answers

Microsoft.VisualBasic.PowerPacks how to add refernce to project

I've added PowerPacks from MSDN, but I don't have a clue how to add it to my winform project. what should I looking for in COM tab (in Add reference)? I saw on some other forms that I need to search for the dll in "C:\Program Files (x86)\Microsoft…
azulay7
  • 305
  • 3
  • 16
0
votes
1 answer

Visual Basic Power Pack - Select Line

So I am using Visual Basic Power Packs to do some basic easy graphics. I have the ability to draw many lines where I need to, and also VB power packs allows me to select the actual lines I have drawn, but I don't know how to implement code for when…
user2863626
  • 187
  • 3
  • 12
0
votes
0 answers

Cannot find Power Pack under Tools in VS2012

I downloaded Powerpack 10.0 from the web and installed on my development Machine. I restarted VS2012. When I go to .NET Components I can see Printform being checked however it doesn't show up under Toolbox. Edited--- Well if I select "show all"…
Nita
  • 195
  • 3
  • 8
  • 20