Hi!

I write this code in VB .Net:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim a As String
Dim wshNet As New IWshRuntimeLibrary.WshNetworkClass()

On Error GoTo vege

wshNet.MapNetworkDrive("h:", "\\donald\config\update\dat4")
vege:

FileCopy("h:\sdat.exe", "d:\3\sdat.exe")
wshNet.RemoveNetworkDrive("h:")

Shell("d:\3\sdat.exe /silent", AppWinStyle.NormalFocus)

a = wshNet.ComputerName()
MsgBox(a)


End Sub

On Windows XP it is good, but under NT 4.0 with SP6a write this error:

com object with clsid {093FF999-1EA0-4079-9525-9614C3504B74} is either not valid or not registered


Please help me!
Thanks
Krisztian