Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I am upgrading my product from VB6 to Vb.net and i am getting error while converting the shape control as it is not the part of .net..

I am using a structure for properties. i.e. i want the following properties :

Structure TagShape
Dim bDelFlag As Boolean
Dim sName As String
Dim iLeft As Short
Dim iTop As Short
Dim iWidth As Short
Dim iHeight As Short
Dim bVisible As Boolean
Dim hwnd As Integer
Dim iBorderWidth As Short
Dim iBorderStyle As Short
Dim sFillColor As String
Dim sBorderColor As String 'New
Dim iFillStyle As Short
Dim iShapeType As Short
Dim bTemp As Boolean
End Structure


I am using

Public WithEvents TP_Shape As List(Of PowerPacks.RectangleShape)but the conrols are not being added to the picture box.Can i use alternative to that???
Need urgent help
Posted

1 solution

please use VB power pack as alternative to your shape
it is free tool from Microsoft
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900