WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE COM ADO CDO ADSI LDAP
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

WinBatch Equivalent To VB Nothing

 Keywords:  Nothing= Dispatch Zero Blank String NULL OLE COM WinBatch Equivalent To VB Nothing

Question:

I have the following VB script line that I need to translate to Windows Interface Language:
MyReturn = Session.DisplayBalloon(MyTitle, MyMessage, MyIcon, 30, Nothing)

Answer:

Maybe pass just a blank string, like this:
Nothing = ""
MyReturn = Session.DisplayBalloon(MyTitle, MyMessage, MyIcon, 30, Nothing)
Otherwise use ObjectType to create a Dispatch data type variable of zero:
Nothing = ObjectType("DISPATCH", 0)
MyReturn = Session.DisplayBalloon(MyTitle, MyMessage, MyIcon, 30, Nothing)

Article ID:   W18028
Filename:   WinBatch Equivalent To VB Nothing.txt
File Created: 2011:02:16:08:52:40
Last Updated: 2011:02:16:08:52:40