1.
VB Code:
Public Function GetExplorerOptions() 'Get the options for the explorer FileOpen(1, ApplicationDataExplorerOptionsURL, OpenMode.Input) StartHomePageOnLoad = LineInput(1).Trim RestoreLastWebPagesOnLoad = LineInput(1).Trim DeleteCookiesOnClose = LineInput(1).Trim DefaultSearchEngine = LineInput(1).Trim EnabledPopupBlocker = LineInput(1).Trim NotifyPopupBlocked = LineInput(1).Trim FileClose(1) End Function
I use Call GetExplorerOptions to get it!
Something wrong with the public function GetExplorerOptions() line, this is how I have always done it, so what have I done wrong?
Error: Function without an 'As' clause; return type of Object assumed.
2. What is meant by an 'unused local variable'?
3.
Code:
VB Code:
xk = Weekday(fdate, FirstDayOfWeek.Sunday) Select Case xk Case 1 mtdate = "Monday" Case 2 mtdate = "Sunday" Case 3 mtdate = "Tuesday" Case 4 mtdate = "Wenesday" Case 5 mtdate = "Thursday" Case 6 mtdate = "Friday" Case 7 mtdate = "Saturday" End Select
Error: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur
Appears to be programmed correctly!!!
Thanks Guys




Reply With Quote