You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Populate the Build Combo Box, but first check if the PC is connected to the Internet, otherwise the GUI will crash without giving any helpful Information on WHY
123
+
PopulateBuildComboBox_Check()
124
+
EndSub
125
+
126
+
''' <summary>
127
+
''' Check for Internet Connectivity before trying to populate the Build COmbo Box
128
+
''' </summary>
129
+
PrivateSubPopulateBuildComboBox_Check()
130
+
IfCheckForInternetConnection()=TrueThen
131
+
'Populate the Build Combo Box
132
+
PopulateBuildComboBox()
124
133
125
-
'Set Ready Label
126
-
Invoke(Sub()RLE_StatusLabel.Text="Ready. Select a build from the Combo Box to get started, or alternatively press F12 to manually change a Feature.")
134
+
'Set Ready Label
135
+
Invoke(Sub()RLE_StatusLabel.Text="Ready. Select a build from the Combo Box to get started, or alternatively press F12 to manually change a Feature.")
136
+
Else
137
+
Invoke(Sub()
138
+
'First, disable the Combo Box
139
+
RDDL_Build.Enabled=False
140
+
RDDL_Build.Text="Network Error"
141
+
142
+
'Second, change the Status Label
143
+
RLE_StatusLabel.Text="Network Functions disabled. Press F12 to manually change a Feature."
144
+
145
+
'Third, Show an error message
146
+
DimRTDAsNewRadTaskDialogPageWith{
147
+
.Caption=" A Network Exception occurred",
148
+
.Heading="A Network Exception occurred",
149
+
.Text="ViVeTool-GUI is unable to populate the Build Combo Box, if the Device isn't connected to the Internet, or if the GitHub API is unreachable."&vbNewLine&vbNewLine&"You are still able to manually change a Feature ID by pressing F12.",
0 commit comments