Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 01:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[VB] listobx einträge auch in stringcollection speichern

Discussion on [VB] listobx einträge auch in stringcollection speichern within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
[VB] listobx einträge auch in stringcollection speichern

Hi,

ich wollte mir mal meine listbox einträge in my.settings speichern mit der stringcollection. Das hinzufügen mach ich so:
PHP Code:
Dim ausgewählt As String
ausgewählt 
trvAusbau.SelectedNode.Text
'[...]
frmBauliste.lbxBauliste.Items.Add(ausgewählt)
My.Settings.Bauliste.Add(ausgewählt) 
Bekomme ich den error: "Configuration system failed to initialize"
Ich hab schon gegoogelt und bin nicht schlau geworden...bzw. hat mir nicht geholfen

MfG Ludder231
Ludder231 is offline  
Old 04/14/2013, 20:45   #2
 
elite*gold: 100
Join Date: Aug 2005
Posts: 595
Received Thanks: 208
Bei welchem Step genau kommt es ?
Würd jetzt darauf tippen das es mit dem My.Settings.... zusammenhängt.
Leider nochnie benutzt aber wenn ich es richtig im Kopf hab hab ich das schonmal gehört, wenn das configfile nicht richtig ist kommt sowas
dready is offline  
Old 04/14/2013, 20:47   #3
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
qkuh is offline  
Reply


Similar Threads Similar Threads
[VB.NET] Stringcollection in My.settings
03/03/2013 - .NET Languages - 6 Replies
Hi, ich versuche gerade seit einer Stunde eine String collection meine Settings zu bekommen. Schaffe es leider nicht. Bei google kommen nur ergebnisse für die normalen Sachen mit My.settings. Also ich hab ganz normal in My Project -> Einstellungen -> Name = "KategoriePfad" , Typ = "system.collection..." , Bereich = "benutzer" Dann der Code fürs Item adden My.Settings.KategoriePfad.Add("Test") My.Settings.Save()
Komische Log-Einträge
03/28/2012 - Minecraft - 4 Replies
12:07:12 Fetching addPacket for removed entity: CraftItem 12:07:12 Fetching addPacket for removed entity: CraftItem 12:07:12 Fetching addPacket for removed entity: CraftItem 12:07:12 Fetching addPacket for removed entity: CraftItem 12:07:12 Fetching addPacket for removed entity: CraftItem 12:07:12 Fetching addPacket for removed entity: CraftItem 12:07:14 Fetching addPacket for removed entity: CraftItem 12:07:14 Fetching addPacket for removed entity: CraftItem 12:07:14 Fetching...
Hilfe in Cinema 4d ? Datei Speichern mit transparentem hintergrund Speichern ?
09/29/2011 - elite*gold Trading - 10 Replies
^this. Melde euch bei mir, wenn es klappt, bekommt ihr bisschen egold.



All times are GMT +1. The time now is 01:17.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.