System.TypeLoadException on OracleConnection, VB, Pocket PC

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
 
A

Alex Feinman [MVP]

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
 

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

Top