chad
asked on
navigating to a windows folder and/or opening another application
I am working on my first vb.net project and have hit a stopping point.
I want to have a click event open a different application and open a network folder
I have used a vbscript to do this and it seemed to work but the same code doesn't work in vb.net
wshShell = wscript.CreateObject("WScr ipt.Shell" )
wshShell.Run("mstsc.exe /v:" + strVariable + " /w:1024 /h:768")
wshShell = Wscript.CreateObject("WScr ipt.Shell" )
wshShell.Run("\\Networkdri ve\folder" )
these worked with a script but not within vb.net application. Is there a VB.net equavalent?
thanks
K
I want to have a click event open a different application and open a network folder
I have used a vbscript to do this and it seemed to work but the same code doesn't work in vb.net
wshShell = wscript.CreateObject("WScr
wshShell.Run("mstsc.exe /v:" + strVariable + " /w:1024 /h:768")
wshShell = Wscript.CreateObject("WScr
wshShell.Run("\\Networkdri
these worked with a script but not within vb.net application. Is there a VB.net equavalent?
thanks
K
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the info on that link did not work for me but it did get me into the correct direction.
thanks, I have it working the way I wanted now.
I am going to post the exact lines of code I used later... for future references
thanks, I have it working the way I wanted now.
I am going to post the exact lines of code I used later... for future references
ASKER
thanks