hello guys i have a question because in my I.O.File i use this to save the data in the listview in a c:\test.txt but the problem is that it only save one data and every time i click the save the previous data that i save is deleted and it change the new one that i save...and also when i click the remove in the listview it will also delete the data that save in the c:\test.txt and the format should like this First name | lastname | address | rae alanah new york john smith los angeles here the …

Member Avatar
Member Avatar
+0 forum 5

I am making a new program (obviously). And I need some help. In this program, I have up to 23 text boxes. They are meant to edit a file. Not any type of file, just a file, with no extensions. There is text inside the file though. I have tried opening the file in notepad, so I know it works. When I open it in notepad, it displays the text, then you can save it back to that same file, without changing the file type (as you all know, like editing an ini file). I want this program to have …

Member Avatar
Member Avatar
+0 forum 8

Hi, I have a method in my application called "Save as" which Saves the image of my application on computer my into a file. I used the JFileChooser to let the users choose their desired location for saving the file. The problem is unless user explicitly types in the file format, it saves the file with no extension. and, how can i get extension from the File Type drop menu for saving my image file. [CODE] ImageIO.write(image,extension,file); [/CODE] i only know how to associate FileFilter to JFileChooser. and, this will show the Extension in File Type drop down Menu. but …

Member Avatar
Member Avatar
+0 forum 1

Hi everyone, I have a modal dialog box which is called by the main thread. This dialog has no parent (appears at center screen, overlapped, and shown in taskbar). When the user clicks "Save" in the dialog, the dialog procedure receives the command and displays a save file dialog (GetSaveFileName). The problem is that the second dialog (Save Dialog) doesn't work at all. It can't be activated, and seems kind of frozen (can't be closed, buttons and scroll bars are frozen). Here's my code: [code=c++] int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { DialogBox(hInstance, MAKEINTRESOURCE(101), NULL, DialogProc); …

Member Avatar
Member Avatar
+1 forum 2

The End.