Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by maggiezhao

  1. maggiezhao

    Is my script already running?

    At the beginning of your script, use Wscript.Echo <your message> but you should use cscript host (cscript //h:cscript). It will show the message on command prompt.
  2. maggiezhao

    How to declare optional arguments in a function in VBScript?

    The following syntax is wrong, is there anyone know how to define a function with optioanl arguments and default arguments? Function f(str1, optional str2) End Function
  3. maggiezhao

    how to call a C++ COM function with BSTR* parameter in VBScript

    In my COM component written in C++, there is function: HRESULT f(BSTR* id) How to call this function in VBScript? Thanks in advance!

Part and Inventory Search

Back
Top