Getox Posted September 22, 2004 Posted September 22, 2004 Hi, im totaly new to .NET and all iv been doing is making browser frames to php pages to do stuff like show user IP and show a chat script, but now im working on a web browser and i want to add the start page into a .ini file so after the setup completes and when they open the program i want it to check the .ini file for the line "setup=false" and it will open a form(settings form) and will ask them to insert a start page and then when they click OK it will update the file to this "setup=true startpage=http://www.thepage.com" so can anyone please tell how to do this or even make the files to i can just add them to my program? thanks. Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
bri189a Posted September 22, 2004 Posted September 22, 2004 Use the System.IO.TextReader and System.IO.TextWriter, that will do everything you need to do.... your going to make a web browser?
Getox Posted September 22, 2004 Author Posted September 22, 2004 where would i put this ? Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
bri189a Posted September 23, 2004 Posted September 23, 2004 Wherever you need it in your code, probably in the Form Load event.
Getox Posted September 23, 2004 Author Posted September 23, 2004 ok, and then how do i make it write to the file itself ? Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
bri189a Posted September 23, 2004 Posted September 23, 2004 ok' date=' and then how do i make it write to the file itself ?[/quote'] It's a fairly common procedure outlined in several places in your help files.
Getox Posted September 23, 2004 Author Posted September 23, 2004 i cant be bothered reading help files. cant someone just tell me the code and where it goes? Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
bri189a Posted September 23, 2004 Posted September 23, 2004 i cant be bothered reading help files. That is the exact reason why myself, and doubt anyone else will help you any further than I have already.
EFileTahi-A Posted September 29, 2004 Posted September 29, 2004 i cant be bothered reading help files. no comments...
Getox Posted October 2, 2004 Author Posted October 2, 2004 no comments... then why bloody reply to the post? Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
*Experts* mutant Posted October 2, 2004 *Experts* Posted October 2, 2004 Because noone will do your work for you, without you at least trying to do it. People are generous enough to even look at your post using their free time so you should have some respect. With that attitude you the only way you will get this done is if you pay somebody.
Getox Posted October 3, 2004 Author Posted October 3, 2004 yeah but his post is just spam, what kinda idiot spams? Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
Jay1b Posted October 3, 2004 Posted October 3, 2004 This bloke is unreal! Getox if you want a solution i will provide one.....but at a cost for you now.
Recommended Posts