Click here to Skip to main content
15,888,984 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev20-Sep-11 7:38
QuickBooksDev20-Sep-11 7:38 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen20-Sep-11 7:58
professionalEddy Vluggen20-Sep-11 7:58 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev20-Sep-11 9:42
QuickBooksDev20-Sep-11 9:42 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen20-Sep-11 10:40
professionalEddy Vluggen20-Sep-11 10:40 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev21-Sep-11 3:32
QuickBooksDev21-Sep-11 3:32 
AnswerRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen21-Sep-11 7:14
professionalEddy Vluggen21-Sep-11 7:14 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev23-Sep-11 1:45
QuickBooksDev23-Sep-11 1:45 
GeneralRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen23-Sep-11 8:48
professionalEddy Vluggen23-Sep-11 8:48 
QBTeKcom wrote:
It is all happening before any 'user' code except the changed events for the controls and they just usually exit. The same applies to all the programs.

Are you using any third-party controls? Are you referencing any other libraries?

When you go to the projects' properties page, on the tab "Application", is there a checkbox "Enable application framework"? Is it checked?

QBTeKcom wrote:
I am not following the rest of what you are saying to know what I should do in the future.

You need to familiarize yourself with the debugger[^], and step through the code so that you can see what's being executed, and in what order.

QBTeKcom wrote:
What code would I post? It is a very large program 30 screens with code behind and 40 other modules. But fails in the startup frmMain.

Then post the "startup frmMain"; or the lines of code that you changed that you were referring to earlier in this thread.

The stacktrace mentioned in the exception-box would be nice too Smile | :)

QBTeKcom wrote:
I have posted what the flow is. frmMain .load is the first user code.

The flow doesn't say anything about the origin of the error, and this is not a helpdesk.
Bastard Programmer from Hell Suspicious | :suss:

QuestionDatabase Design Fields Pin
Eyo118-Sep-11 23:24
Eyo118-Sep-11 23:24 
AnswerRe: Database Design Fields Pin
Eddy Vluggen19-Sep-11 12:09
professionalEddy Vluggen19-Sep-11 12:09 
QuestionHow do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid17-Sep-11 23:17
kamakazy_kid17-Sep-11 23:17 
AnswerRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld17-Sep-11 23:41
professionalDaveAuld17-Sep-11 23:41 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 1:28
kamakazy_kid18-Sep-11 1:28 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld18-Sep-11 1:35
professionalDaveAuld18-Sep-11 1:35 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 2:18
kamakazy_kid18-Sep-11 2:18 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld18-Sep-11 2:24
professionalDaveAuld18-Sep-11 2:24 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 4:59
kamakazy_kid18-Sep-11 4:59 
GeneralRe: How do I open a url in a custom VB.net tab control brower [modified] Pin
DaveAuld18-Sep-11 5:17
professionalDaveAuld18-Sep-11 5:17 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid18-Sep-11 16:14
kamakazy_kid18-Sep-11 16:14 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
DaveAuld18-Sep-11 19:28
professionalDaveAuld18-Sep-11 19:28 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid20-Sep-11 3:57
kamakazy_kid20-Sep-11 3:57 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid20-Sep-11 5:55
kamakazy_kid20-Sep-11 5:55 
GeneralRe: How do I open a url in a custom VB.net tab control brower Pin
kamakazy_kid22-Sep-11 3:11
kamakazy_kid22-Sep-11 3:11 
QuestionHow can i make movable Buttons? Pin
Enver Hoxha16-Sep-11 3:46
Enver Hoxha16-Sep-11 3:46 
AnswerRe: How can i make movable Buttons? Pin
MicroVirus16-Sep-11 4:49
MicroVirus16-Sep-11 4:49 

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.