I am using the following line to open a dialup connection and was wondering what I would need to do to make this compatible with WinNT and Win2000.

Shell "rundll32.exe rnaui.dll,RnaDial " & strConnectName, vbNormalFocus

Also, what is the best way to check the operating system (ie. win95/98, winNT, win2000)

I would also like to thank all of you who participate in these Q & A sessions, it really helps us new programmers and is cheaper than any book.