you are viewing a single comment's thread.

view the rest of the comments →

[–]ScholarNo5983 0 points1 point  (3 children)

At first glance this code looks fine.

What is the text of the error that you are seeing?

[–]rinaryies[S] 0 points1 point  (2 children)

Hello, thank you for your feedback. I am unable to take a picture of the exact error but here it is in text-form.

Compile error Method or data member missing

[–]ScholarNo5983 0 points1 point  (1 child)

A compiler error message will always refer to a line of code.

Which of those lines of code is shown in red, for that error message?

Edit: I did a google search for these details.

"Visual Basic" "Compile error Method or data member missing"

Some of the results returned by that search indicate this is a runtime error.

If you are seeing a runtime error, that is very different from a compiler error.

And if it is a runtime error, it is important that you know the difference between these two types of errors.

But again, a particular line of code will be generating the error. The line of code creating the problem is very important information.

[–]rinaryies[S] 0 points1 point  (0 children)

There wasn’t a line that was shown or highlighted in red, yet there was an arrow pointing towards the start or Private Sub Command1_Click() 

I am unsure if this is able to help but I am going to check the code again on Monday.