> passing vb6 optional byref parameter into c# 
Author Message
 > passing vb6 optional byref parameter into c#


Quote:
> hi folks

> i have the following vb6 activex code:

> ***
> public function  PACNewsletterRegister(ByVal oSession As Object, ByVal
> sEmail As String, Optional ByRef vError As Variant, Optional ByVal oConn
As
> ADODB.Connection = Nothing)
> ...
> end function
> ***
> to instance this code in C# would be like this:

> ***
> BLPACSWeb.PACSWebClass oPacs = new BLPACSWeb.PACSWebClass();

> ***
> the problem now is that i don't know what c# parameter to use for the
> optional vb6 parameter?

> anybody who can help?

> :-)



Sat, 23 Apr 2005 20:43:56 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. passing optional parameters to the parameters collection

2. Passing By Reference myfunc(ByRef <x>)

3. Passing Parameters - A ByRef vs ByVal Question

4. Help, OA ByRef parameters not passed correctly

5. passing ByRef parameters

6. Passing Byref parameter to an ocx method

7. Passing a ByRef parameter

8. Passing parameters ByRef or ByVal

9. Passing objects as Optional parameters

10. Passing Optional Parameters

11. Passing optional parameters from Visual Basic

12. using typed optional parameters in vb6

 

 
Powered by phpBB® Forum Software