| |

VerySource

 Forgot password?
 Register
Search
View: 831|Reply: 7

What could be the problem with "object property or method not available" in vb?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

Post time: 2020-2-4 11:30:01
| Show all posts |Read mode
I just came into contact with VB and want to debug a program bug. What is the problem with this similar prompt? Thank you!
Reply

Use magic Report

0

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

Post time: 2020-3-22 02:30:01
| Show all posts
It should be a "point operation" to access non-existing members, for example you can write Text1.text, because Text1 has this property; if you want to write Text1.Caption, this error will occur ...
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

 Author| Post time: 2020-3-22 20:30:02
| Show all posts
Can this problem not be found during compilation? I appeared during execution.
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-23 17:45:01
| Show all posts
Use CTRL + F5.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

 Author| Post time: 2020-3-24 07:45:01
| Show all posts
This error occurred only after the program ran for 7 to 8 days on the site. I couldn't find it directly by debugging. I just wanted to know what might go wrong. Thank you!
Reply

Use magic Report

0

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 Invalid IP Address

Post time: 2020-4-9 20:15:01
| Show all posts
Can't this kind of problem be found during compilation? I appeared during execution

For the object that is bound later, it cannot be found at compile time ~
It is recommended to check where the object type and Variant type are used ~
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-5 15:30:01
| Show all posts
It may be like Text1.Text="1", but Text1.Enabled is already False and this error will occur.
Reply

Use magic Report

0

Threads

10

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-7-7 19:00:01
| Show all posts
No initialization class

Or the recordset is not open

etc.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list