on 09-20-2008 6:40 AM
Hi All,
when i am creating a method with parameter as ByRef, i am getting the message as fallows.
Please use valid signature.
help me to overcome frojm this.
Thanks in advance.
With Regards
Raju
Hi,
By any chance the parameters passed are "property parameters"??. If they are i dont think VB.net will support them. Please check that.otehrwise i feel this shuld work.
Thanks,
Abishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
when i am creating the function with ByRef parameters it is creation.
but when i am creating with key word sub with ByRef parameters it is not creating,
it is saying pls provide currect signature,
Thanks in advance,
With Regards,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wolfhard,
Exactly.
I want to create a custom method with ByRef parameters.
Thanks in Advance.
With Regards,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi abishek,
Thanks for your input.
but i am not creating event handler, just i am creating a method.
here is my method look like.
Public Sub SetCopyDefaults( ByRef objSdgen As BusinessObject, ByRef strCopyTypeTmp As String)
Thanks in advance.
With Regards,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
Make sure you have necessary "Handles" clause present
eg: Private Sub mCore_beforeUnload(ByRef cancel As Boolean) Handles mCore.beforeUnload (mcore here is the tile or tileset )
Thanks
Abishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.