Visual Basic Development Bookmark and Share   
 Home > Visual Basic Power Packs > How to Make a DLL or Class Library using PowerPacks?
 

How to Make a DLL or Class Library using PowerPacks?

Hi, my problem is I want to make a new dll or library such that I will be using the PowerPack - RectangleShape as my control since I want it to be my background as a page layout for my customize report designer that I am making.

Here is the code after I have created a new project of Class Library and referencing the powerpacks vs :


Imports System.ComponentModel
Imports Microsoft.VisualBasic.PowerPacks

Public Class Class1
Inherits RectangleShape

Public Sub New()
MyBase.New()

End Sub

End Class

if it is only a textbox, it does not produce an error, but whenever I change it to rectangleshape, it already produces an error even before I build it. I know I should try to create first a shapecontainer, but even I declare and instantiate within the class a new shapecontainer, it still does not work.

Please help me.
newgee  Wednesday, September 30, 2009 7:18 AM
Hi,

What is the error you are getting?
Steve Hoag Microsoft aka the V-Bee
shoagMSFT  Thursday, October 01, 2009 9:19 PM
We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Jeff Shan  Monday, October 05, 2009 3:05 AM

You can use google to search for other answers

Custom Search

More Threads

• Set Paper Tray using Printer object?
• Allow lineshape to pass mouseup and mousedown events to pass to the underlying panel
• Check color of font in every cell in a column, if "green", set background or fill to lighter shade of green.
• Printing Greek Characters
• Traces of shape control while dragging and resizing
• tutorial leadtools v16.5 in vb.net
• Refreshing datarepeater question
• run-time error 339
• BrinToFront a LineShape
• Infragistics controls and the DataRepeater