Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB VB.NET convert
Hi all,
I am upgrading my product from VB6 to 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 18-Jun-12 22:41pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
0 OriginalGriff 459
1 Maciej Los 404
2 Sergey Alexandrovich Kryukov 192
3 CPallini 185
4 Hard_Rockz 115
0 OriginalGriff 5,634
1 Sergey Alexandrovich Kryukov 4,763
2 Peter Leow 2,954
3 Maciej Los 2,614
4 DamithSL 2,465

Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid