c# windowform mit sqlite öffnet sich nicht
-
Hallo!
Ich bin verzweifelt...
ich studiere im moment und interessiere mich für die c# window form entwicklung und habe mich meinem ersten kleinen Projekt gewidtmet... ich war "stolz" als eine erste version meines programms fertig gestellt was und habe sie sofort weiter geschickt... aber keiner kann sie öffnen... ich kann sie aber öffnen. Dann habe ich es mit meinem laptop probiert, bekomm keinen fehler, habe dann aber in der ereignisanzeige geschaut und es steht ein fehler badimageformat exception()...
gleich mal bei google geguckt und gefunden das ich von anycpu auf 64bit oder 32 bit wechseln soll, beides probiert aber keine chance
ich poste hier jetzt einfach mal mein programm und hoffe das ihr eine idee habt!
hier mal nur das release: https://rapidshare.com/files/1154687073/Projekte.rar
und hier mein komplettprojekt
https://rapidshare.com/files/664047278/geldtransfer.rarich hoffe mein 1.beitrag hier ist nicht komplett verkehrt
-
Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Vs, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
...du müsstest dafür sorgen, dass das "Visual Basic Powerpack", welches du da scheinbar einsetzt, auf anderen Rechnern ebenfalls installiert ist.
-
aber, das ist bei meiner visual 11 beta automatisch drin gewesen... das wäre ja echt ein ding wenn man das dann nicht nutzen dürfte^^
-
HansB schrieb:
aber, das ist bei meiner visual 11 beta automatisch drin gewesen... das wäre ja echt ein ding wenn man das dann nicht nutzen dürfte^^
Ist die "Visual 11 Beta" auf den anderen Rechnern auch installiert?
-
nein ist nicht installiert, wir haben das jetzt aber rausgenommen und kommen zu einem neuen fehler... nun ist die system.datasqlite.dll schuld... ich habe beides versucht, 32 bit version und 64 bit version der dll... aber er nimmt keine -.-
-
Hast du die "System.Data.SQLite.dll" mitausgeliefert?
Grüssli
-
ja die ist immer mit drin, wir haben es mit 32 bit version und der 64 bit version der dll versucht... aber kein erfolg... ich verzweifel hier -.-
-
Welche Fehlermeldung kommt denn?
-
Die "System.Data.SQLite.dll" im "Projekte\Release" ist für IA64 (sprich: Itanium). WTF?
Die in "Projekte\x64" ist für x86 (passt auch nicht).
Die in "Projekte\x64\Release" ist für x64 (OK).
Die in "Projekte\x86\Debug" ist für x86 (OK).
Die in "Projekte\x86\Release" ist für x86 (OK).Alles in allem ein ziemlicher Sauhaufen.
Davon abgesehen brauchen die "System.Data.SQLite" DLLs die Visual C++ 2010 Runtime (MSVCR100.DLL).
Da diese nicht mit Windows mitkommt, muss sie nachinstalliert werden. (Bzw. alternativ kannst du die SQLite DLL so bauen dass die runtime statisch gelinkt wird, dann braucht man keine zusätzliche DLL)Möglicherweise fehlt dann immer noch was, aber mehr fällt mir im Moment mal nicht auf.
Tip: ASAP Dependency Walter runterladen: http://www.dependencywalker.com/
Damit kannst du dann selbär gucken was fehlt wenn eine .DLL bzw. eine .EXE nicht geladen werden mag.
-
Anwendung: Bank.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.IO.FileNotFoundException
Stapel:
bei Bank.Form2.InitializeComponent()
bei Bank.Program.Main()das ist der fehler!
und die die methode in der, der fehler auftritt... aber ich weiß einfach nicht woran es liegt!
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2)); this.tabControl1 = new System.Windows.Forms.TabControl(); this.Geldfluss = new System.Windows.Forms.TabPage(); this.label38 = new System.Windows.Forms.Label(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.label7 = new System.Windows.Forms.Label(); this.textBox_letztesHinzugefügt = new System.Windows.Forms.TextBox(); this.listBox4 = new System.Windows.Forms.ListBox(); this.label6 = new System.Windows.Forms.Label(); this.richTextBox3 = new System.Windows.Forms.RichTextBox(); this.listBox3 = new System.Windows.Forms.ListBox(); this.label5 = new System.Windows.Forms.Label(); this.richTextBox2 = new System.Windows.Forms.RichTextBox(); this.listBox2 = new System.Windows.Forms.ListBox(); this.label4 = new System.Windows.Forms.Label(); this.button4 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.listBox1 = new System.Windows.Forms.ListBox(); this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.button1 = new System.Windows.Forms.Button(); this.Monatsübersicht = new System.Windows.Forms.TabPage(); this.textBox5 = new System.Windows.Forms.TextBox(); this.label29 = new System.Windows.Forms.Label(); this.comboBox4 = new System.Windows.Forms.ComboBox(); this.comboBox5 = new System.Windows.Forms.ComboBox(); this.label30 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.textBox4 = new System.Windows.Forms.TextBox(); this.label28 = new System.Windows.Forms.Label(); this.comboBox3 = new System.Windows.Forms.ComboBox(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.label27 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label17 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label19 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label15 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.textBox_mDifferenz = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.textBox_mEinnahmen = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.textBox_mAusgaben = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.Gesamt = new System.Windows.Forms.TabPage(); this.textBox6 = new System.Windows.Forms.TextBox(); this.label34 = new System.Windows.Forms.Label(); this.comboBox6 = new System.Windows.Forms.ComboBox(); this.comboBox7 = new System.Windows.Forms.ComboBox(); this.label35 = new System.Windows.Forms.Label(); this.label36 = new System.Windows.Forms.Label(); this.label37 = new System.Windows.Forms.Label(); this.textBox_Differenz = new System.Windows.Forms.TextBox(); this.textBox_gEinnahmen = new System.Windows.Forms.TextBox(); this.textBox_gAusgaben = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.label24 = new System.Windows.Forms.Label(); this.label23 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.tabControl1.SuspendLayout(); this.Geldfluss.SuspendLayout(); this.Monatsübersicht.SuspendLayout(); this.Gesamt.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.Geldfluss); this.tabControl1.Controls.Add(this.Monatsübersicht); this.tabControl1.Controls.Add(this.Gesamt); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabControl1.Location = new System.Drawing.Point(-5, -4); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(640, 323); this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight; this.tabControl1.TabIndex = 0; this.tabControl1.Tag = "Geldfluss"; this.tabControl1.Selected += new System.Windows.Forms.TabControlEventHandler(this.tabControl1_Selected); // // Geldfluss // this.Geldfluss.BackColor = System.Drawing.Color.LightSteelBlue; this.Geldfluss.Controls.Add(this.label38); this.Geldfluss.Controls.Add(this.checkedListBox1); this.Geldfluss.Controls.Add(this.label7); this.Geldfluss.Controls.Add(this.textBox_letztesHinzugefügt); this.Geldfluss.Controls.Add(this.listBox4); this.Geldfluss.Controls.Add(this.label6); this.Geldfluss.Controls.Add(this.richTextBox3); this.Geldfluss.Controls.Add(this.listBox3); this.Geldfluss.Controls.Add(this.label5); this.Geldfluss.Controls.Add(this.richTextBox2); this.Geldfluss.Controls.Add(this.listBox2); this.Geldfluss.Controls.Add(this.label4); this.Geldfluss.Controls.Add(this.button4); this.Geldfluss.Controls.Add(this.button3); this.Geldfluss.Controls.Add(this.label3); this.Geldfluss.Controls.Add(this.richTextBox1); this.Geldfluss.Controls.Add(this.listBox1); this.Geldfluss.Controls.Add(this.dateTimePicker2); this.Geldfluss.Controls.Add(this.label2); this.Geldfluss.Controls.Add(this.label1); this.Geldfluss.Controls.Add(this.dateTimePicker1); this.Geldfluss.Controls.Add(this.button1); this.Geldfluss.Location = new System.Drawing.Point(4, 23); this.Geldfluss.Name = "Geldfluss"; this.Geldfluss.Padding = new System.Windows.Forms.Padding(3); this.Geldfluss.Size = new System.Drawing.Size(632, 296); this.Geldfluss.TabIndex = 0; this.Geldfluss.Text = "Geldfluss"; // // label38 // this.label38.AutoSize = true; this.label38.Font = new System.Drawing.Font("Arial", 5.5F, System.Drawing.FontStyle.Bold); this.label38.Location = new System.Drawing.Point(559, 270); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(70, 10); this.label38.TabIndex = 25; this.label38.Text = "Alphaversion 1.00"; // // checkedListBox1 // this.checkedListBox1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.checkedListBox1.FormattingEnabled = true; this.checkedListBox1.Items.AddRange(new object[] { "Ausgaben", "Einnahmen"}); this.checkedListBox1.Location = new System.Drawing.Point(439, 175); this.checkedListBox1.Name = "checkedListBox1"; this.checkedListBox1.Size = new System.Drawing.Size(101, 34); this.checkedListBox1.TabIndex = 24; this.checkedListBox1.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.checkedListBox1_ItemCheck); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(7, 228); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(138, 14); this.label7.TabIndex = 23; this.label7.Text = "Als letztes hinzugefügt:"; // // textBox_letztesHinzugefügt // this.textBox_letztesHinzugefügt.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox_letztesHinzugefügt.Location = new System.Drawing.Point(3, 247); this.textBox_letztesHinzugefügt.Name = "textBox_letztesHinzugefügt"; this.textBox_letztesHinzugefügt.Size = new System.Drawing.Size(615, 20); this.textBox_letztesHinzugefügt.TabIndex = 22; // // listBox4 // this.listBox4.FormattingEnabled = true; this.listBox4.ItemHeight = 14; this.listBox4.Items.AddRange(new object[] { "Monatlich", "Täglich", "Wöchentlich"}); this.listBox4.Location = new System.Drawing.Point(439, 35); this.listBox4.Name = "listBox4"; this.listBox4.Size = new System.Drawing.Size(190, 18); this.listBox4.TabIndex = 21; this.listBox4.SelectedIndexChanged += new System.EventHandler(this.listBox4_SelectedIndexChanged); // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(221, 120); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(43, 14); this.label6.TabIndex = 20; this.label6.Text = "Betrag"; // // richTextBox3 // this.richTextBox3.Location = new System.Drawing.Point(439, 137); this.richTextBox3.Name = "richTextBox3"; this.richTextBox3.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Horizontal; this.richTextBox3.ShowSelectionMargin = true; this.richTextBox3.Size = new System.Drawing.Size(113, 23); this.richTextBox3.TabIndex = 19; this.richTextBox3.TabStop = false; this.richTextBox3.Tag = "Wie viel hat es gekostet?"; this.richTextBox3.Text = ""; this.richTextBox3.TextChanged += new System.EventHandler(this.richTextBox3_TextChanged); this.richTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox3_KeyPress); // // listBox3 // this.listBox3.FormattingEnabled = true; this.listBox3.ItemHeight = 14; this.listBox3.Items.AddRange(new object[] { "Lebensmittel", "Feiern", "PC-Hardware", "Software,Spiele", "Haus, Wohnung", "Reperatur", "Wasser,Strom", "Telefon", "Arbeit", "Geschenk", "Taschengeld", "Bafög", "Sonstiges"}); this.listBox3.Location = new System.Drawing.Point(439, 59); this.listBox3.Name = "listBox3"; this.listBox3.Size = new System.Drawing.Size(190, 60); this.listBox3.TabIndex = 18; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(436, 120); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(43, 14); this.label5.TabIndex = 17; this.label5.Text = "Betrag"; // // richTextBox2 // this.richTextBox2.Location = new System.Drawing.Point(224, 137); this.richTextBox2.Name = "richTextBox2"; this.richTextBox2.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Horizontal; this.richTextBox2.ShowSelectionMargin = true; this.richTextBox2.Size = new System.Drawing.Size(113, 23); this.richTextBox2.TabIndex = 16; this.richTextBox2.TabStop = false; this.richTextBox2.Tag = "Wie viel hat es gekostet?"; this.richTextBox2.Text = ""; this.richTextBox2.TextChanged += new System.EventHandler(this.richTextBox2_TextChanged); this.richTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox2_KeyPress); // // listBox2 // this.listBox2.FormattingEnabled = true; this.listBox2.ItemHeight = 14; this.listBox2.Items.AddRange(new object[] { "Arbeit", "Geschenk", "Taschengeld", "Bafög", "Sonstiges", ""}); this.listBox2.Location = new System.Drawing.Point(224, 58); this.listBox2.Name = "listBox2"; this.listBox2.Size = new System.Drawing.Size(200, 60); this.listBox2.TabIndex = 15; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(495, 7); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(91, 16); this.label4.TabIndex = 14; this.label4.Text = "Dauerauftrag"; // // button4 // this.button4.Location = new System.Drawing.Point(556, 163); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(62, 46); this.button4.TabIndex = 13; this.button4.Text = "ADD"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // button3 // this.button3.Location = new System.Drawing.Point(295, 163); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(62, 47); this.button3.TabIndex = 12; this.button3.Text = "ADD"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(6, 120); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(65, 14); this.label3.TabIndex = 11; this.label3.Text = "Betrag in €"; this.label3.Click += new System.EventHandler(this.label3_Click); // // richTextBox1 // this.richTextBox1.Location = new System.Drawing.Point(7, 137); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Horizontal; this.richTextBox1.ShowSelectionMargin = true; this.richTextBox1.Size = new System.Drawing.Size(113, 23); this.richTextBox1.TabIndex = 10; this.richTextBox1.TabStop = false; this.richTextBox1.Tag = "Wie viel hat es gekostet?"; this.richTextBox1.Text = ""; this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged); this.richTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.richTextBox1_KeyPress); // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.ItemHeight = 14; this.listBox1.Items.AddRange(new object[] { "Lebensmittel", "Feiern", "PC-Hardware", "Software,Spiele", "Haus, Wohnung", "Reperatur", "Wasser,Strom", "Telefon"}); this.listBox1.Location = new System.Drawing.Point(7, 59); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(200, 60); this.listBox1.TabIndex = 9; // // dateTimePicker2 // this.dateTimePicker2.Location = new System.Drawing.Point(224, 32); this.dateTimePicker2.Name = "dateTimePicker2"; this.dateTimePicker2.Size = new System.Drawing.Size(200, 20); this.dateTimePicker2.TabIndex = 8; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(292, 7); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 16); this.label2.TabIndex = 6; this.label2.Text = "Einnahmen"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(70, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(71, 16); this.label1.TabIndex = 5; this.label1.Text = "Ausgaben"; this.label1.Click += new System.EventHandler(this.label1_Click); // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(7, 32); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(200, 20); this.dateTimePicker1.TabIndex = 3; this.dateTimePicker1.Value = new System.DateTime(2012, 7, 20, 0, 0, 0, 0); this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); // // button1 // this.button1.Location = new System.Drawing.Point(73, 163); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(62, 47); this.button1.TabIndex = 1; this.button1.Text = "ADD"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // Monatsübersicht // this.Monatsübersicht.BackColor = System.Drawing.Color.LightSteelBlue; this.Monatsübersicht.Controls.Add(this.textBox5); this.Monatsübersicht.Controls.Add(this.label29); this.Monatsübersicht.Controls.Add(this.comboBox4); this.Monatsübersicht.Controls.Add(this.comboBox5); this.Monatsübersicht.Controls.Add(this.label30); this.Monatsübersicht.Controls.Add(this.label31); this.Monatsübersicht.Controls.Add(this.label32); this.Monatsübersicht.Controls.Add(this.label33); this.Monatsübersicht.Controls.Add(this.textBox4); this.Monatsübersicht.Controls.Add(this.label28); this.Monatsübersicht.Controls.Add(this.comboBox3); this.Monatsübersicht.Controls.Add(this.comboBox2); this.Monatsübersicht.Controls.Add(this.label27); this.Monatsübersicht.Controls.Add(this.label26); this.Monatsübersicht.Controls.Add(this.label25); this.Monatsübersicht.Controls.Add(this.label20); this.Monatsübersicht.Controls.Add(this.textBox1); this.Monatsübersicht.Controls.Add(this.label17); this.Monatsübersicht.Controls.Add(this.textBox2); this.Monatsübersicht.Controls.Add(this.label18); this.Monatsübersicht.Controls.Add(this.textBox3); this.Monatsübersicht.Controls.Add(this.label19); this.Monatsübersicht.Controls.Add(this.label16); this.Monatsübersicht.Controls.Add(this.comboBox1); this.Monatsübersicht.Controls.Add(this.label15); this.Monatsübersicht.Controls.Add(this.label14); this.Monatsübersicht.Controls.Add(this.textBox_mDifferenz); this.Monatsübersicht.Controls.Add(this.label13); this.Monatsübersicht.Controls.Add(this.textBox_mEinnahmen); this.Monatsübersicht.Controls.Add(this.label12); this.Monatsübersicht.Controls.Add(this.textBox_mAusgaben); this.Monatsübersicht.Controls.Add(this.label11); this.Monatsübersicht.Location = new System.Drawing.Point(4, 23); this.Monatsübersicht.Name = "Monatsübersicht"; this.Monatsübersicht.Padding = new System.Windows.Forms.Padding(3); this.Monatsübersicht.Size = new System.Drawing.Size(632, 296); this.Monatsübersicht.TabIndex = 1; this.Monatsübersicht.Text = "Monatsübersicht"; this.Monatsübersicht.Click += new System.EventHandler(this.Monatsübersicht_Click); // // textBox5 // this.textBox5.Location = new System.Drawing.Point(429, 260); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(100, 20); this.textBox5.TabIndex = 37; // // label29 // this.label29.AutoSize = true; this.label29.Location = new System.Drawing.Point(361, 263); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(46, 14); this.label29.TabIndex = 36; this.label29.Text = "Betrag:"; // // comboBox4 // this.comboBox4.FormattingEnabled = true; this.comboBox4.Items.AddRange(new object[] { "Arbeit", "Geschenk", "Taschengeld", "Bafög", "Sonstiges"}); this.comboBox4.Location = new System.Drawing.Point(497, 227); this.comboBox4.Name = "comboBox4"; this.comboBox4.Size = new System.Drawing.Size(121, 22); this.comboBox4.TabIndex = 35; this.comboBox4.DropDownClosed += new System.EventHandler(this.comboBox4_DropDownClosed); // // comboBox5 // this.comboBox5.FormattingEnabled = true; this.comboBox5.Items.AddRange(new object[] { "Lebensmittel", "Feiern", "PC-Hardware", "Software,Spiele", "Haus, Wohnung", "Reperatur", "Wasser,Strom", "Telefon"}); this.comboBox5.Location = new System.Drawing.Point(334, 227); this.comboBox5.Name = "comboBox5"; this.comboBox5.Size = new System.Drawing.Size(121, 22); this.comboBox5.TabIndex = 34; this.comboBox5.SelectedIndexChanged += new System.EventHandler(this.comboBox5_SelectedIndexChanged); // // label30 // this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point(518, 201); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(68, 14); this.label30.TabIndex = 33; this.label30.Text = "Einnahmen"; // // label31 // this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(361, 201); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(63, 14); this.label31.TabIndex = 32; this.label31.Text = "Ausgaben"; // // label32 // this.label32.AutoSize = true; this.label32.Location = new System.Drawing.Point(331, 171); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(133, 14); this.label32.TabIndex = 31; this.label32.Text = "Kategorien betrachten:"; // // label33 // this.label33.AutoSize = true; this.label33.Location = new System.Drawing.Point(344, 157); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(0, 14); this.label33.TabIndex = 30; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(104, 260); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(100, 20); this.textBox4.TabIndex = 29; // // label28 // this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point(36, 263); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(46, 14); this.label28.TabIndex = 28; this.label28.Text = "Betrag:"; // // comboBox3 // this.comboBox3.FormattingEnabled = true; this.comboBox3.Items.AddRange(new object[] { "Arbeit", "Geschenk", "Taschengeld", "Bafög", "Sonstiges"}); this.comboBox3.Location = new System.Drawing.Point(172, 227); this.comboBox3.Name = "comboBox3"; this.comboBox3.Size = new System.Drawing.Size(121, 22); this.comboBox3.TabIndex = 27; this.comboBox3.DropDownClosed += new System.EventHandler(this.comboBox3_DropDownClosed); // // comboBox2 // this.comboBox2.FormattingEnabled = true; this.comboBox2.Items.AddRange(new object[] { "Lebensmittel", "Feiern", "PC-Hardware", "Software,Spiele", "Haus, Wohnung", "Reperatur", "Wasser,Strom", "Telefon"}); this.comboBox2.Location = new System.Drawing.Point(9, 227); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(121, 22); this.comboBox2.TabIndex = 26; this.comboBox2.DropDownClosed += new System.EventHandler(this.comboBox2_DropDownClosed); // // label27 // this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point(193, 201); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(68, 14); this.label27.TabIndex = 25; this.label27.Text = "Einnahmen"; // // label26 // this.label26.AutoSize = true; this.label26.Location = new System.Drawing.Point(36, 201); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(63, 14); this.label26.TabIndex = 24; this.label26.Text = "Ausgaben"; // // label25 // this.label25.AutoSize = true; this.label25.Location = new System.Drawing.Point(13, 171); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(133, 14); this.label25.TabIndex = 23; this.label25.Text = "Kategorien betrachten:"; // // label20 // this.label20.AutoSize = true; this.label20.Location = new System.Drawing.Point(19, 157); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(0, 14); this.label20.TabIndex = 22; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(518, 133); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(97, 20); this.textBox1.TabIndex = 21; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(328, 133); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(60, 14); this.label17.TabIndex = 20; this.label17.Text = "Differenz:"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(518, 104); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(97, 20); this.textBox2.TabIndex = 19; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(331, 104); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(115, 14); this.label18.TabIndex = 18; this.label18.Text = "Gesamteinnahmen:"; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(519, 75); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(97, 20); this.textBox3.TabIndex = 17; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(329, 75); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(107, 14); this.label19.TabIndex = 16; this.label19.Text = "Gesamtausgaben:"; // // label16 // this.label16.AutoSize = true; this.label16.ForeColor = System.Drawing.SystemColors.MenuHighlight; this.label16.Location = new System.Drawing.Point(329, 35); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(161, 14); this.label16.TabIndex = 15; this.label16.Text = "Monat und das Jahr wählen:"; this.label16.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label16_MouseMove); // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(519, 32); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(96, 22); this.comboBox1.TabIndex = 13; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); this.comboBox1.SelectionChangeCommitted += new System.EventHandler(this.comboBox1_SelectionChangeCommitted); // // label15 // this.label15.AutoSize = true; this.label15.Font = new System.Drawing.Font("Arial", 8.75F, System.Drawing.FontStyle.Bold); this.label15.ForeColor = System.Drawing.SystemColors.HotTrack; this.label15.Location = new System.Drawing.Point(431, 7); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(121, 15); this.label15.TabIndex = 12; this.label15.Text = "Gewünschter Monat"; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("Arial", 8.75F, System.Drawing.FontStyle.Bold); this.label14.ForeColor = System.Drawing.SystemColors.HotTrack; this.label14.Location = new System.Drawing.Point(92, 7); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(96, 15); this.label14.TabIndex = 10; this.label14.Text = "Aktueller Monat"; this.label14.Click += new System.EventHandler(this.label14_Click); this.label14.Paint += new System.Windows.Forms.PaintEventHandler(this.label14_Paint); // // textBox_mDifferenz // this.textBox_mDifferenz.Location = new System.Drawing.Point(196, 133); this.textBox_mDifferenz.Name = "textBox_mDifferenz"; this.textBox_mDifferenz.Size = new System.Drawing.Size(97, 20); this.textBox_mDifferenz.TabIndex = 9; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(19, 133); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(60, 14); this.label13.TabIndex = 8; this.label13.Text = "Differenz:"; // // textBox_mEinnahmen // this.textBox_mEinnahmen.Location = new System.Drawing.Point(196, 104); this.textBox_mEinnahmen.Name = "textBox_mEinnahmen"; this.textBox_mEinnahmen.Size = new System.Drawing.Size(97, 20); this.textBox_mEinnahmen.TabIndex = 7; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(19, 104); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(115, 14); this.label12.TabIndex = 6; this.label12.Text = "Gesamteinnahmen:"; // // textBox_mAusgaben // this.textBox_mAusgaben.Location = new System.Drawing.Point(196, 75); this.textBox_mAusgaben.Name = "textBox_mAusgaben"; this.textBox_mAusgaben.Size = new System.Drawing.Size(97, 20); this.textBox_mAusgaben.TabIndex = 5; this.textBox_mAusgaben.TextChanged += new System.EventHandler(this.textBox1_TextChanged); // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(19, 78); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(107, 14); this.label11.TabIndex = 4; this.label11.Text = "Gesamtausgaben:"; // // Gesamt // this.Gesamt.BackColor = System.Drawing.Color.LightSteelBlue; this.Gesamt.Controls.Add(this.textBox6); this.Gesamt.Controls.Add(this.label34); this.Gesamt.Controls.Add(this.comboBox6); this.Gesamt.Controls.Add(this.comboBox7); this.Gesamt.Controls.Add(this.label35); this.Gesamt.Controls.Add(this.label36); this.Gesamt.Controls.Add(this.label37); this.Gesamt.Controls.Add(this.textBox_Differenz); this.Gesamt.Controls.Add(this.textBox_gEinnahmen); this.Gesamt.Controls.Add(this.textBox_gAusgaben); this.Gesamt.Controls.Add(this.label10); this.Gesamt.Controls.Add(this.label9); this.Gesamt.Controls.Add(this.label8); this.Gesamt.Location = new System.Drawing.Point(4, 23); this.Gesamt.Name = "Gesamt"; this.Gesamt.Padding = new System.Windows.Forms.Padding(3); this.Gesamt.Size = new System.Drawing.Size(632, 296); this.Gesamt.TabIndex = 2; this.Gesamt.Text = "Gesamt"; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(108, 189); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(100, 20); this.textBox6.TabIndex = 36; // // label34 // this.label34.AutoSize = true; this.label34.Location = new System.Drawing.Point(40, 192); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(46, 14); this.label34.TabIndex = 35; this.label34.Text = "Betrag:"; // // comboBox6 // this.comboBox6.FormattingEnabled = true; this.comboBox6.Items.AddRange(new object[] { "Arbeit", "Geschenk", "Taschengeld", "Bafög", "Sonstiges"}); this.comboBox6.Location = new System.Drawing.Point(176, 156); this.comboBox6.Name = "comboBox6"; this.comboBox6.Size = new System.Drawing.Size(121, 22); this.comboBox6.TabIndex = 34; this.comboBox6.DropDownClosed += new System.EventHandler(this.comboBox6_DropDownClosed); // // comboBox7 // this.comboBox7.FormattingEnabled = true; this.comboBox7.Items.AddRange(new object[] { "Lebensmittel", "Feiern", "PC-Hardware", "Software,Spiele", "Haus, Wohnung", "Reperatur", "Wasser,Strom", "Telefon"}); this.comboBox7.Location = new System.Drawing.Point(13, 156); this.comboBox7.Name = "comboBox7"; this.comboBox7.Size = new System.Drawing.Size(121, 22); this.comboBox7.TabIndex = 33; this.comboBox7.DropDownClosed += new System.EventHandler(this.comboBox7_DropDownClosed); // // label35 // this.label35.AutoSize = true; this.label35.Location = new System.Drawing.Point(197, 130); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(68, 14); this.label35.TabIndex = 32; this.label35.Text = "Einnahmen"; // // label36 // this.label36.AutoSize = true; this.label36.Location = new System.Drawing.Point(40, 130); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(63, 14); this.label36.TabIndex = 31; this.label36.Text = "Ausgaben"; // // label37 // this.label37.AutoSize = true; this.label37.Location = new System.Drawing.Point(17, 100); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(133, 14); this.label37.TabIndex = 30; this.label37.Text = "Kategorien betrachten:"; // // textBox_Differenz // this.textBox_Differenz.Location = new System.Drawing.Point(512, 15); this.textBox_Differenz.Name = "textBox_Differenz"; this.textBox_Differenz.Size = new System.Drawing.Size(84, 20); this.textBox_Differenz.TabIndex = 5; // // textBox_gEinnahmen // this.textBox_gEinnahmen.Location = new System.Drawing.Point(352, 15); this.textBox_gEinnahmen.Name = "textBox_gEinnahmen"; this.textBox_gEinnahmen.Size = new System.Drawing.Size(87, 20); this.textBox_gEinnahmen.TabIndex = 4; // // textBox_gAusgaben // this.textBox_gAusgaben.Location = new System.Drawing.Point(120, 15); this.textBox_gAusgaben.Name = "textBox_gAusgaben"; this.textBox_gAusgaben.Size = new System.Drawing.Size(91, 20); this.textBox_gAusgaben.TabIndex = 3; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(445, 22); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(60, 14); this.label10.TabIndex = 2; this.label10.Text = "Differenz:"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(230, 22); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(115, 14); this.label9.TabIndex = 1; this.label9.Text = "Gesamteinnahmen:"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(6, 22); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(107, 14); this.label8.TabIndex = 0; this.label8.Text = "Gesamtausgaben:"; this.label8.Click += new System.EventHandler(this.label8_Click); // // tabPage1 // this.tabPage1.Location = new System.Drawing.Point(4, 23); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(632, 296); this.tabPage1.TabIndex = 3; this.tabPage1.Text = "Anschauliches"; this.tabPage1.UseVisualStyleBackColor = true; // // tabPage2 // this.tabPage2.BackColor = System.Drawing.Color.LightSteelBlue; this.tabPage2.Controls.Add(this.linkLabel1); this.tabPage2.Controls.Add(this.label24); this.tabPage2.Controls.Add(this.label23); this.tabPage2.Controls.Add(this.label22); this.tabPage2.Location = new System.Drawing.Point(4, 23); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(632, 296); this.tabPage2.TabIndex = 4; this.tabPage2.Text = "Fragen/Vorschläge/Bugs"; // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(224, 187); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(167, 14); this.linkLabel1.TabIndex = 5; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Dann schreibt mir eine Email!"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // label24 // this.label24.AutoSize = true; this.label24.Location = new System.Drawing.Point(165, 142); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(0, 14); this.label24.TabIndex = 4; // // label23 // this.label23.AutoSize = true; this.label23.Location = new System.Drawing.Point(13, 128); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(603, 14); this.label23.TabIndex = 3; this.label23.Text = " Ihr habt eine Frage zu dem Programm oder habt ein paar Interessante Vorschlä" + "ge bzw Fehler gefunden? "; this.label23.Click += new System.EventHandler(this.label23_Click); // // label22 // this.label22.AutoSize = true; this.label22.ForeColor = System.Drawing.SystemColors.HotTrack; this.label22.Location = new System.Drawing.Point(237, 52); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(141, 14); this.label22.TabIndex = 2; this.label22.Text = "Fragen/Vorschläge/Bugs"; this.label22.Click += new System.EventHandler(this.label22_Click); // // Form2 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(629, 308); this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximumSize = new System.Drawing.Size(645, 346); this.MinimumSize = new System.Drawing.Size(645, 346); this.Name = "Form2"; this.Text = "Mein Geld"; this.Load += new System.EventHandler(this.Form2_Load); this.Click += new System.EventHandler(this.Form2_Load); this.tabControl1.ResumeLayout(false); this.Geldfluss.ResumeLayout(false); this.Geldfluss.PerformLayout(); this.Monatsübersicht.ResumeLayout(false); this.Monatsübersicht.PerformLayout(); this.Gesamt.ResumeLayout(false); this.Gesamt.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage Geldfluss; private System.Windows.Forms.TabPage Monatsübersicht; private System.Windows.Forms.TabPage Gesamt; private System.Windows.Forms.Label label1; private System.Windows.Forms.DateTimePicker dateTimePicker1; private System.Windows.Forms.Button button1; private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.DateTimePicker dateTimePicker2; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.RichTextBox richTextBox1; private System.Windows.Forms.ListBox listBox2; private System.Windows.Forms.Label label4; private System.Windows.Forms.Button button4; private System.Windows.Forms.Button button3; private System.Windows.Forms.Label label5; private System.Windows.Forms.RichTextBox richTextBox2; private System.Windows.Forms.ListBox listBox4; private System.Windows.Forms.Label label6; private System.Windows.Forms.RichTextBox richTextBox3; private System.Windows.Forms.ListBox listBox3; private System.Windows.Forms.Label label7; private System.Windows.Forms.TextBox textBox_letztesHinzugefügt; private System.Windows.Forms.Label label8; private System.Windows.Forms.TextBox textBox_Differenz; private System.Windows.Forms.TextBox textBox_gEinnahmen; private System.Windows.Forms.TextBox textBox_gAusgaben; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label9; private System.Windows.Forms.TextBox textBox_mEinnahmen; private System.Windows.Forms.Label label12; private System.Windows.Forms.TextBox textBox_mAusgaben; private System.Windows.Forms.Label label11; private System.Windows.Forms.TextBox textBox_mDifferenz; private System.Windows.Forms.Label label13; private System.Windows.Forms.CheckedListBox checkedListBox1; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label15; private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.Label label16; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Label label17; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Label label18; private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.Label label19; private System.Windows.Forms.Label label20; private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.Label label24; private System.Windows.Forms.Label label23; private System.Windows.Forms.Label label22; private System.Windows.Forms.LinkLabel linkLabel1; private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.Label label28; private System.Windows.Forms.ComboBox comboBox3; private System.Windows.Forms.ComboBox comboBox2; private System.Windows.Forms.Label label27; private System.Windows.Forms.Label label26; private System.Windows.Forms.Label label25; private System.Windows.Forms.TextBox textBox5; private System.Windows.Forms.Label label29; private System.Windows.Forms.ComboBox comboBox4; private System.Windows.Forms.ComboBox comboBox5; private System.Windows.Forms.Label label30; private System.Windows.Forms.Label label31; private System.Windows.Forms.Label label32; private System.Windows.Forms.Label label33; private System.Windows.Forms.TextBox textBox6; private System.Windows.Forms.Label label34; private System.Windows.Forms.ComboBox comboBox6; private System.Windows.Forms.ComboBox comboBox7; private System.Windows.Forms.Label label35; private System.Windows.Forms.Label label36; private System.Windows.Forms.Label label37; private System.Windows.Forms.Label label38; } }
-
Ich hab ihn!
-
ironie?
-
HansB schrieb:
Anwendung: Bank.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.IO.FileNotFoundException
Stapel:
bei Bank.Form2.InitializeComponent()
bei Bank.Program.Main()
(...)Mach mal in dein Main() sowas da rein:
try { // hier der Code der jetzt schon in Main() steht rein } catch (System.Exception e) { MessageBox.Show(e.ToString()); }
Dann siehst du nämlich nicht nur was für einen Typ die Exception hat, sondern netterweise auch die Fehlermeldung.
-
HansB schrieb:
ironie?
Genau so viel oder wenig, wie hier 1 Mio. Zeilen
compilerautogenerierten Code zu posten, und dann von uns wissen zu wollen was der Fehler ist.Lern bitte die Grundlagen von C# - wozu eben auch gehört: wie bekomme ich mehr über Fehler raus, wie bediene ich den Debugger richtig etc.
So wie du dich hier anstellst wirst weder du viel Freude am Entwickeln bzw. Debuggen haben, noch wir damit deine Beiträge zu lesen.
-
also ich programmier jetzt seit 4 wochen und versuche stehts selber meine fehler zu lösen und suche viel im internet gehe schritt für schritt durch mein programm... schuldigung das ich nach 4 wochen nicht viel drauf habe, aber ich denke ein hinweis darauf, das es mit dem debugger noch mehr möglichkeiten gibt auf den fehler zu kommen wäre hilfreicher gewesen!
-
nicht-DU> Hast du die "System.Data.SQLite.dll" mitausgeliefert?
DU> ja die ist immer mit drin (...)
nicht-DU> Welche Fehlermeldung kommt denn?
nicht-DU-2> Dependency Walter blabla
DU> (...) das ist der fehler! (...) und > 1000 Zeilen Code aber nirgends was vonwegen "SQLite.dll", kein Hinweis darauf dass du irgendwelchen Hinweisen nachgegangen wärest, kein "das mit SQLite geht jetzt, dafür hab ich nen anderen Fehler". Einfach nur "das ist der fehler!".Merkst du was?
-
ich wollte dir gerade damit sagen das ich dir recht gebe und ich mich nicht sehr clever anstelle, ich wollte dir nur sagen das du anstatt des nichts sagenden beitrages auch gleich sagen hättest können das meine herangehensweise völlig falsch ist!!!
DU> (...) das ist der fehler! (...) und > 1000 Zeilen Code aber nirgends was vonwegen "SQLite.dll", kein Hinweis darauf dass du irgendwelchen Hinweisen nachgegangen wärest, kein "das mit SQLite geht jetzt, dafür hab ich nen anderen Fehler". Einfach nur "das ist der fehler!".
ich bin ja eigentlich auch der meinung das der fehler an der sqlite datenbank liegt!
da ich in verschiedenen foren geschaut habe und es öfter probleme gibt, welche man durch einstellen eines bestimmten cpu anstatt von "anycpu" lösen sollte, bzw eine weitere software von.net installieren soll damit es funktioniert, doch dies hat noch nichts gebracht!
try { // hier der Code der jetzt schon in Main() steht rein } catch (System.Exception e) { MessageBox.Show(e.ToString()); }
durch diese methode öffnet sich mein programm jetzt ohne fehler
*edit*
gerade erst mitbekomm das es garnicht dein kommentar war, entschuldigung!
-
HansB schrieb:
try { // hier der Code der jetzt schon in Main() steht rein } catch (System.Exception e) { MessageBox.Show(e.ToString()); }
durch diese methode öffnet sich mein programm jetzt ohne fehler
Das kann eigentlich nicht sein. Soll heissen: ich wüsste nicht wie das gehen sollte.
Wenigstens solltest du hier ne Message-Box bekommen, und danach sollte das Programm terminieren.Hast du vielleicht gleichzeitig noch was anderes geändert?
-
das hat mich gerade auch irritiert, weil ich vor ner weile die Visual PowerPakcks bzw LineShapes aus dem programm entfernt habe, da sie bei meinem bruder zu problemen führten, danach habe ich aber wieder am laptop mit der neuen versucht und es ging trotzdem nicht... da werd ich wohl nochma nachgehen, woran es nun lag!
-
HansB schrieb:
ich bin ja eigentlich auch der meinung das der fehler an der sqlite datenbank liegt!
Naja, du hast bzw. hattest zumindest definitiv ein Problem mit der Datenbank (bzw. genauer: der SQLite DLL). Natürlich könnte sein dass es da noch weitere Probleme gibt...
da ich in verschiedenen foren geschaut habe und es öfter probleme gibt, welche man durch einstellen eines bestimmten cpu anstatt von "anycpu" lösen sollte, bzw eine weitere software von.net installieren soll damit es funktioniert, doch dies hat noch nichts gebracht!
Die SQLite DLL beinhaltet "native" Code, und der kann nur in einen "passenden" Prozess geladen werden. D.h. native 32 Bit Code kann nur in einen 32 Bit Prozess geladen werden, und native 64 Bit Code nur in einen 64 Bit Prozess.
Der Prozess wird nun von der .NET Runtime anhand der .exe erzeugt, und zu dem Zeitpunkt wo dann die DLL geladen wird ist es schon zu spät, wenn die "Bittigkeit" des Prozesses nicht "passt". Die einfachste Möglichkeit das zu lösen, ist den Prozess auf 32 Bit festzunageln, und das macht man indem man das Projekt der .exe von "anycpu" auf "x86" umstellt.D.h. wenn du willst dass dein Programm auch auf 64 Bit Windows Versionen läuft, dann musst du die Einstellung auch auf "x86" lassen.
Nur dass dein Programm dann immer noch nicht läuft, heisst ja nicht dass die Einstellung nicht nötig wäre.Wenn das Thema erledigt ist, fehlt aber immer noch die MSVCR100.DLL:
http://www.microsoft.com/en-us/download/details.aspx?id=5555 (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=14632 (x64)Auch wichtig: das "Microsoft Visual C++ 2010 Redistributable Package" installiert nur Release-Versionen. Die SQLite DLL darf also nicht als Debug compiliert sein, sonst wird es nicht gehen.