Y
Yong Jiang
I am trying to convert some vb code calling COM oboject
methods to C#. Example shown as follows
Dim Stream As New ADODB.Stream
Call Stream.Open()
Stream.Open has three optional parameters. I am trying to
convert it to C# as shown as follows
ADODB.Stream Stream = null;
Stream = new ADODB.Stream();
Stream.Open();
Somehow, C# does not like leaving paramters blank. I don't
know how to get around of it. Any help will be
appreciated.
methods to C#. Example shown as follows
Dim Stream As New ADODB.Stream
Call Stream.Open()
Stream.Open has three optional parameters. I am trying to
convert it to C# as shown as follows
ADODB.Stream Stream = null;
Stream = new ADODB.Stream();
Stream.Open();
Somehow, C# does not like leaving paramters blank. I don't
know how to get around of it. Any help will be
appreciated.