OK, Here it goes...
I am new to Visual Basic. In fact I am pretty new to Structured Text style programming. I am mildly familiar with C from programming micro-controllers/PLCs to do basic tasks. So be kind!! Please.. My primary skills are PLC programming in relay logic style(LAD) and function blocks with some mild ST for calculations. (E&I background)
As of yesterday, I have picked up Sams, Teach youself VB2015 in 24hrs!! All going good, I understand what I am doing and quickly get the first code done. It is a simple script to allow a user to display an image within a picturebox. Please check out the attached images for reference, Error window and code included.
I have of course enable the System.NullReferenceException but still get the same error.
Any help is greatly appreciated
Many thanks
![Name: VB error P1.jpg
Views: 44
Size: 41.4 KB]()
![Name: VB P1 Code.jpg
Views: 44
Size: 29.3 KB]()
I am new to Visual Basic. In fact I am pretty new to Structured Text style programming. I am mildly familiar with C from programming micro-controllers/PLCs to do basic tasks. So be kind!! Please.. My primary skills are PLC programming in relay logic style(LAD) and function blocks with some mild ST for calculations. (E&I background)
As of yesterday, I have picked up Sams, Teach youself VB2015 in 24hrs!! All going good, I understand what I am doing and quickly get the first code done. It is a simple script to allow a user to display an image within a picturebox. Please check out the attached images for reference, Error window and code included.
I have of course enable the System.NullReferenceException but still get the same error.
Any help is greatly appreciated
Many thanks