Thomas shares makes

2006-07-18

Ancient VB6 stuff

jcs screenshot

Visual Basic used to be an easily accessible programming language for the windows platform. I spent quite some hours and a lot of creativity with it years ago, and the result is a bunch of half-finished programs. I started creating stuff with VB6 out of interest when I was a kid. I didn't have any programming experience, and literature I got from the library.

I compiled a list of the things I created in VB6 when I created my website years ago, and for nostalgic reasons I still keep it here. Be warned these programs are childish and useless. Fortunately there is none of its nasty code here to look at.

Jal Code Studio

Caution!

I did NOT put this software online with the intention of it being useful to anyone. It's an old, abandoned project with lots of bugs, bad usability and design. In fact, I am very sure it is useless. It is not suitable for use as a development environment for PIC's/JAL.

Jal Code Studio is a program I wrote in Visual Basic to edit and compile JAL code with ease. I has messy code and unfinished features, but it worked fine for me since I could change whatever I disliked on the fly :). I stopped improving it and it's not finished. If you're interested in it, try the binaries or the source code and use it as you like, finish it if you like, or just look at these fancy pictures and think 'whatever'.

Jal Code studio is a thorough rewrite (it was named JalSuite earlier on). It's based on some reused components but I've cleaned that code and made it more efficient. I have also added more functions, for example I removed the JAL toolbar (which was on the left side of the screen) and placed a better version in each document window (previously only the included files of the selected source file were shown).

Its binary was close to 5 megabytes (most of it being bitmaps!), I used to include lots of eye candy in the form of bitmaps.

The File Browser

jcs screenshot

This is the central point of the program, It's used to open your files. Behold a description I wrote down back in the days:

You can select the folder with the drivebox and directory list on the left and the file with the filebox on the right. To open the file you can double-click it, or use the 'open' icon on the toolbar. You can hide the directory list and drivebox by clicking the second icon on the toolbar of the file browser, | clicking it again will show the dirlist and drivebox again. The third icon is used to show/hide the comments for the files. The fourth file will start windows explorer in the folder the file browser is in. With the fifth icon you can set the comment for a file, a dialog box will show up asking you to enter (or change) the comment. With the last icon you can delete the file.

The Editor

jcs screenshot

So you've opened a file. You can copy/cut/paste/save with the icons on the main toolbar. Clicking on the blue "Included" button on the bottom of the document window, you can show the left box with the included files links (see below). If you want to compile this file, you click on "Set as Compiler Input", the window will become orange (so you can see later witch window is selected) and now you simply have to click the compile icon on the main toolbar (8th icon).

jcs screenshot

This image shows the editor when the document is selected as compiler input, and the "included" list is shown. (and the file is compiled)

jcs screenshot

Now I clicked one of the included files in the list, I can select to open this file from the folder the file is in, or the file in the library folder. If the file isn't found in the file folder or the library folder, the shortcut is displayed strike-through (on the image the file wasn't found in the folder my blink.jal was in)

jcs screenshot

I clicked on the compile button in the main toolbar, now the compiler result window pops up. You can view the last 4 lines of the log generated by JAL in the "View result tab", "Raw output" shows the textfile generated by JAL, and "View .asm" shows the .asm file JAL generated. You can also view the generated .hex file by clicking the "View .hex" tab. You can use the "Save log file" button to save the text in the compiler result textbox to a file.

jcs screenshot

This is the settings window, you can set the jal.exe arguments, the hex downloader syntax and other stuff.

Looking back, several years later...

Although for some purposes it might be suitable, it isn't finished-product quality. I couldn't code well at the moment I wrote it, so the explanation is obvious... writing such a program from scratch is a big job when you're new to programming. Syntax highlighting, is also something that is missing, replacing the rich text object by scintilla or a similar library would fix this the right way.

HTTtest

httpd experiment

This is a really basic web server, and works with html only and text pages, but binary transfers didn't work that well. (they work but don't comply to any standards). It also doesn't support multiple connections at once (it isn't multi threaded). I made it by analysing the data between a browser and a web server.

Servy

servy chat program

Pretty much a telnet server, at the time I didn't know how to open a pipe to a program (the command shell in that case) so I had it parse the incoming command and execute a subroutine depending on the command.

Lantool

lan tool 1
lan tool 2

You can send messages to other computers with lantool, and see which computers are online. The title bars you see aren't those of windows, I made them myself with some API call's and stuff to make the windows moveable by dragging the titlebar(that isn't actually the one produced by the windowmanager).

WinsockChat

lan tool 2

WinsockChat is a 2-person chat program that uses a telnet client like hyperterminal as client. The first person chats using the server program and the remote with the terminal emulator.

piXplorer

pixplorer1

Pixplorer is a program to browse through picture folders.

Features

  • A file tree on the left, for easily browsing through folders/drives
  • background of the view box can be changed (only bmp's in the pixplorer folder)
  • thumbnail view can be selected

Winamp frontend

winampfe

I once tried to make a program that monitors Winamp and displays the current playing song and time on an LCD. The result is a program - which works pretty well and does what I wanted it to do. I stopped to develop it (like all of my other vb-projects) after I realized it was nothing but a waste of time.

FastEject

inject
uitwerpen

Quite useless actually, but it's a little program (I spend more time on the graphics stuff than programming) that opens/closes your CD-tray when you click on the button.

Joke programs

These are joke programs, just made for scaring the hell out of people. I don't spread them, nobody except me has them. (had them actually) At the moment I'm not working on or using these things anymore. THESE AREN'T VIRUSES. I've never made anything that causes damage.

Destroy+

When you start destroy+ you see this window:

destroy plus

After a while it advertises that some files have been deleted:

destroy plus

But after a while you get some error messages like this one;

destroy plus

You get 6 of these error messages,-they're all different- then the program ends.

Mopcdeject

I know, I know cool name huh, I didn't try to find a good name for it, but that's not important. Mopcdeject is the best of all, it doesn't show a window.!

Mopcdeject options:

  • Eject the CD-ROM tray at a specified interval.
  • Disable ctrl-alt-del window (set to false during developing :).
  • Flash the keyboard lights.
  • Move the mouse cursor to the top of the screen every x ms.
  • Show a pop-up window with the text you choose every x ms.
  • Show an icon in the system tray.
  • Play a wave file (e.g. hateful laughter).

Liked something? Worked on something similar? Let me know what you think on Mastodon!
You can direct-message me, or mention me @thouters@hsnl.social
Follow me on Mastodon!