Click here to Skip to main content
15,877,966 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Text box problem Pin
Richard MacCutchan11-May-12 22:49
mveRichard MacCutchan11-May-12 22:49 
GeneralRe: Text box problem Pin
rusydan.khir13-May-12 0:55
rusydan.khir13-May-12 0:55 
GeneralRe: Text box problem Pin
Richard MacCutchan13-May-12 1:20
mveRichard MacCutchan13-May-12 1:20 
QuestionGetting error System.InvalidCastException occurred Pin
KireronThunderStone11-May-12 1:09
KireronThunderStone11-May-12 1:09 
Hello,

I get the following error in run time.

Error message

Unable to cast from a number, the value must be less that infinity.


My code in vb .net visual studio 11



Form load
Me.Client = New DXProf(Me) --Excetion thrown here---
Me.components = New Container
Dim manager As New ComponentResourceManager(GetType(Form1))
DXFramework.m_Icon = DirectCast(manager.GetObject("$this.Icon"), Icon)
DXFramework.LoadInstance(Me.Client, Me)
End Sub





End Sub



Here is the exception detail.


System.InvalidCastException occurred
Message=Unable to cast object of type 'DXProf' to type 'idt.medical.IDXClient'.
Source=DXPro
StackTrace:
at DXPro.Form1.Form1_Load(Object sender, EventArgs e) in C:\VBDXDCURRENT\Functionional No Errors\DXPro\Form1.vb:line 73
InnerException:

Any help would be appreciated.

Michael
AnswerRe: Getting error System.InvalidCastException occurred Pin
Dave Kreskowiak11-May-12 1:40
mveDave Kreskowiak11-May-12 1:40 
GeneralRe: Getting error System.InvalidCastException occurred Pin
KireronThunderStone11-May-12 9:28
KireronThunderStone11-May-12 9:28 
AnswerRe: Getting error System.InvalidCastException occurred Pin
Richard MacCutchan11-May-12 2:45
mveRichard MacCutchan11-May-12 2:45 
GeneralRe: Getting error System.InvalidCastException occurred Pin
KireronThunderStone11-May-12 9:24
KireronThunderStone11-May-12 9:24 
GeneralRe: Getting error System.InvalidCastException occurred Pin
Richard MacCutchan11-May-12 22:45
mveRichard MacCutchan11-May-12 22:45 
GeneralRe: Getting error System.InvalidCastException occurred Pin
Luc Pattyn12-May-12 1:55
sitebuilderLuc Pattyn12-May-12 1:55 
AnswerRe: Getting error System.InvalidCastException occurred Pin
Bernhard Hiller11-May-12 3:05
Bernhard Hiller11-May-12 3:05 
GeneralRe: Getting error System.InvalidCastException occurred Pin
KireronThunderStone11-May-12 9:23
KireronThunderStone11-May-12 9:23 
GeneralRe: Getting error System.InvalidCastException occurred Pin
Bernhard Hiller13-May-12 20:22
Bernhard Hiller13-May-12 20:22 
QuestionHow can i Import Mutiple DBF files to different Tables in MDB Pin
baru_240910-May-12 20:46
baru_240910-May-12 20:46 
AnswerRe: How can i Import Mutiple DBF files to different Tables in MDB Pin
Eddy Vluggen11-May-12 0:34
professionalEddy Vluggen11-May-12 0:34 
GeneralRe: How can i Import Mutiple DBF files to different Tables in MDB Pin
baru_240911-May-12 1:50
baru_240911-May-12 1:50 
GeneralRe: How can i Import Mutiple DBF files to different Tables in MDB Pin
Eddy Vluggen11-May-12 5:44
professionalEddy Vluggen11-May-12 5:44 
QuestionStarting program with a command line parameter Pin
KreativeKai10-May-12 4:53
professionalKreativeKai10-May-12 4:53 
AnswerRe: Starting program with a command line parameter Pin
Dave Kreskowiak10-May-12 9:20
mveDave Kreskowiak10-May-12 9:20 
GeneralRe: Starting program with a command line parameter Pin
KreativeKai10-May-12 9:29
professionalKreativeKai10-May-12 9:29 
GeneralRe: Starting program with a command line parameter Pin
Dave Kreskowiak10-May-12 12:53
mveDave Kreskowiak10-May-12 12:53 
GeneralRe: Starting program with a command line parameter Pin
KreativeKai11-May-12 1:29
professionalKreativeKai11-May-12 1:29 
GeneralRe: Starting program with a command line parameter Pin
Dave Kreskowiak11-May-12 1:38
mveDave Kreskowiak11-May-12 1:38 
GeneralRe: Starting program with a command line parameter Pin
KreativeKai11-May-12 1:57
professionalKreativeKai11-May-12 1:57 
AnswerRe: Starting program with a command line parameter Pin
Sasha Laurel15-May-12 13:40
Sasha Laurel15-May-12 13:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.