Advertisement
penright

Untitled

Oct 3rd, 2023
1,504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.46 KB | None | 0 0
  1.     Sub FixRegBatchFileList()
  2.         'This function is just to create a list of registers that scripts and bat files can use.
  3.         Dim RegisterList As String = ""
  4.         For xLoopRegisters As Integer = 0 To PosMaint.RegisterInformations.Count - 1
  5.             RegisterList &= PosMaint.RegisterInformations(xLoopRegisters).RegisterNumber.ToString() & NewLine
  6.         Next
  7.         IO.File.WriteAllText("c:\user\braums\bat\RegNumber.List", RegisterList)
  8.     End Sub
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement