Questions tagged [vb-power-pack]

14 questions
1
vote
0 answers

Need Help filtering with DataRepeater

My form allows the user to search a collection of customers. When I click on the Search button I want it to display only the specific result that was found and hide the rest of the customers. For example, if I put customer id as 133 it should only…
Rick Cresci
  • 81
  • 1
  • 1
  • 6
1
vote
1 answer

Windows Forms - VbPowerPack v1 FileViewer throwing an unexpected exception

I need to maintain an old legacy Windows Forms application. I just got the source code, no documentation or anything. I'm building the application using Visual Studio 2015 running on a 64-bit Windows 8.1 and using .NET Framework 4.5. Everything…
Aleksandar Matic
  • 789
  • 1
  • 9
  • 21
1
vote
1 answer

Label for Line Shape at Visual Basic Power Pack tools in c# win App

The Line shape is one of tools of VisualBasic power pack 1.0 (in vs2010) , How can I define a label property and set value to it when I add it to a container control: My code is below and ( at Design time ) need public class…
Harry Sarshogh
  • 2,137
  • 3
  • 25
  • 48
0
votes
1 answer

Referencing Visual Basic Power Pack for ShapeContainer and LineShape

I have some old code from Visual Basic Powerpack which I want to use in some C# projects (Framework and Core). I was able to install Microsoft.VisualBasic 10.3.0 using Nuget However Nuget does not have an option to install the Powerpack I get Error…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
0
votes
1 answer

VB/C# Shape follow cursor but constrain bounds

I'm having a difficult time emulating an 'eyeball' effect. I have an OvalShape (as in PowerPack shape) and can constrain the movement to a specific x,y. However, I need a fresh eyes to help me out, I think I've been looking at it too long to make…
soulshined
  • 9,612
  • 5
  • 44
  • 79
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 can I update/redraw a Microsoft Powerpacks canvas in C#?

I have a method which finds relationships between two objects, if it exists, I would like to draw two Lineshapes to the link. I have started to implement the first lineshape, however whenever I test the code the lines persist. I have tried multiple…
B.Mo
  • 11
  • 4
0
votes
1 answer

Add LineShape programatically in VB.NET WinForms

How do you add a LineShape programmatically in VB.NET WinForms? I'm looking to write something like you would for a Label , CheckBox or whatever else: Dim somelabel as New Label somelabel.Text = "Whatever" somelabel.Location = New Point(200,…
user3740891
  • 33
  • 2
  • 4
  • 11
0
votes
2 answers

Deleting Lines from Array

I have an array of lines and I want at some point to erase some of them. Here's a sample of the code: Dim canvas As New Microsoft.VisualBasic.PowerPacks.ShapeContainer Dim lines(20) As PowerPacks.LineShape Dim it As Integer = 0 Private Sub…
CosmaOne
  • 21
  • 5
0
votes
2 answers

The window being printed must be visible and contain focus

I'm trying to print a form when a button is a button is clicked on another form. However, I am getting an error message during run-time causing my program to crash. On the printreceipt form there is a PrintForm Object I want to print the…
0
votes
1 answer

PowerPack printform produce an incorrect postscript file

I am using again a VB10 application a write months ago who produce postscript files through printform object and powerpack. It has always worked well. But the ps files I write now are incorrect, or at least not recognized by Paintshop who give the…
0
votes
1 answer

VisualBasic Power Pack how to include the libraries automatically?

My C# application uses the VB Power Pack to print. The computers that I am installing my application on do NOT have the VB Power Pack. How can I include the appropiate libraries bundled with my application?
software is fun
  • 7,286
  • 18
  • 71
  • 129
0
votes
1 answer

Powerpack 10 shapes not displaying properly on a different sized screen

Hello Im trying to deploy an application I made on a different computer. It appears that the screen has a different resolution. When I run the form on another computer, all the Powerpack shapes on the form seem to be stuck at a fixed position on the…
user1296932
0
votes
1 answer

Can't compile and run after renaming form and doing some additional work

NOTE: This question has been renamed. Originally it targeted the fact that I was getting compile errors after deleting VB power pack shapes off my form, but it turned out that while that was when the error occurred, the source of the error was due…
John Humphreys
  • 37,047
  • 37
  • 155
  • 255