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

looking for help from experts who use vb dotnet and vbscript

P: n/a
( I am not sure if this is the right group but I could find answer in other
group)

I have tried to use wscript online help (Script56.CHM), google , search
msdn, newsgroup for
without luck. Either I did not have the right criteria or I just have not
looked at the right places.
I was given an activex component (COM) built with dot net vb. I could call
every function with simple data type and get the proper results. but, I just
don't see any way for calling the one with array parameters or results. I
did not matter if the data type was string nor integer.

I tried calling from vbscript with parameters declared as
- declared array
...
DIM parmArray()
Dim irc
irc = myComObject.somefcn(parmArray)
which gives me something about invalid arguments or call
If I use this:
...
DIM parm
Dim irc
irc = myComObject.somefcn(parm) ' execute OK
wscript..echo parm(0) ' oops error
what else can I do?
BTW: it does not matter if the parameter is just input for the function or
result from the function, I get trouble. calling although I do not get
trouble from using the element when the array was input only for the dotnet
function.

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.