By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,069 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,069 IT Pros & Developers. It's quick & easy.

object type cannot be converted to target type

P: n/a
object type cannot be converted to target type - i am getting this error message occuring numerous times in my task list, my project compiles and runs ok but it is a nuisance, I think Ihva eheard of this before but I cannot remember the solution, anybody got any help?
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Barry" <an*******@discussions.microsoft.com> schrieb
object type cannot be converted to target type - i am getting this
error message occuring numerous times in my task list, my project
compiles and runs ok but it is a nuisance, I think Ihva eheard of
this before but I cannot remember the solution, anybody got any help?


Does the message have a relation to the source code (double-click)? What's
the line of code?
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

P: n/a
Barry,

while I'm sitting on that, anyway... ;-) (See VB and implicit conversions
below)

Can you provide a code snipplet that's causing the error?

Klaus

"Barry" <an*******@discussions.microsoft.com> schrieb im Newsbeitrag
news:6F**********************************@microsof t.com...
object type cannot be converted to target type - i am getting this error

message occuring numerous times in my task list, my project compiles and
runs ok but it is a nuisance, I think Ihva eheard of this before but I
cannot remember the solution, anybody got any help?
Nov 20 '05 #3

P: n/a
Same thing here..

The error is :

"Object type cannot be converted to target type"

Double clicking takes you to Line 0 of a page of code, sometimes there is
code there, otherwise (in my case) the code on that line is "Option Strict
On"

It causes no problems in the compile, and running that i can see however, i
am sure that its not displaying the line for the fun of it.
"Armin Zingler" <az*******@freenet.de> wrote in message
news:Of**************@TK2MSFTNGP12.phx.gbl...
"Barry" <an*******@discussions.microsoft.com> schrieb
object type cannot be converted to target type - i am getting this
error message occuring numerous times in my task list, my project
compiles and runs ok but it is a nuisance, I think Ihva eheard of
this before but I cannot remember the solution, anybody got any help?


Does the message have a relation to the source code (double-click)? What's
the line of code?
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4

P: n/a
"Jason Garland (Secure Access Pty Ltd)" <Ja**@SecureAccess.Com.Au>
schrieb
Same thing here..

The error is :

"Object type cannot be converted to target type"

Double clicking takes you to Line 0 of a page of code, sometimes
there is code there, otherwise (in my case) the code on that line is
"Option Strict On"

It causes no problems in the compile, and running that i can see
however, i am sure that its not displaying the line for the fun of
it.


Hmmm... I have no clue why.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.