[AccessD] vbNull = 1

Gustav Brock gustav at cactus.dk
Wed Jan 21 13:10:48 CST 2004


Hi Charlotte

> I'd say he *was* abusing VB constants.  I can't imagine why he would use
> vbNull in the hWnd argument, but I suppose it's because he's written a
> public sub and is passing the name of the program to be opened into the
> routine.  I have no idea what passing an hWnd of 1 would do with the
> message boxes generated, but I have seen 1 passed explicitly in that
> argument before.

I don't know. If I pass the function a valid hWnd it makes no
difference, neither is a value returned of the opened app's hWnd. So I 
have chosen to feed a zero - makes more sense to me.

/gustav



More information about the AccessD mailing list