System.TypeLoadException on OracleConnection, VB, Pocket PC

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
am getting "An unhandled exception of type 'System.TypeLoadException' occured in System.Windows.Forms.dll" while trying to run pretty simple code in VB for Pocket PC
It seems that there is something wrong with the OracleConnection 'coz if I comment that line, all is OK

Any ideas? Am lost.

Code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa

Dim myConn As New OracleConnectio

End Sub
 
AFAIK there is no Oracle provider for CF. Where did you get one?

--
Alex Feinman
---
Visit http://www.opennetcf.org
Dave Laci said:
Hi,
am getting "An unhandled exception of type 'System.TypeLoadException'
occured in System.Windows.Forms.dll" while trying to run pretty simple code
in VB for Pocket PC.
It seems that there is something wrong with the OracleConnection 'coz if I comment that line, all is OK.

Any ideas? Am lost..

Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
 
Back
Top