Barguast Posted March 28, 2005 Share Posted March 28, 2005 (edited) I've just finished creating this program that lets you create and manage tables for use on these forums without having to understand the table code or worry about missing out a tag and screwing up an entire topic. I made it to help me maintain this topic after I 'misplaced' the formatted version of the code which made it very difficult to update. Given the number of PMs I receive asking how to code tables I'm hoping it'll prove useful to other members as well as myself. It's still a little rough around the edges (the program code especially) but it does the job pretty well. The program is written in C#, so you'll need to have the Microsoft .NET Framework installed to use it. Hopefully most people have this already since it is a pretty big download at roughly 23MB. To check whether or not you have it installed, click Start > Control Panel > Add / Remove Programs. If the item Microsoft .NET Framework is listed then you already have it installed, if not you can download it from here. I realise there are better / more appropriate platforms that this could've been written for, but it was primarily an exercise for teaching myself C#. I should also point out that this is only the second program I've written in this language - the first being a Notepad clone. This, coupled with the fact that it took just three days to finish means you shouldn't expect too much from it. Instructions Most of the program should be fairly self explanatory. Right-click any cell on the table to access the menu that allows cells, rows and columns to be inserted, deleted and highlighted. After selecting a cell, the text box at the bottom of the form can be used to edit the contents. You can resize the rows and columns of the table, although this is purely for convenience when designing the table - as with any table on these forums, the rows and columns will size themselves once posted. Once the table is ready, select the 'Generate Code' option from the Table menu. Click the 'Copy to Clipboard' button to copy the code which can be pasted into your post. At the moment, there are just two formatting options for the table code. You can switch between the bordered and un-bordered tables with the 'Borders' checkbox, and also remove any whitespace (ie. carriage returns) from the end of the cell contents with the 'Trim trailing whitespace' checkbox. Hold the CTRL key down to select multiple cells or hold the SHIFT key down to select a region between one cell and the currently selected cell. You can also combine the CTRL and SHIFT key to make more complex selections. Whenever multiple cells are selected, operations will affect all of the selected cells. For example, if two cells in different columns are selected, and you click the 'Delete Column' option, both of the columns will be deleted. The same goes for the highlight and resize column / row options. Existing table code can be imported via the 'Import Code' option which can be found in the File menu. The limitations of this option can be found in the Import Code dialog, but it should be capable of importing most tables found on the forum. Downloads Binary Source Version 2.0 Download (37KB, ZIP) (Link updated: 15/10/2012)) Download (88 KB, ZIP) (Down) Example Table File (2 KB, XML) (Down) An example table file which is shown in the screenshots below. This can be loaded via the File menu. Screenshots Version 2.0 Interface Code Preview Questions, Comments, etc. Edited October 18, 2012 by Barguast OG Viking and SWEETSAPRIK 2 Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/ Share on other sites More sharing options...
Canoxa Posted March 28, 2005 Share Posted March 28, 2005 Good Barguast. I wont download it because I dont have Frameworks. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2703128 Share on other sites More sharing options...
Toadyd Posted March 28, 2005 Share Posted March 28, 2005 Nice idea, and a very usable one aswell. I'm sure this will save people loads of time, and will be very much appreciated in the community. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2703303 Share on other sites More sharing options...
segosa Posted March 28, 2005 Share Posted March 28, 2005 Wow, that's very nice. Are you going to release the source code? Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2703629 Share on other sites More sharing options...
Daggdave Posted March 28, 2005 Share Posted March 28, 2005 holy sh*t, nice going barguast, I know many people will enjoy this thanks for it Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2703709 Share on other sites More sharing options...
PresidentKiller Posted March 28, 2005 Share Posted March 28, 2005 (edited) This is very useful. Thanks! Btw, C# is a good language, don't underestimate it. Edited March 28, 2005 by PresidentKiller Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2703748 Share on other sites More sharing options...
Ramirez Posted March 28, 2005 Share Posted March 28, 2005 Wow bloody impressive I must say. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2704348 Share on other sites More sharing options...
GTA3Freak-2001 Posted March 29, 2005 Share Posted March 29, 2005 Well this is probably the most useful tool on the forums, I can't stand trying to understand the table codes so this for me is great. I am sure there are hundreds others like me who avoid the table codes thus making this an extremly useful tool. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2705022 Share on other sites More sharing options...
Johnno Posted March 29, 2005 Share Posted March 29, 2005 It managed to get Freakeh posting in the depths of WD&P, so good work . Seriously though, it is great. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2705086 Share on other sites More sharing options...
Made Posted March 29, 2005 Share Posted March 29, 2005 Good going Barg it looks like a great program and I'm pretty sure it will save people loads of time. I'll get it when I have enough time to download the Microsoft .NET Framework. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2705857 Share on other sites More sharing options...
Barguast Posted March 29, 2005 Author Share Posted March 29, 2005 Wow, thanks for the positive feedback everyone. I've made a few minor alterations since I first posted this topic but they are mainly cosmetic. I can't stress enough how much of a rush job this program was. I'm thinking of re-doing it all from stratch - next time I might actually plan or design some of it before I start coding @Segosa - I've added the source code download to the first post Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2706216 Share on other sites More sharing options...
sanandreasman Posted March 29, 2005 Share Posted March 29, 2005 Can you use it on any forum? Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2706616 Share on other sites More sharing options...
Vin. Posted March 29, 2005 Share Posted March 29, 2005 Wow man, this is a good program. I just downloaded it and tried it. Very usefull. I myself know tableing, but the amount of people that ask me to do thier coding for them gets stressfull, but I remember back when I couldn't do it. Anyway, i'm rambling on, good work Bargaust. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2706617 Share on other sites More sharing options...
Stefaan Posted March 29, 2005 Share Posted March 29, 2005 (edited) Very nice work man, wil help great with my tabling needs. But, could you ad the 'color tag system' and bold different typos and image insertion, please? Oh and Table into TAble would be nice too.. Nonetheless, great work. Edited March 29, 2005 by Stefaan Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2706623 Share on other sites More sharing options...
meta187 Posted March 29, 2005 Share Posted March 29, 2005 This would have been nice to know oh say... 3 weeks ago before I gave up my sanity tableing the GTA4 board Index!!! *whispers* Thanks for your help on that BTW.. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2706635 Share on other sites More sharing options...
HD Rick Posted March 29, 2005 Share Posted March 29, 2005 Great idea Barg!!! Very impressive. Good thinking to pick something that can be useful to others while helping teach yourself. HD Rick aka Dr.X Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2706745 Share on other sites More sharing options...
vALKYR Posted March 29, 2005 Share Posted March 29, 2005 THIS IS FANTASTIC! One minor problem though ... this fellow takes up 14 MB of Runtime Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707088 Share on other sites More sharing options...
Octember Posted March 29, 2005 Share Posted March 29, 2005 f*ckingbadassbarg.i'llwhorethisoutnow.thanks!waddyausetomakeit?c++?thankyouthough.<!--SS--> o c t Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707111 Share on other sites More sharing options...
Barguast Posted March 29, 2005 Author Share Posted March 29, 2005 But, could you ad the 'color tag system' and bold different typos and image insertion, please?Oh and Table into TAble would be nice too.. I was planning on adding color / link / img / bold buttons, etc. That certainly won't be difficult to do. There are many parts of the code that I'm not happy with at all and I've already started rewriting most of it. Thanks again for all your comments, I'm glad you like it @vAL - That'll probably be the .NET framework - once it's loaded into memory it's shared between all programs that use it so it shouldn't really be a problem. @Octember - I used C# to code it. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707209 Share on other sites More sharing options...
Svip Posted March 29, 2005 Share Posted March 29, 2005 Any change of a Linux version? E.g. a text based version? Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707230 Share on other sites More sharing options...
Luke Posted March 29, 2005 Share Posted March 29, 2005 Any change of a Linux version? E.g. a text based version? This is a tool designed to help people who are new to the forums or don't understand how HTML tables work and therefore probobly don't understand the table tags here on GTAForums, making a linux version wouldn't honestly benefit that many people, since it's not the most popular OS, by far... On the same subject though, can programs written in C# would need the .NET Framework even run on Linux, since .NET is a Microsoft thing? Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707272 Share on other sites More sharing options...
Svip Posted March 29, 2005 Share Posted March 29, 2005 Any change of a Linux version? E.g. a text based version? This is a tool designed to help people who are new to the forums or don't understand how HTML tables work and therefore probobly don't understand the table tags here on GTAForums, making a linux version wouldn't honestly benefit that many people, since it's not the most popular OS, by far... On the same subject though, can programs written in C# would need the .NET Framework even run on Linux, since .NET is a Microsoft thing? I understand, but making it work in a textbased area would be kind of cool. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707603 Share on other sites More sharing options...
segosa Posted March 29, 2005 Share Posted March 29, 2005 Any change of a Linux version? E.g. a text based version? This is a tool designed to help people who are new to the forums or don't understand how HTML tables work and therefore probobly don't understand the table tags here on GTAForums, making a linux version wouldn't honestly benefit that many people, since it's not the most popular OS, by far... On the same subject though, can programs written in C# would need the .NET Framework even run on Linux, since .NET is a Microsoft thing? I understand, but making it work in a textbased area would be kind of cool. You're in luck. http://www.mono-project.com/Main_Page .NET Framework for Linux. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707629 Share on other sites More sharing options...
Barguast Posted March 29, 2005 Author Share Posted March 29, 2005 (edited) But, could you ad the 'color tag system' and bold different typos and image insertion, please? I've added 'Bold', 'Italics', 'Underline', 'Text Colour', 'Link', and 'Image' buttons which do pretty much what you'd expect - nothing special. The cells will still only display their contents and not format them (e.g. even if you change the text colour to red, the cell will still display '[color=FF0000]Text[/color]' rather than 'Text'). @Svip- I wouldn't have a clue about converting this to / compiling it for Linux, I'm afraid. Edited March 30, 2005 by Barguast Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2707981 Share on other sites More sharing options...
Y_Less Posted March 30, 2005 Share Posted March 30, 2005 Nice work. I may look into using this as I do tend to hardcode alot of big tables in Liberty City and it can get a bit tedious. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2708609 Share on other sites More sharing options...
Snow Racer Posted April 1, 2005 Share Posted April 1, 2005 little help? pic I have frameworks... what else I should get? Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2719854 Share on other sites More sharing options...
PresidentKiller Posted April 1, 2005 Share Posted April 1, 2005 little help?pic I have frameworks... what else I should get? Do you have the .NET Framework 1.1? Is it correctly installed? Some "buffer-overflow protection" programs make the .NET Framework do weird things. If you have any of those, you should disable them. Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2719941 Share on other sites More sharing options...
Luke2004 Posted April 6, 2005 Share Posted April 6, 2005 Nice Work. I guess the only downside, I need frameworks - it's a 23mb file and I'm on dialup Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2734761 Share on other sites More sharing options...
EmSixTeen Posted April 7, 2005 Share Posted April 7, 2005 Wow, nice one Barguast, I'll download and test it when I'm home. I've never had any problem with coding the tables, it gives me something to do when I'm bored haha, but this could be handy Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2736711 Share on other sites More sharing options...
EmSixTeen Posted April 8, 2005 Share Posted April 8, 2005 Should really have edited my above post, but whatever. This is a great program Barguast, it does everything you could want it to do, and seemingly more through handiness. Props to you for taking the time and putting the effort into making this for the community, it's appreciated. Even I'll use it Link to comment https://gtaforums.com/topic/185638-rel-gtaforums-table-code-generator/#findComment-2739024 Share on other sites More sharing options...
Recommended Posts