I have tried this code


shell("c:\test.exe",vbNormalFocus)

as well as:


Dim WindowStyle As VbAppWinStyle
WindowStyle = vbNormalFocus

shell("c:\test.exe",WindowStyle)

The error I recieve is that it is expecting an '='


The last time I programmed in vb6 was 5 years ago. I have mostly programmed in .NET

I cant figure out what I am doing wrong??

kind regards
Henrik