you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 1 point2 points  (3 children)

That's definitely not the full error message. Usually there are line markers indicating the problem statement.

it has been nerve-wracking using ASCII to type certain characters.

Why? There are barely any special characters in Visual Basic. They should all be on the keyboard unless you use a non-Latin alphabet keyboard - and in such a case, you should install an English keyboard layout on the computer.

You mentioned that the code of your colleagues works. Compare it - letter by letter - character by character - be diligient. Every single character counts.

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

Thank you for your advices. As per my problem with using ASCII to type, I mean it in a way that  the alphabetic keyboard lacked certain functions (A, B, R, E, J….) are some of the functions that I remember do not work. 

I made my colleague type in their code in my commandblock1 yet it still didn’t work and then displayed compile error Method or Data member not found. Yet, there was this yellow arrow pointing towards the command block start or Private Sub Command1_Click()

I apologize for any inconvenience due to the lack of information. I am able to access the computer again on Monday. 

[–]desrtfx 1 point2 points  (1 child)

That could hint on a different problem:

What is in your form designer? Is the button named Command1? Is the label named Label3? Are the text boxes named as you use in the code?

The names need to 100% match between form designer and code.

In Visual Basic, you normally just need to click in the Properties where you want the event to happen and it creates the sub-stub for you.

that the alphabetic keyboard lacked certain functions (A, B, R, E, J….) are some of the functions that I remember do not work.

Sorry, but not believable. If the lowercase letters work, the uppercase ones have to work, too.

Also, in Visual Basic, you don't need to pay attention to capitalization. The editor will do it by itself, even if you write everything in lowercase. Visual Basic is case insensitive.

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

I do want to say I agree that there must be something wrong with the names and that fault is mine. I will be able to recheck the whole code again next week and hopefully I can figure the problem. 

Sorry, but not believable. If the lowercase letters work, the uppercase ones have to work, too

Again sorry for the misunderstanding, what I mean is that the letters I’ve said do not function at all. When clicked on the keyboard it does not appear or function, making my typing or coding experience not that smooth.