Compile Time Error

  • Thread starter Thread starter Ruben Monteiro
  • Start date Start date
R

Ruben Monteiro

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
 
Its working fine .Check your GAC may be Drawing dll's are damaged by virus
etc.
Check this code on other Workstation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top