Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Can someone suggest why I would get an eInvalidInput error when toggling a system variable.
I've tried a few things which is why it's 4 lines instead of 1.
Dim lwdisplay As Object = Application.GetSystemVariable("LWDISPLAY")
If CShort(lwdisplay) = 0 Then
Application.SetSystemVariable("LWDISPLAY", CShort(1))
End IfIt generally works but every so often produces an error and I can't figure out why.
Solved! Go to Solution.