|
To go even more off topic…
Do Australian maps typical orient with North as up, or does it make more sense with South as up?
|
|
|
|
|
On serious maps, North is always up. There are some exceptions for small areas (e.g. building/lot plans) and joke maps.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I haven't read any of the other replies but ... it's certainly still quite alive as an extention if Adobe products, namely "Animate", are (the qualified is) accommodating of .swf imports. At least to me anyway, having struggled for years using PremierePro, AfterEffects, FlashPro, and any number of other 32-bit platforms while under stand-alone license perpetuity.
I learned much about controlling my temper after installing cheesey converters that contained malware also. So if someone wants to continue writing little apps to get around dead platforms and wants to dissemble themselves by sequestering stuff my anti-virus is incapable of detecting ... I say ... bring it on!
|
|
|
|
|
why not use gif or some existing library rather ...............................
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
SWFs can actually be smaller than gifs depending on what you're doing.
Not a lot of libraries for this on IoT. Probably somewhere around zero.
To err is human. Fortune favors the monsters.
|
|
|
|
|
i guess it depends on what hardware you program against Spine: Runtimes ... i'm seeing [Castle Game Engine](https://castle-engine.io etc for arm...
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
Yes. I have a bunch of games from back in the day ported to be played on computer (again back in the day). They are all swf.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
A bit of an aside because I've been watching you with your IoT threads: how/when did you get into IoT, and where would be a good place to start if I want to learn more?
Thanks for being you
|
|
|
|
|
D'awwww.
Well, what I would do is purchase an ESP32 off of Amazon or something.
Also get one of the Arduino starter kits (about $50-$70 for a decent one)
I like the Espressif reference boards. They are the makers of the ESP32 and they use better components in their reference boards than other manufacturers sometimes do in their boards. The model I'm pointing you to is a WROVER. The more typical one is the WROOM. They are the same chip, except the WROVER has an additional 4MB of PSRAM (basically slightly slowish RAM) in addition to the 512kB (300kB usable) of SRAM.
Once you have one of the those, Download VS Code if you haven't already and install the platformIO extension. Add a project (click the alien head on the left navbar, then click Open or get to it from the page that PIO welcome page that comes up), selecting node32s as the board type (it's a genericish ESP32 board that seems to work with all ESP32 boards). Select Arduino as the framework. It will take awhile the first time while it fetches everything, including the toolchain. be patient. it's not like that every time.
Also connect your ESP32 to a USB port.
Find a sensor in the starter kit you want to play with - like the ultrasonic distance finder or if you want to start small, an LED. I wouldn't use something complicated like the RF reader or accelerometer/gyro chip yet.
Anyway, once you find something you want to tinker with, google the part number (it's on the enclosed paper in the kit) along with ESP32 and you'll get a wiring guide and some sample code. =)
By the way, the ESP32 uses the concept of GPIOs. This # is the number you want to reference the pin by. Different boards may place them in slightly different places, but GPIO32 is *always* GPIO32 regardless of its location. Keep that in mind.
Edit: The kit will come with an Arduino board. I recommend throwing them in the trash but YMMV.
Here are some links to get you started.
ESP32 Pinout Reference: Which GPIO pins should you use? | Random Nerd Tutorials[^]
Arduino Starter Kit @ Amazon[^]
Espressif Devkit VE @ Amazon[^]
To err is human. Fortune favors the monsters.
|
|
|
|
|
Wow! Thank you so much!
|
|
|
|
|
You're welcome. If you get stuck on something or otherwise have questions feel free to ping me.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Unfortunately, I can't remember the site, but I was somewhere recently where the site notified me my flash player wasn't up to date. I use Chrome, so yeah.
|
|
|
|
|
I am converting a huge VB6 project to VB.net, VS2019.
I'm doing this mostly to learn VB.net. However, I don't want to refactor hundreds of thousands of lines of code. I have two questions.
First, have you ever done anything like this?
Second, do you know if anything that can do this? (Hopefully free).
ed
|
|
|
|
|
0: Find a download for VB 2008. It is the last version that has the VB6 migration tool.
1: Before migration, strip all the code except the event signatures from your forms/modules.
2: Paste back in the code, one event/proc at a time fixing things as you go.
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
I gave up on the migration tool and went to steps 1 and 2, which works even for VS 2022. The biggest differences are in error handling and file i/o.
Error handling - leave any On Error Resume Next statements alone. Convert all On Error Goto statements to Try Catch Finally blocks.
Learn the new File Handling system. If you ever wrote file IO in VBScript you're ahead of the game on this as it's very similar.
|
|
|
|
|
|
I use "Read all" and "Write all" text methods to read and write directories of files to convert strings, add custom markup, etc; if that's your cup of team (writing interpreters / translators).
Just keep iterating over a typical program until it passes compile; then do the whole project.
Manipulating Files and Directories - Visual Basic | Microsoft Docs
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
I hope they are paying you good money to do this and lots of it.
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
Sadly, I am doing it for myself.
Beware what you think you want...
|
|
|
|
|
In this case, here's what I've learned doing this:
1) Build the new UI first, making sure all the controls that have events in VB6 are given the same names.
2) Set the event handler shells for each control
3) In the VB6 application, find each event handler and copy/paste the code, but not the handler's signature lines
4) Go through the new application and fix all the errors.
5) Go through the new application again looking for file IO. Change this from the VB6 style to using the StreamReader and StreamWriter accounts.
6) One last pass - look for any On Error Goto ... statements and replace them with Try Catch Finally blocks. You can leave On Error Resume Next statements alone on the assumption that this is the correct thing to do in this case.
Compile and debug.
|
|
|
|
|
I read somewhere a long time ago that someone thought since you're converting to .Net, it would be far more efficient to move to C# instead of converting to vb.net. You get access to geometrically more example code snippets, and have a much larger pool of people to which you can pose questions.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
The solution is not free, but costs less than a port, and more importantly, it works, while a port may likely not.
Important question: What is "a huge application" for you?
How many man years of work?
The VB6 application I worked on was around 25 to 30 man years of work (3 to 5 devs from 1998 to 2014):
- 750 screens (.frm)
- 150 *classes" (.cls)
- 215 *modules* (.bas)
- 80 Crystal Reports
- 600 database tables
The VB6 application had reached the limits of a VB6 project: 32000 identifiers ("Out of Memory" errors in the VB6 IDE).
Most of the forms were more or less CRUD forms (add, edit, delete, etc.) for the corresponding database table, containing a lot of unnecessary copy/paste code.
A few forms (3) were more elaborated.
Technically, we needed to switch to another development tool, because we had reached the memory limits.
Then also, the potential clients needed a Web and Mobile app additionaly to the Desktop app.
More importantly, it was becoming hard to demo our old looking VB6 application.
In 2014, I proposed to rewrite the VB6 application with the DevExpress XAF "low code" framework.
The owner of the company I work for, didn't trust that it would be possible to rewrite the whole VB6 application for .NET.
He would have prefered to somehow "port" the VB6 app to VB.NET
With 100% certainty of failure for this, I would have quit the company.
So he accepted my proposition, and kept challenging me, by throwing at me additional projects while I was porting the legacy app.
To his surprise, all projects succeeded.
The new .NET application was developped in less than 2 years (from 2014 to 2016), covering most of our needs, ready for our customers:
- Complete rewrite in .NET.
- Available as a Desktop, Web and Mobile application.
- Modern look and feel.
- Incredibly flexible app, with many new features out of the box.
- Using the award wining UI components from an industry leader company.
modified 14-Mar-22 11:39am.
|
|
|
|
|
Hi All,
Well week 2 of monster commute done! I am now considered the anntena guru for the site as I got six anntena's tuned and ready to ship... Still no PC or email, so this weeks timesheet is not done! Also has anyone come across the Daves Garage channel on Boob Tube. An Ex-Microsoft guy who seems to tell the truth as to why things were done interesting.
|
|
|
|
|
Way to go guru! Thanks for reference, interesting guy.
Happy Saturday.
>64
Some days the dragon wins. Suck it up.
|
|
|
|
|
Yes, Dave Plumber, he created the Task Manager, he is our Windows users saviour!
|
|
|
|