Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42728

Help Converting vb script to VB .Net

$
0
0
Hi, I am very much new to VB .net and I am under a bit of a deadline to complete.

Basically I just want an alpha sequence for every time this script runs. It works in vbsript, but I am having no luck with.Net.

Set objStdOut = WScript.StdOut

intArgs = WScript.Arguments.Count

If intArgs < 1 Then

WScript.Quit (99)

End If

intSeqNum = WScript.Arguments(0)

objStdOut.WriteLine(Chr(64+intSeqNum))

Set objStdOut = Nothing

Viewing all articles
Browse latest Browse all 42728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>