Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2006

Tip: Looking for answers? Try searching our database.

Compile Time Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ruben Monteiro - 26 Dec 2006 17:13 GMT
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
waheed iqbal - 27 Dec 2006 07:55 GMT
Its working fine .Check your GAC may be Drawing dll's are damaged by virus
etc.
Check this code on other Workstation

> 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
[quoted text clipped - 7 lines]
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.