By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,054 Members | 1,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,054 IT Pros & Developers. It's quick & easy.

P: n/a

I am working on a proted project from VB to C#

in VB without any parameters works
but in C# i need to pass certain arguments

Stream.Open(null, (ADODB.ConnectModeEnum)(0),
(ADODB.StreamOpenOptionsEnum)(-1), "", "");

here i pass object source as null which is not acceptable later i
modified to the following

Stream.Open(System.Reflection.Missing.Value ,
(ADODB.ConnectModeEnum)(0), (ADODB.StreamOpenOptionsEnum)(-1), "", "");
Later i say );

but i encounter an error
Wrong arguments or out of acceptable range

Can i have a Generic and also i should be able to pass the
stream to


Sep 29 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.