Forum Discussion
Trader5050
10 years agoNewbie
Sub Main()
'initialize theme attributes like titles, logos and overhang color
initTheme()
'display a fake screen while the real one initializes. this screen
'has to live for the duration of the whole app to prevent flashing
'back to the roku home screen.
screenFacade = CreateObject("roParagraphScreen")
screenFacade.addParagraph("Please wait...")
screenFacade.show()
' =========================
' GET SETTINGS FROM REGISTRY
' =========================
targetAddress = RegRead("ip")
targetPort = RegRead("port")
targetUsername = RegRead("username")
targetPassword = RegRead("password")
If targetAddress = "" then
showOKDialog("Notice","Due to Roku restrictions, only blah blah blah....") ' to fix later
Else
' debug testing... why is this not displaying either
showOKDialog("Test",targetAddress)
End if
That is literally the only thing leading up to the sub for the dialog. The program displays fine ("Please wait...") but nothing else ever happens.
The RegRead and RegWrite are some simple ones that I found on the forum here that a lot of folks seem to be using.