Discussion:
Read ini File into Textbox VB .net 2005
(too old to reply)
DJ MC
2009-01-19 15:30:10 UTC
Permalink
Hi,
ive been trolling google for a while now and cannot find my answer so
im hoping someone can help me.
Ive had previous experience with VBA in excel and made a couple of
programs, im now given the task of understanding visual studio 2005
and creating a program with this software. i feel my knowledge of
VB .net is next to none as whatever i type just isnt working :(

Anyways...i have a form with 13 textboxes already populated, what i
need to do is whenever the form is loaded it opens a .ini file and
reads the lines and populates each textbox accordingly, this is
my .ini file:
[Textbox Values]
Frm01=IR-CIS-CIS300MR
Frm02=request
Frm03=submit
Frm04=XML
Frm05=0
Frm06=JA4J5W587VHP
Frm07=clear
Frm08=manners1
Frm09=663
Frm10=GZ51089
Frm11=GBP
Frm12=1770124257
Frm14=663PK00149555
Eric Moreau
2009-01-22 18:06:50 UTC
Permalink
have a look at
http://www.emoreau.com/Entries/Articles/2003/05/Applications-Settings-in-VBNet.aspx
--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (http://www.emoreau.com)
Membre du réseau .NET Expertise (www.dotnet-expertise.com)
Post by DJ MC
Hi,
ive been trolling google for a while now and cannot find my answer so
im hoping someone can help me.
Ive had previous experience with VBA in excel and made a couple of
programs, im now given the task of understanding visual studio 2005
and creating a program with this software. i feel my knowledge of
VB .net is next to none as whatever i type just isnt working :(
Anyways...i have a form with 13 textboxes already populated, what i
need to do is whenever the form is loaded it opens a .ini file and
reads the lines and populates each textbox accordingly, this is
[Textbox Values]
Frm01=IR-CIS-CIS300MR
Frm02=request
Frm03=submit
Frm04=XML
Frm05=0
Frm06=JA4J5W587VHP
Frm07=clear
Frm08=manners1
Frm09=663
Frm10=GZ51089
Frm11=GBP
Frm12=1770124257
Frm14=663PK00149555
Loading...