TANKERx
01-29-2004, 04:12 AM
Hi there,
I have two issues and I was wondering if someone could help me please.
First off, I have a project with a form (as you do), but whenever I open the form to design mode, I get 52 Build errors all stating that ' Object type cannot be converted to target type' in line 0.
The line in question simply consists of
Public Class frmMain
Inherits System.Windows.Forms.Form
This code was generated by VB.Net (well, I say that but all I know is that I didn't write it) and the application runs without a problem (but having all those errors is a pain in the bottom).
Second, I am using a Microsoft Web Browser COM Component, but once I put a second one into a separate form, loads of its properties became Read-Only, including the name. Is there a reason for this? I can work with the default assigned name, but it's a bit of a pain because it doesn't fit my naming convention.
Thanks in advance for any help anybody can offer me, I really appreciate it - and who knows, maybe one day I'll be able to answer a question somoeone else posts!
I have two issues and I was wondering if someone could help me please.
First off, I have a project with a form (as you do), but whenever I open the form to design mode, I get 52 Build errors all stating that ' Object type cannot be converted to target type' in line 0.
The line in question simply consists of
Public Class frmMain
Inherits System.Windows.Forms.Form
This code was generated by VB.Net (well, I say that but all I know is that I didn't write it) and the application runs without a problem (but having all those errors is a pain in the bottom).
Second, I am using a Microsoft Web Browser COM Component, but once I put a second one into a separate form, loads of its properties became Read-Only, including the name. Is there a reason for this? I can work with the default assigned name, but it's a bit of a pain because it doesn't fit my naming convention.
Thanks in advance for any help anybody can offer me, I really appreciate it - and who knows, maybe one day I'll be able to answer a question somoeone else posts!