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
7
votes
3 answers

Where can I d/l MS Powerpacks 10?

I am not able to find site where to download ms Powerpacks 10, I use it with vb.net 2010.
Alex
  • 2,081
  • 14
  • 49
  • 76
7
votes
1 answer

VB.NET Visual Basic Power Packs not working on VS2015?

I have downloaded the VS Basic Power Packs from the link here https://msdn.microsoft.com/en-us/library/cc488277.aspx but I have no idea why it does not appear in my project toolbox. I have also added the project reference for both the VB Power Packs…
Student
  • 432
  • 2
  • 10
  • 30
7
votes
4 answers

GDI+ How to change Line SmoothingMode?

Is it possible to change PowerPacks.LineShape smoothingMode? I tried to use this code(a class that inherits LineShape): Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) Dim g As Graphics = e.Graphics ' no…
serhio
  • 28,010
  • 62
  • 221
  • 374
4
votes
5 answers

Detect the intersection point of 2 lines

I have 2 (VisualBasic.PowerPacks)LineShapes on my form: alt text http://lh4.ggpht.com/_1TPOP7DzY1E/S2cIJan7eHI/AAAAAAAADAw/qwA0jFHEbBM/s800/intersection.png When I click on one of them, a specific context menu appears. The lines can be moved by the…
serhio
  • 28,010
  • 62
  • 221
  • 374
3
votes
2 answers

VB.Net PrintForm autofit

Im having trouble with autofitting the printed form in my application. My code at the moment looks like this. Dim pf As New PowerPacks.Printing.PrintForm pf.Form = Me pf.PrinterSettings.DefaultPageSettings.Landscape = True …
Dr.Pepper
  • 559
  • 4
  • 11
  • 27
2
votes
1 answer

How can I bind a DataTable to a DataRepeater(Windows Powerpack) at Runtime?

I'm currently attempting to use the Windows Powerpack DataRepeater control to display data from a DataTable. So far, the DataRepeater recognizes that the resulting DataTable called from the Database has 8 rows, but I haven't been able to get the 3…
Christian
  • 503
  • 3
  • 7
  • 21
2
votes
1 answer

Handle Button Click in WinForm DataRepeater C# Power Pack

i want to handle winform button click in the DataRepeater, how can i do it? all button are placed in a DataRepeater Thank you very much
DucDigital
  • 4,580
  • 9
  • 49
  • 97
2
votes
2 answers

Printing the currently active window in landscape mode

I want to print the currently active WinForm in C#. Here is what I have: using Microsoft.VisualBasic.PowerPacks.Printing; PrintForm p = new PrintForm(this); p.Print(); This works great for portrait mode. How can I print in landscape mode?
software is fun
  • 7,286
  • 18
  • 71
  • 129
1
vote
3 answers

How do I view and edit Visual Basic Power Pack shapes in a Windows Form app with Visual Studio 2022?

I've got a windows forms app created in an older version of Visual Studio (VS2019). When I open it in VS2022, none of the Power Pack shapes are show in the design view. I've got the Power Pack dll in references. Opening the projects with VS2022 the…
Dan
  • 21
  • 6
1
vote
1 answer

How do I view and edit Visual Basic Power Pack shapes in a Windows Form app with Visual Studio 2017?

I've got a windows forms app created in an older version of Visual Studio. When I open it in VS 2017, none of the Power Pack shapes are show in the design view. I've got the Power Pack dll in references. I tried to add them to the toolbox…
1
vote
0 answers

Drawing partial circle arc in 2D

I'm trying to draw a partial circle arc in Visual Basic. (Example: 75% of an outer arc.) I tried to do this both by adding in the Visual Power Packs and by using the below code but I can't seem to figure out how to hide a portion of the arc without…
Paul Williams
  • 1,554
  • 7
  • 40
  • 75
1
vote
1 answer

Zoom a Rectangle in .NET

In a WinForm I use rectangles, ovals and lines of Microsoft.VisualBasic.PowerPacks. Is it possible to make a zoom on it? How?
serhio
  • 28,010
  • 62
  • 221
  • 374
1
vote
2 answers

Crazy errors with FsLex and FsYacc

I am trying to compile this project: http://ramon.org.il/Here.zip But I get a bunch of non-sense errors. They got text I am familiar with, but in the position there is nothing like that (like unexpected ')' at an empty row). Help me, please!
Ramon Snir
  • 7,520
  • 3
  • 43
  • 61
1
vote
1 answer

Arrange rectangular shapes sent to back or front

Is there any way to arrange RectangleShape controls to send them to the back and to the front in VB.NET. I need to change their Z-axis order so I can change which rectangle is in front. Here's an image of my form: I would like to send the small…
Arun Sharma
  • 517
  • 9
  • 16
1
vote
3 answers

How can I get the printer HDC

I have a COM component written in C++ that has a Print function. This print function takes the Printer hDC as a parameter that includes all settings to use for the print. Previously, this was called from VB6 code, and Printer.hdc would work here…
awe
  • 21,938
  • 6
  • 78
  • 91
1
2 3 4