472,952 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 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 4120
"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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.