PC Review


Reply
Thread Tools Rate Thread

Compile Time Error

 
 
Ruben Monteiro
Guest
Posts: n/a
 
      26th Dec 2006
Hi! After a lot of internet search, i'm still not able to find the solution
for this problem "Value of type 'System.Drawing.Size' cannot be converted
to 'System.Drawing.Size'." this happens when i try to compile a windows forms
application and happens in the following lines, this also happens on the
point object:
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(584, 275)
Me.Label2.Location = New System.Drawing.Point(200, 112)
The project is in vs2003 Framework 1.1, i have dereferenced all the references
and put then back in the project but still get this error. I just don't understand
it. Thanks for the help if anyone answer it


 
Reply With Quote
 
 
 
 
waheed iqbal
Guest
Posts: n/a
 
      27th Dec 2006
Its working fine .Check your GAC may be Drawing dll's are damaged by virus
etc.
Check this code on other Workstation

"Ruben Monteiro" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi! After a lot of internet search, i'm still not able to find the
> solution for this problem "Value of type 'System.Drawing.Size' cannot be
> converted to 'System.Drawing.Size'." this happens when i try to compile a
> windows forms application and happens in the following lines, this also
> happens on the point object:
> Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
> Me.ClientSize = New System.Drawing.Size(584, 275)
> Me.Label2.Location = New System.Drawing.Point(200, 112)
> The project is in vs2003 Framework 1.1, i have dereferenced all the
> references and put then back in the project but still get this error. I
> just don't understand it. Thanks for the help if anyone answer it.
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a compile time error... is it possible? ThunderMusic Microsoft C# .NET 9 22nd Aug 2006 10:34 AM
creating a compile time error... is it possible? ThunderMusic Microsoft Dot NET 9 22nd Aug 2006 10:34 AM
Compile time exception error =?Utf-8?B?U2NvdHQgRiBLIEhvb3Blcg==?= Microsoft VB .NET 0 24th Feb 2006 08:18 PM
VBAProject name compile error, not defined at compile time Matthew Dodds Microsoft Excel Programming 1 13th Dec 2005 07:17 PM
Compile-time Error Handler Mark Repsher Microsoft Excel Programming 1 9th Feb 2004 07:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:59 PM.