Advertisement
penright

Untitled

Oct 3rd, 2023
1,644
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.90 KB | None | 0 0
  1.    Sub FixOrderentIni()
  2.         DispThis("     FixOrderentIni Started" & NewLine)
  3.         Dim OrderentIni As New PrivateIniFile
  4.  
  5.         For xLoop_Register As Integer = 0 To PosMaint.RegisterInformations.Count - 1
  6.             Dim RegInfo As RegInfo = PosMaint.RegisterInformations(xLoop_Register)
  7.             OrderentIni.DeleteSection("To_Go")
  8.             If RegInfo.DefaultConcept = eDefaultConcept.FreshMarket Then
  9.                 OrderentIni.WriteInteger("To_Go", "Menu1", 5)
  10.                 OrderentIni.WriteInteger("To_Go", "Menu2", 6)
  11.                 OrderentIni.WriteInteger("To_Go", "Menu3", 1)
  12.                 OrderentIni.WriteInteger("To_Go", "Menu4", 2)
  13.                 OrderentIni.WriteInteger("To_Go", "Menu5", 2017)
  14.                 OrderentIni.WriteInteger("To_Go", "Menu6", 9)
  15.             End If
  16.         Next
  17.         OrderentIni = Nothing
  18.         DispThis("     FixOrderentIni Finished" & NewLine)
  19.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement