New
#1
I see this when I try to run it:
BTW, have fun with the control characters 0 thru 31
http://www.robelle.com/smugbook/ascii.html
Sorry, I uploaded the Debug version of the program, and not the Release version. The correct version should be uploaded now.
I was thinking of writing the program up as a Windows program instead of a DOS program eventually.
I've got another program published in this sub section too.
Yep - that version works. Writing it in .NET might be best and auto-select the answer so that it is ready to copy/paste like the tool below.
Since I don't know how to program, I would have to script it via AutoIt:
It took me much longer to decide on the text of the prompts than to knock out the code.Code:Opt ("TrayIconDebug", 1) While 1 $var = InputBox("Converter", "Type one character. Click on OK to convert." & _ @CR & @CR & "(Or just press Enter to convert.)") If @error = 1 Then Exit If $var = "" Then ContinueLoop InputBox("Converter", $var & " as DEC ASCIIcode." & _ @CR & @CR & "(Ready to copy or cut and paste.)" & _ @CR & @CR & "Press Enter to continue.", Asc($var)) If @error = 1 Then Exit WEnd
If you compile that script - some antivirus apps might complain:
https://www.virustotal.com/en/file/0...is/1375540873/
Ya just can't make some AV companies understand :-(
I usually don't compile my scripts - I just run them as text files.
None printable characters won't look so nice in the second window - but I did not want to deal with that since I've no particular need to use or distribute this script.
Your file compare app seems helpful, but I use WinMerge.
I usually write it .NET, I'll finish writing the DOS version and then start looking into the GUI version of the program.
Looks good. Enjoy your coding
Thanks, I'll post it back here when it's completed. It'll probably be done today :)
Download is below:
ASCII Converter V2 - Added Features:
- Added UI
- Added support for a-z, 0-9 and special characters such ? etc.
- Note: \ is added as a label on the UI, since the compiler gives an error that the \ is a newline character.
Works as advertized
Was this an assignment from some class or did you write it because you need a tool to do this?