vb6 to vb.net issues

alexlashford

Member
Joined
Jul 20, 2007
Messages
7
Programming Experience
Beginner
hi all

I am having some issues with an activeX control that i have added to my vb.net application, The control has the following method:

Private Sub ScProOCX_TbDblClick(ByVal sender As Object, ByVal e As AxScPro.__ScProOCX_TbDblClickEvent) Handles ScProOCX.TbDblClick

the method should return the index of the Timeblock (tb), but there is no value like that in the signature of the method

the VB6 method has the following signature:

Private Sub ScProOCX_TbDblClick( Index As Integer)

I have tried to use this signature in visual studio but it doesnt let me. it keeps suggesting that i use the .net version

Can anyone tell me why the method is different in .net than it is in vb6, as the vb6 verson returns an integer value and the vb.net version does not

Is there any way of using the vb6 method, or getting the method to return the index of the Timeblock (tb)

thank you in advance

alex :confused:
 
cant edit the control

i didn't write the activex control so i cant edit it, i was wondering if i was making some fundamental error!!

thanks

alex
 
Thank you brother

cheers brother

e.index was the one, i definatly owe you one there!

That was a bit of a rookie mistake,

thanks again

alex:)
 
Back
Top