Click here to Skip to main content
15,913,587 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMerge modules for crystal reports, VS 2005 Pin
Michelange MUBERUKA28-Sep-08 23:41
Michelange MUBERUKA28-Sep-08 23:41 
AnswerRe: Merge modules for crystal reports, VS 2005 Pin
Dave Kreskowiak29-Sep-08 1:45
mveDave Kreskowiak29-Sep-08 1:45 
QuestionHelp using IMAPI2 Pin
johnjsm28-Sep-08 21:44
johnjsm28-Sep-08 21:44 
Questionconnection string Pin
member2728-Sep-08 21:22
member2728-Sep-08 21:22 
AnswerRe: connection string Pin
Mycroft Holmes29-Sep-08 15:54
professionalMycroft Holmes29-Sep-08 15:54 
QuestionHow to add New row datagridview with checkboxcell in all columns Pin
kedarrkulkarni28-Sep-08 20:20
kedarrkulkarni28-Sep-08 20:20 
AnswerRe: How to add New row datagridview with checkboxcell in all columns Pin
C1AllenS29-Sep-08 0:06
C1AllenS29-Sep-08 0:06 
QuestionVB 6.0 to VB.Net Migration OCXState problem Pin
akanchu28-Sep-08 18:04
akanchu28-Sep-08 18:04 
Need urgent help, Please reply ASAP.

We are working on a VB 6.0 to VB.Net migration project which is using lots of different third party controls for e.g. “Crescent enhanced edit controls” which is provided by the vendor Crescent Quickpack.

In a VB 6.0 code file we have a third party control as “CSTextLibCtl.sitxEdit” which exposes following properties.

Begin CSTextLibCtl.sitxEdit csParticulars
Height = 375
Left = 2280
TabIndex = 4
Top = 240
Width = 1455
_Version = 262145
_ExtentX = 2566
_ExtentY = 661
_StockProps = 125
ForeColor = -2147483640
BackColor = -2147483643
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.24
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Modified = -1 'True
HideSelection = -1 'True
RawData = ""
Text = ""
StartText.x = 2
StartText.y = 6
FirstVisPos = 0
HiAnchor = 0
HiNew = 0
CaretHeight = 13
CurNumDataChars = 0
MaxDataChars = 0
FirstDataPos = 0
CurPos = 0
MaxLen = 0
DataReadOnly = 0 'False
Mask = ""
CharacterTable = ""
End

However when we migrate the form containing this control to VB.Net using migration tool “ArtinSoft” it migrates the code as shown below.

Public WithEvents csParticulars As AxCSTextLib.AxsitxEdit
.
.

Me.csParticulars = New AxCSTextLib.AxsitxEdit
.
.
.

CType(Me.csParticulars,
.
.
System.ComponentModel.ISupportInitialize).BeginInit()
'
'csParticulars
'
Me.csParticulars.Location = New System.Drawing.Point(152, 16)
Me.csParticulars.Name = "csParticulars"
Me.csParticulars.OcxState = CType(resources.GetObject("csParticulars.OcxState"), System.Windows.Forms.AxHost.State)
Me.csParticulars.Size = New System.Drawing.Size(97, 25)
Me.csParticulars.TabIndex = 4
Me.Controls.Add(Me.csParticulars)
.
.
.
CType(Me.csParticulars, System.ComponentModel.ISupportInitialize).EndInit()

(the above code is present in designer form)

As can be seen from the above code snippet out of approximately 30 properties only 4 properties are mapped in VB.Net and rest all are embedded in “OcxState” object.

We wanted to have a one is to one mapping of Third party control properties to VB.Net Custom control (which we have developed) properties. However since no properties are visible in the migrated code we are not able to do the mapping. We even tried to decode the “OcxState” object that is present in the “Resx” file in the Base64 format. However that also didn’t work. Now we are stuck up at this point where untill we have this mapping we wont be able to replace the Third party controls with the VB.Net Custom controls.

We would appriciate any inputs on how to capture third party control properties and their values in the migrated code so that we can establish the required mapping.
AnswerRe: VB 6.0 to VB.Net Migration OCXState problem Pin
Paul Conrad28-Sep-08 18:42
professionalPaul Conrad28-Sep-08 18:42 
AnswerRe: VB 6.0 to VB.Net Migration OCXState problem Pin
Ashfield28-Sep-08 21:32
Ashfield28-Sep-08 21:32 
AnswerRe: VB 6.0 to VB.Net Migration OCXState problem Pin
Dave Kreskowiak29-Sep-08 1:41
mveDave Kreskowiak29-Sep-08 1:41 
QuestionHow to filter automated web requests in asp.net Pin
developer10@gmail.com28-Sep-08 2:50
developer10@gmail.com28-Sep-08 2:50 
AnswerRe: How to filter automated web requests in asp.net Pin
Wendelius28-Sep-08 4:42
mentorWendelius28-Sep-08 4:42 
QuestionClose 'alert' windows in webbrowser control Pin
Member 377616228-Sep-08 0:37
Member 377616228-Sep-08 0:37 
QuestionTimer_Tick event not called Pin
Sonhospa28-Sep-08 0:30
Sonhospa28-Sep-08 0:30 
AnswerRe: Timer_Tick event not called Pin
Wendelius28-Sep-08 4:40
mentorWendelius28-Sep-08 4:40 
QuestionRe: Timer_Tick event not called Pin
Sonhospa28-Sep-08 5:10
Sonhospa28-Sep-08 5:10 
AnswerRe: Timer_Tick event not called Pin
Wendelius28-Sep-08 5:34
mentorWendelius28-Sep-08 5:34 
QuestionRe: Timer_Tick event not called Pin
Sonhospa28-Sep-08 5:49
Sonhospa28-Sep-08 5:49 
AnswerRe: Timer_Tick event not called Pin
Wendelius29-Sep-08 3:31
mentorWendelius29-Sep-08 3:31 
NewsRe: Timer_Tick event not called Pin
Sonhospa29-Sep-08 3:58
Sonhospa29-Sep-08 3:58 
GeneralRe: Timer_Tick event not called Pin
Wendelius29-Sep-08 4:19
mentorWendelius29-Sep-08 4:19 
GeneralRe: Timer_Tick event not called Pin
Sonhospa29-Sep-08 5:03
Sonhospa29-Sep-08 5:03 
GeneralRe: Timer_Tick event not called Pin
Wendelius29-Sep-08 5:56
mentorWendelius29-Sep-08 5:56 
GeneralRe: Timer_Tick event not called Pin
Sonhospa29-Sep-08 6:17
Sonhospa29-Sep-08 6:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.