Edited by click-click, 29 April 2012 - 09:42 AM.
ViroMan's Beta Application
Posted 29 April 2012 - 09:26 AM
Posted 29 April 2012 - 01:35 PM
I disabled the maximize because I saw no reason to stretch the data across the entire screen(and I didn't make a function to do that either).
The data is indeed being sorted by the text in the columns. In what way is it wrong? Do you mean by the way ".NET" shows at the top or the size column. They use a built in "bubble sort" to sort the list so naturally some special characters have a lower ASCII value then letters do. I didn't bother to make a separate function for the size column. Although hitting sort on the size does look terrible so I might do something about that.
Ok I think I figured your command line problem. You might have gave it a bad command line. Apup2 is similar to apup1 in many of the commands except one. /log doesn't work the same ... here
/LOG:[1-2] - APUP2 Already Creates A Simple Log File. You Can Ask For A More Verbose Log File Though.
/LOG:1 - More Detailed Log.
/LOG:2 - A Debug Log. It WILL Fill Your Log File With Lots Of Data.
/LISTFILE:[location] - Use This If You Have A Different List File To Read Updates From.
/LOCALSCRIPT:[location] - If You Have A Script You Want To Test, Use This.
/AUTO - This Will Auto Download The Items You Selected Last Time.
as always don't include the [ ]'s
huh... I just realized I didn't put a /? in or /help in for the command lines to display the help list. The help list only shows in the log when do something wrong.... I will have to see if I can output to the command window the help list. I have never made an windows application display things in a command window. console apps sure but, not windows apps.
while im at it ... I will see about throwing a few errorcodes in to allow easy automation.
Edited by ViroMan, 30 April 2012 - 12:05 AM.
Posted 30 April 2012 - 02:31 AM
0 No errors
1 Logging Error (Couldn't Create Log File) <--- Not enough space, current log file is read only(how did that happen?), you ran apup2 from network location but, it does not have permission to write to that location, or you are running it from a CD/DVD which you shouldn't be doing.
2 Bad Command Line (Currently Terminates The Program)
3 Environment Detection Error (Registry Error Or Can't Detect Folder Locations) <--- not enough permissions to run...
4 Missing Files Needed To Run
5 Download Errors <--- possible firewall issues
6 Unknown Errors
7 User Aborted Operations
8 Finished With User Exit (No Errors)
9 Auto Finished All operations
Any other error codes you guys might need?
Edited by ViroMan, 30 April 2012 - 02:37 AM.
Posted 30 April 2012 - 02:50 AM
Posted 30 April 2012 - 03:01 AM
Normally its in simple mode... extra mode is fine too that will give more information but, debug mode will make 200k+ size log files.
Edited by ViroMan, 30 April 2012 - 03:03 AM.
Posted 30 April 2012 - 07:55 AM
As far as sorting goes, it makes no sense to sort on text since the results are of no real value, at least not for me . If I want to see what components were most recently updated, its not very apparent after sorting. The same goes for size. It might be easiest to just change the text so it sorts correctly such as yyyy-mm-dd, and nnnn.nn MB. Also, it would be nice if APUP would flip-flop between ascending and descending when clicking on the column. This is how most programs work that allow for column sorting.
Edited by click-click, 30 April 2012 - 07:57 AM.
Posted 30 April 2012 - 08:50 AM
I will look into setting up your suggestions too.
Ha... I found the mistake in the command line checking... fixed. Still looking into the screen size error and adding your suggestions so no update.
Edited by ViroMan, 30 April 2012 - 09:01 AM.
Posted 30 April 2012 - 03:49 PM
dpi is the problem. Not all of us have prefect eyesight and can run at 96 dpi
Win 7 allows 96 dpi (which I can't read), 120 dpi - which is ok (APUPpanel are fine), 144 dpi (which I use), and 192 dpi (which I may get to one day).
Now that I know whaat the problem is no problem (have other programs that shooow same effects), I can quickly switch dpi. Could this be happening only with x86 programs??
Posted 30 April 2012 - 10:35 PM
Hmm... I can't output any text to the console if run from there due to the applications core releasing console control as soon as it is finished loading into memory. Its not something I can modify due to the way borland builder handles things. Unless I create a console app that you run that will call apup2 and will capture strings from apup2. I am not going to do that unless there are people who want such a thing. even if the want such a thing I could just make a console version of apup2 for them to run.
edit2: This also means I can't give return errorcodes when the application returns because it has already release the console. I will continue to look into a way to solve this.
Edited by ViroMan, 30 April 2012 - 11:55 PM.
Posted 01 May 2012 - 12:00 AM
I may have figured out a way to solve a few of the problems... stand by....
Edited by ViroMan, 01 May 2012 - 12:14 AM.
Posted 01 May 2012 - 01:22 AM
The one with apup2 injected into it can output to the console because it doesn't let go of it. If you run the console apup2 not from within a console, a console box will pop up that will display anything that it wants to show.
Actually I might just cut out the GUI nearly completely for those who want a separate app to automate downloading and just provide the download window. These changes can make it into the new AP as well so I don't mind working on it now if you guys want them.
Posted 01 May 2012 - 08:02 AM
Starting from a cmd prompt works fine now. I would suggest allowing /log to be a valid command since it's mentioned in the help, even though it's the default. I don't understand the apup2console.exe. When i run that, I still get the GUI + a cmd window saying console enabled. How is this supposed to work?
Edited by click-click, 01 May 2012 - 08:20 AM.
Posted 01 May 2012 - 09:52 AM
apup2console still shows the gui for now because I still havn't decided if im going to rip out most of the gui for the console mode yet. In console mode it will only run in /auto. Meaning it will run on the preselected items you have chosen in the past(with apup2(will use the ini file)) or if you specify a script in the command line. In other words you make the connection setting and everything else in apup2 and then you can run apup2console in full auto. I will probably leave in the download window to show progress however I might even get rid of that to allow for full console only mode. Im unsure as to the direction I wish to go in that regard.
In hind sight I probably shouldn't have let you guys download the console version as its just a mock up really. It does show that I got the console working but, you didn't need to see that really.
Edited by ViroMan, 01 May 2012 - 09:55 AM.
Posted 01 May 2012 - 06:50 PM
Also. would prefer making the APUP window itself larger rather than using the left/right and up/down scroll bars.
Posted 01 May 2012 - 09:03 PM
I will turn off the resize code and put it out so that you can at least use it till I find a solution.
Edited by ViroMan, 01 May 2012 - 09:05 PM.
Posted 01 May 2012 - 09:29 PM
Posted 03 May 2012 - 03:13 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users