thread1-1453246
Hi
I am not a VB.NET expert, so if any über geek knows better, please correct me...
While converting VBA to VB.NET I experienced the error "Conversion from type '_ComObject' to type 'Boolean' is not valid." When I use WaitForString. In VBA WaitForString returns a boolean, but in VB.NET WaitForString returns an object. After a while I figured out that you can simply write...
WaitForString("Text", 1, 1).Value in VB.NET to return a boolean. This might be simple, but I just spent half an hour Google'ing to find the answer. Perhaps this will help someone like me Google'ing the same... : )
Simon
Hi
I am not a VB.NET expert, so if any über geek knows better, please correct me...
While converting VBA to VB.NET I experienced the error "Conversion from type '_ComObject' to type 'Boolean' is not valid." When I use WaitForString. In VBA WaitForString returns a boolean, but in VB.NET WaitForString returns an object. After a while I figured out that you can simply write...
WaitForString("Text", 1, 1).Value in VB.NET to return a boolean. This might be simple, but I just spent half an hour Google'ing to find the answer. Perhaps this will help someone like me Google'ing the same... : )
Simon