c+ config file? Programming Software Development by dondulla …--> </sharedListeners> </system.diagnostics> <userSettings> <Blue2_VB.My.MySettings> <setting name="…; </setting> </Blue2_VB.My.MySettings> </userSettings> <applicationSettings> <Blue2_VB.My.MySettings> … Messed my settings up VS 2010 Programming Software Development by Suzie999 …> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2…/> </sectionGroup> </configSections> <userSettings> <TestApp.Properties.Settings> <setting name=&… Re: Messed my settings up VS 2010 Programming Software Development by Suzie999 …; encoding="utf-8"?> <configuration> <userSettings> <TestApp.Properties.Settings> <setting name="…> </setting> </TestApp.Properties.Settings> </userSettings> </configuration> I deleted it, and now my… Reading and writing external files Programming Software Development by CrazyPixel …{ char readUserString[30]; FILE * readUserSettings; readUserSettings = fopen("userSettings.txt", "r"); if(readUserSettings != NULL) {…{ char setUserString[30]; FILE * setUserSettings; setUserSettings = fopen("userSettings.txt", "w"); if(setUserSettings != NULL) {… Call set time out from back code Programming Web Development by vikrant.cornelio …public void create_cookies() { HttpCookie mycookies = new HttpCookie("UserSettings"); mycookies["User"] = "Visited&… public void check_cookies() { if (Request.Cookies["UserSettings"] != null) { Response.Write("Cookies not… User Accounts (Cannot Access!!) Hardware and Software Microsoft Windows by DuneRider650 … back way like Run - control userpasswords2 then go in to usersettings and it says i do not have permission to access… Trouble with unbound checkboxes in DataGridView Programming Software Development by steveneaster … into a CSV string, which is then saved in the usersettings. All this works fine. PROBLEM AREA: I'm trying to… Re: Using a tree view and panel to display user controls Programming Software Development by zachattack05 …] private void Main_Load(object sender, EventArgs e) { treeViewSettings.ExpandAll(); UserSettings = new LocalSettings(); UserSettings = UserSettings.Load(); //General Tree panelContent.Controls.Add(new General.Root… Re: Encrypting objects, not strings...is this possible? Programming Software Development by zachattack05 … NewUserSettings.Save(NewUserSettings); //load settings (FOR DEBUG OF ENCRYPTION ONLY) UserSettings = UserSettings.Load(); //open the setup wizard //SplashScreen.labelSplashActivity.Text = "Starting… Re: My.Settings question in Visual Studio 2010 Programming Software Development by GeekByChoiCe …; encoding="utf-8"?> <configuration> <userSettings> <WindowsApplication1.My.MySettings> <setting name="… /> </setting> </WindowsApplication1.My.MySettings> </userSettings> </configuration> [/CODE] I would suggest you create… Re: My.Settings question in Visual Studio 2010 Programming Software Development by jwelsh …; encoding="utf-8"?> <configuration> <userSettings> <WindowsApplication1.My.MySettings> <setting name="… /> </setting> </WindowsApplication1.My.MySettings> </userSettings> </configuration> [/CODE] I would suggest you create… Re: Cannot delete cookies Programming Web Development by sandybarasker if (Request.Cookies["UserSettings"] != null) { HttpCookie myCookie = new HttpCookie("UserSettings"); myCookie.Expires = DateTime.Now.AddDays(-1d); Response.Cookies.Add(myCookie); } this code is working fine for delete cookies Re: Data Grid View Programming Software Development by TnTinMN … just eliminates that step and we make the built-in usersettings stuff do the saving and retrieval of the data. We… Re: VB "saves" (textboxes) Programming Software Development by TnTinMN … simplest way to store the textbox is to use "UserSettings". Go to Project->Properties and select the Settings… Re: c+ config file? Programming Software Development by NicAx64 isn't there any documentation for this configuration file ? Unless we have to reverse engineer that program in source code level ( if you have the source code). The best thing is that email the ex-employee unless you have to fully reverse engineer this. Re: Messed my settings up VS 2010 Programming Software Development by DaveAmour Any chance of getting the entire app - zipped maybe? Re: Messed my settings up VS 2010 Programming Software Development by Suzie999 I'm really not there yet. If I add a line of code to set the CsvPath variable like this. Properties.Settings settings = new Properties.Settings(); settings.CsvPath = "value"; string s = settings.CsvPath; if (!String.IsNullOrEmpty(s)) { MessageBox.… Re: Messed my settings up VS 2010 Programming Software Development by pritaeas The app.config you showed is that the one in your solution, or the one in your debug output folder? If that file is not overwritten when built, the running code may still have the old value. Either manually check, or do a "clean solution" to remove all old files. Re: Messed my settings up VS 2010 Programming Software Development by Suzie999 For reference here is link to good and clear explanation of app and user settings. https://msdn.microsoft.com/en-us/library/k4s6c3a0?v=vs.100.aspx Re: Reading and writing external files Programming Software Development by daviddoria I bet you can demonstrate the same problem in < 30 lines (down from 265 :) ) Re: Reading and writing external files Programming Software Development by jonsca As an aside: never use gets. You can input as many characters as you want, regardless of the size of the buffer, potentially knocking a hole into another part of your program. I had flagged this yesterday to go into C (as the only Cplusplussy thing about it is the [icode] using namespace std; [/icode]. Can you be more specific about what … Re: Reading and writing external files Programming Software Development by seanbp Like jonsca said, never use gets. It easily overflows. I don't know what your system calls are doing. I also noticed your errors are passing silently. What specific functions aren't being called or aren't running properly? Re: Reading and writing external files Programming Software Development by CrazyPixel First, I'd like to thank you all for replying. The functions that are not being called are changeUser, checkUser, changeGreet and checkGreet. The system line is supposed to change the color of the console's background by typing "color ##", as mentioned in [URL="http://www.daniweb.com/forums/thread100744.html"]here[/URL]. I … Re: Reading and writing external files Programming Software Development by jonsca [quote]I tried using scanf, but it wouldn't work (crashed constantly). And the only option I knew was gets(); [/quote] Well, if you're going to make this a C++ program you can use iostream's methods (cin, etc). Since you're doing this for personal use only, you could switch all of your C-strings to std::strings. What I'm also getting at is that … Re: Call set time out from back code Programming Web Development by hericles Your settimeout is firing everytime because it isn't wrapped in a function that needs to be called. It's just sitting there waiting to fire when that script block is reached. It is the same as putting alert('hi'); inside script tags. The alert will appear every time. Create a function, with a name, that contains you settimeout and call that from … Re: User Accounts (Cannot Access!!) Hardware and Software Microsoft Windows by alc6379 Try booting into Safe Mode, and actually logging in as the Administrator account-- that may yield better results. If not, you've probably got some spyware that has messed around with your setup. If that seems to have occurred, cut to the chase-- back up your data, and reinstall the OS. Re: Trouble with unbound checkboxes in DataGridView Programming Software Development by cellus205 Hmm weird, looks like it should work. Instead of [code] row.Cells(1).Value = True [/code] try [code] Grid1.Rows.Item(row.Index).Cells(1).Value = True [/code] Re: Trouble with unbound checkboxes in DataGridView Programming Software Development by steveneaster No go there. both code samples "work" in the sense that the value is being assigned [I]true[/I], but it is not visually checking the checkbox. I've tried adding stuff like dg.refresh, row.cell(1).Update, etc. (basically anything I can think of or lookup) but nothing is checking the box. Is there some kind of command that will force it to … Re: Trouble with unbound checkboxes in DataGridView Programming Software Development by steveneaster Question: I notice theres two property marked TrueValue and FalseValue. By default they are blank, but perhaps I should set them to something? I'm going to experiment a bit and see if I can get it working with those. Re: Trouble with unbound checkboxes in DataGridView Programming Software Development by steveneaster Nope, no difference. Tried setting the truevalue/falsevalue to True/False and 1/0... no change.