In VB I created a messaging subroutine that works everywhere except in a private subroutine where I get the error message : BC30469 Reference to a non-shared member requires an object reference. How do I make an object reference to a subroutine that passes a string everywhere else except in the private sub in the while try loop?
Msg("Da Sender" + sendNo + senderInfo)
All are declared as strings and the sub processes a string output
What I have tried:
Moving it public, into the main sub, etc.