Click here to Skip to main content
12,358,863 members (62,101 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET convert
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 18-Jun-12 22:41pm

1 solution

Rate this: bad
 
good
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
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100