Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

MineralMan

(150,451 posts)
43. Yes, I did write for Compute!
Wed Mar 9, 2022, 12:57 PM
Mar 2022

Also for PC World, for many years, as a contributing editor.

I used Visual Basic for all of my Windows apps. Prior to Windows, I programmed in QuickBasic, a compiled Basic program.

I loved Basic. It was a language that I understood as well as English, really. Visual Basic made it easy to design user interfaces, and Windows was based on an interface user action concept. So, you could draw up an interface and then use Basic to program what the application should do when the user did something on the interface. It was an easy system to understand and Basic is easy to code in, or was for me.

It was like the interface was a big program loop, just waiting for the user to do something. Click here and a coded routine would do something connected with that interface object.

There were lots of tricky ways you could leverage those interface objects. For example, you could sort a list in a VB List box instantly and invisibly. You'd just make the List box invisible, do the sort, which was just a flag on the List box, and magically make it visible again, all sorted. In fact, you could duplicate the list box virtually, do the sort and then switch visible and invisible boxes without the user even being aware. There was no need do code a sorting routine.

Another cool thing you could do was create matrix string variables linked to those list boxes. One of my applications had a simple database in it. All fields in the database were stored in memory as matrix variables, so operations on the database were all done in invisible text boxes, out of sight and with minimal coding requirements. So, sorting the entire database could be coded by sorting the matrices for the list boxes and then making them visible after the sort, rather than dealing with a lot of code.

Unorthodox, but highly functional and fast.

I used short-cut trickery to do a lot of things in my applications, including graphical animations and positioning and printing graphics, which had no actual method to do that internal to the Visual Basic program. As I figured those tricks out, I used to share source code on Visual Basic forums to show others how to do things you weren't supposed to be able to do in Visual Basic.

The graphics animation subroutine, for example, required code that ran during initial program loading that measured the speed of the processor, since the Visual Basic timing tools weren't finely-grained enough. The speed routine provided a number matched to .01 seconds of the processor timing that could be used in an empty loop to provide a precise delay. Then, all you had to do was to load all of the animation images into a stack of invisible graphics boxes, and then cycle through the animation by making the appropriate image box visible in sequence, using an empty loop based on a multiple of that timing number to delay the animation loop process. A kludge? Absolutely, but it worked perfectly, and only required a few lines of code. Why did I do that? Because the opening splash screen in all of my apps had a winking teddy bear image that was the OsoSoft company logo. "Oso" is Spanish for "bear." Hilarious stuff.

Recommendations

0 members have recommended this reply (displayed in chronological order):

This message was self-deleted by its author [View all] Mary in S. Carolina Mar 2022 OP
Not this shit again. Your idea is already exploded in the other thread Bernardo de La Paz Mar 2022 #1
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #5
Economies of scale EYESORE 9001 Mar 2022 #2
I've started a few companies, including a technical consultancy dumbcat Mar 2022 #3
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #4
That is the answer you were given multiple times over in the other thread. . . . nt Bernardo de La Paz Mar 2022 #9
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #16
So, you chose money and think that trumps any argument. Nope. And here's the same answer Bernardo de La Paz Mar 2022 #39
"but I can." So do it. You can't and you won't. . . . nt Bernardo de La Paz Mar 2022 #40
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #46
You know nothing about me yet you think you know everything about me and manufacturing. . . nt Bernardo de La Paz Mar 2022 #49
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #53
Here's one example showing you know nothing about high tech manufacturing Bernardo de La Paz Mar 2022 #55
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #57
You can't point to any post that shows jealousy for your self-acclaimed "wealth" Bernardo de La Paz Mar 2022 #50
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #56
Again you attack the person with bogus statements about them. . . . nt Bernardo de La Paz Mar 2022 #59
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #65
Keep asking until you get the answer you want!! LOL USALiberal Mar 2022 #6
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #11
I have been an entrepreneur since 1974. MineralMan Mar 2022 #7
First PC? Mine was a Commodore 64! Nt USALiberal Mar 2022 #8
I didn't get a PC until 1984. MineralMan Mar 2022 #12
My first computer class used the IBM 1620 in high school.... USALiberal Mar 2022 #36
Yes, I did write for Compute! MineralMan Mar 2022 #43
That is really very interesting..... USALiberal Mar 2022 #51
Yeah, I met Bill Gates a couple of times, too. MineralMan Mar 2022 #58
That is a great story. I do really miss those early days. USALiberal Mar 2022 #60
Yes, I miss them too. It was an exciting time, MineralMan Mar 2022 #62
Damn! Another FORTRAN on an IBM 1620 alumni dumbcat Mar 2022 #45
Ha! So, there we were, pioneering back in the 60s. MineralMan Mar 2022 #47
I Remember to 1620 had sense Switches. You could code to see their status. USALiberal Mar 2022 #52
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #13
OK. MineralMan Mar 2022 #14
In her head - I thought you said😂 we can do it Mar 2022 #23
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #25
Still female, live downtown Rehoboth Beach we can do it Mar 2022 #31
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #32
You first. I can walk by President Biden's house in half hour. we can do it Mar 2022 #33
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #37
Downtown Rehoboth, not 19971 zip. Reading for comprehension. we can do it Mar 2022 #38
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #41
Zillow is a crap site that rips off realtors. we can do it Mar 2022 #42
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #44
People who live here know the difference. we can do it Mar 2022 #54
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #24
Will you tell us if your businesses dumbcat Mar 2022 #29
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #30
I've run a couple of similar one-man software or web operations lagomorph777 Mar 2022 #21
Exactly. Competing with large manufacturers with factories MineralMan Mar 2022 #28
I have worked in electronic contract manufacturing for 25 years WA-03 Democrat Mar 2022 #10
Sure, why not? LuckyCharms Mar 2022 #15
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #17
You're welcome, Mary. Pls see my edit as well. LuckyCharms Mar 2022 #19
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #26
Yes to bringing it back, no to small scale jmowreader Mar 2022 #18
Reverse the process by which they were offshored... Hugin Mar 2022 #20
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #27
I aim to please. Hugin Mar 2022 #34
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #35
Some links of interest where a DYI phone can be accomplished... Hugin Mar 2022 #70
The only excess fab facilities are for obsolete chip technology. . . . nt Bernardo de La Paz Mar 2022 #69
A simple memory chip plant requires an investment of billions of dollars Pobeka Mar 2022 #22
This thread is not going any better than your other one dumbcat Mar 2022 #48
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #63
Think what you will dumbcat Mar 2022 #64
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #66
Food fight! Although I actually do know how to make this plan work... hunter Mar 2022 #68
Post removed Post removed Mar 2022 #71
Which state will be our dumpng site? lame54 Mar 2022 #61
You can look at this logically WarGamer Mar 2022 #67
This message was self-deleted by its author Mary in S. Carolina Mar 2022 #72
It's hard to tell if Purism is dumb, because... LudwigPastorius Mar 2022 #73
Yeah, so? WarGamer Mar 2022 #74
Page top: "The Librem 5 is expecting long shipping delays due to parts procurement lead-times, ..." Emrys Mar 2022 #75
Latest Discussions»General Discussion»This message was self-del...»Reply #43