473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

object type cannot be converted to target type

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
4 4146
"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
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: sneill | last post by:
How is it possible to take the value of a variable (in this case, MODE_CREATE, MODE_UPDATE, etc) and use that as an object property name? In the following example I want 'oIcon' object to have...
2
by: Paul Tomlinson | last post by:
I am trying to call a delegate on my parent from a child thread, this is my code, however i'm getting an exception "Object type cannot be converted to target type." which I can't understand. The...
0
by: Dica | last post by:
i'm getting an error when trying set my dataAdapter's selectCommand. the sqlStatement is a storedProc which takes parameters, so it's constructed as: sqlSelectCommand1.CommandText = ""; ...
0
by: Dayne | last post by:
I am gettings this weird message "object type cannot be converted to target type" when I try to make copies of a component on my form. Any Idea? Dayne
3
by: news.microsoft.com | last post by:
I got this error "Object type cannot be converted to target type" in my VB Winforms application. When I click on it, it goes no where, how do I troubleshoot this? Thank you.
5
by: Martin Robins | last post by:
I know that this has been asked before; and not only that, I know that it has been answered (successfully) as I myself have previously resolved the problem (with help) - however, I cannot for the...
16
by: anonymous.user0 | last post by:
The way I understand it, if I have an object Listener that has registered as a listener for some event Event that's produced by an object Emitter, as long as Emitter is still allocated Listener...
2
by: Dabbler | last post by:
I'm getting the following error when I try and insert a row using FormView, ObjectDataSource and stored procedure. The form has 40+ columns on it and I'm not sure how to diagnose where the problem...
0
by: Pablo.Mazaeda | last post by:
Hello, I am getting the following error when opening a form with customs controls objects in Visual Studio 2005 environment. I assume it is a version problem or something. Any solution? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.