rproffitt 2,701 https://5calls.org Moderator

Browser updates all the time. My view is to not modify settings so I am more likely to see what the majority out there see.
That said, do you test against a few browsers on Android, iOS, Apple OS, Windows and Linux?

I'll reveal that last year saw the end of any Apple products for me as Apple could not resolve an Apple account issue. So no more Apple gear for me or our office so I have to let others test for iOS now.

rproffitt 2,701 https://5calls.org Moderator

This is a change in how it worked before. Why is not so much a mystery now but your site would be the only site I would change the setting from stock for.

The default behavior in Chrome and Opera is awful on Daniweb. Again it's the only site I've seen this happen on.

I see no good reason to animate/scroll. The visual effect is horrible to say the least.

PS. chrome://flags/#smooth-scrolling does fix it but why is this up to us to fix your site behavior?

rproffitt 2,701 https://5calls.org Moderator

To me, scrolling is not animation. Odd that Firefox jumps to the reply, but Opera and Chrome scrolls to the reply.

rproffitt 2,701 https://5calls.org Moderator

I was using an example. If the post is 16 hours old and the last reply is 2 hours ago, I click on the 2 hours link and the page opens and it SCROLLS down to the 2 hour old discussion. This is in Opera, Chrome but works fine (jumps to 2 hour old post) in FireFox.

As to which post, it's ALL posts with enough replies.

rproffitt 2,701 https://5calls.org Moderator

No. In the past it would jump to the 2 hour ago reply. As it is, this is a horrible effect and if it stays will mean some will leave due to poor design choices.

Let me make it simple. It's awful.

rproffitt 2,701 https://5calls.org Moderator

I sure hope the current behavior is a bug and not by design. When I click on the 2 hour ago of a latest reply I see it start at the top and scroll all the way to bottom.

That's horrible.

rproffitt 2,701 https://5calls.org Moderator

Thanks Dani and Jwenting. I do want to share I had an encounter where a green web master was working hard on pagination and was trying to paginate the million returned rows from a SQL query. Maybe a short discussion on how to fetch a reasonable number of rows starting at which page (index?) is needed.

However, with a million records and say 100 per page that's 10,000 pages which I doubt the end user really wants that interface. Maybe another discussion about offering the user some option to search or refine the SQL search would also be needed.

rproffitt 2,701 https://5calls.org Moderator

Tell me why I should and I might. Was there an error you need sorting out?

rproffitt 2,701 https://5calls.org Moderator

What display can show that many rows? Even the biggest JumboTron I've seen won't display more than a thousand rows!

rproffitt 2,701 https://5calls.org Moderator

"only way to store value changed are only when the other form (form11) is in the closing part."

It's your code and design. You can add code to store values when you wish. It's your design and code.

For example, the values could exist in some array and without using any forms, the timer can fire, code runs to look at the values and take action as you see fit.

I can imagine if a new programmer only worked with forms, they may only think in ways that forms work and not as an app that doesn't use forms.

rproffitt 2,701 https://5calls.org Moderator

Sorry I wish to clarify my comment about events. An app with no forms can process events, pop up notifications and more. But there are no "form" events.

Since I only know what you reveal and not what this app needs to do, any guess may be a bad one.

rproffitt 2,701 https://5calls.org Moderator

OK, what if you redesign this to require NO FORMs? If a form isn't open, then it doesn't exist yet so no way to process the events.

To me you are describing the old service type app. No forms required. Then again this feels like I'm one of the blind men being shown an elephant. I can't guess what your app does yet or why it needs forms.

rproffitt 2,701 https://5calls.org Moderator

I disagree. I don't consider using the Amazon or other ecommerce mobile apps a plus while shopping. I wait till I get on my computer at home.

rproffitt 2,701 https://5calls.org Moderator

@Reverend Jim. Our system is able to overcome price controls and waste tax dollars with ease. Example: https://abc7news.com/san-mateo-ppe-waste-dan-noyes-benito-county-shredded-face-masks/11489391/

The cost for that incident alone is 7 to over 10 million dollars of PPE which has always been in short supply.

Update: The Marines have been called in to sort the PPE into the trash and what will be salvaged.

rproffitt 2,701 https://5calls.org Moderator

@jwenting. My wife called COVID mild at first but digging into the numbers we have 1 to 3 percent mortality (all ages) and then it gets worse if you look at older people.

Next we have LONG COVID where you can be saddled with health issues for years if not the rest of your life.

Then we have those the die, not of COVID but because their organ transplant or other surgery was delayed because the hospitals are full.

COVID is not mild from my view. We have two nurses in our immediate family and the stories started early and never stopped.

rproffitt 2,701 https://5calls.org Moderator

Unverified but a possible Herman Cain award winner. See https://imgur.com/gallery/XyxP4TK

Antivaxxer looks like they spent about 5 days in the hospital till they died.

Some say I should have sympathy but that's all gone now for the antivaxxers as they kill others due to delays in needed surgery for others.

Yvette "QT" Clark, 50, Bixby, OK, QTWIQ1 on Twitter, anti-vaxxer, Hospitalized with COVID.

Her Twitter account had some 187,000 tweets. Great place to put your efforts into not dieing.

jwenting commented: I've never had any sympathy for antivaxxers, they've been causing outbreaks of far more deadly diseases for decades if not longer. +0
rproffitt 2,701 https://5calls.org Moderator

This is gold.

If your enemy is drinking their own piss, do not interfere.

  • Sun Tzu
rproffitt 2,701 https://5calls.org Moderator

The tools can vary for iOS and Android. There are some cross platform tools but for iOS you might not be surprised at having to invest a few thousand for the usual Apple laptop and iPhone to develop and test on. For Android I went with Google's own Android Studio.

My journey to Android has decades of prior programming projects including the Palm Pilot, Windows Mobile and others. The jump to Android app development wasn't instant or fast. I think it was about 3 months of work till I was able to show the new apps to my clients.

rproffitt 2,701 https://5calls.org Moderator

I'm at a loss for words as I watch https://www.youtube.com/watch?v=RHFZJOmMkuE
The story is about PPE worth over 10 Million USD left out in the rain.
"We paid for that."

rproffitt 2,701 https://5calls.org Moderator

If so, a breakpoint on the line in question and the following line to see what's going on.

rproffitt 2,701 https://5calls.org Moderator

I've supplied two other lines of code to click the button. At this point it's unclear what the issue is. But I see you made some progress on breakpoints so next step is a breakpoint for the timer handler.

rproffitt 2,701 https://5calls.org Moderator

Long ago I learned to add the usual Timer1.Enabled() (remember I am not checking syntax here) and more to my form startup code.

That is, don't rely on defaults or what you see in the GUI. Set the status, time and enable as you see fit.

Also, you can put a breakpoint on that line two so you can query the state or Timer1.

rproffitt 2,701 https://5calls.org Moderator

The instance error is not unexpected so I take it you'll add code to handle this issue. Schol has already responded about that.

Also, since you don't use sender or e, why not Form.Button5_Click(null, null) or my first response idea.

rproffitt 2,701 https://5calls.org Moderator

Many turn to Naudio (https://github.com/naudio/NAudio/wiki) or similar. I have yet to see anyone code this natively.

rproffitt 2,701 https://5calls.org Moderator

I'd want to seen the button5 event handler code but why not Form11.Button5.PerformClick() ?

rproffitt 2,701 https://5calls.org Moderator

I've had that conversation with a conservative in Canada. His stance is COVID is not real and only another way to control the masses. According to his and his kind, all the news and statistics are fake. Yet he has both doses of a COVID vaccine. His other stance is that hospitals murder those that didn't take the vaccine. It's why I rarely talk to my old friend any longer.
Here's the chart I think is good to know about:
image_2022-01-17_123603.png

rproffitt 2,701 https://5calls.org Moderator

While everything is there (you wrote that) you didn't mention if you know about the environment variables used and to call out paths when you can't get the compiler and linker to go get what you thought it should.

That is, you need to learn about how the command line tools work. I've worked this in the Linux and Windows OSes but no exposure to your setup. I doubt it's much different because MacOS has a lot of roots in BSD.

https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html writes:

The exact search directory list depends on the target system, how GCC is configured, and where it is installed. You can find the default search directory list for your version of CPP by invoking it with the -v option. For example,
cpp -v /dev/null -o /dev/null

As I don't use or need clion I don't know where the documentation is. You on the other hand would know this.

rproffitt 2,701 https://5calls.org Moderator

My first thought is that we (Canada and US) already get a bonus. This vaccine is free here and from what I've been told, free in Canada.

It's beyond risky behavior as they are taxing your health care system if and when they get so sick they head to the ER.

These folk also tend to not mask up and in my view today are cold blooded killers.

rproffitt 2,701 https://5calls.org Moderator

I can't answer this one directly so I'll write a little about my work at command line app building. Not only must you get the right libraries and such on the machine but there can be other requirements such as environment variables that the the compiler and linker use to find files and such.

Again, I do not have your setup so I can't check this out but again, command line builds can be challenging to those that didn't live prior to the GUI epoch.

Are you adept at looking at the environment variables and know what this compiler/linker uses for said variables?

Have you heard of hardcoded-library-path issues? This question is more to help me understand where you are in your understanding of compilers and linkers.

rproffitt 2,701 https://5calls.org Moderator

In case this is MySQL and a MySQL script, use the tutorial at https://www.mysqltutorial.org/mysql-export-table-to-csv/

rproffitt 2,701 https://5calls.org Moderator

I'm going to ignore your poorly formatted code.
But when I want files that Excel can use I write .CSV files so I don't have to worry which Excel version will use this file.
A simple Google with "how to write a csv file from _____" finds more ideas and code examples. Here you omitted what language was going to be used.

Schol-R-LEA commented: Given the mention of the Northwind demo, I am assuming that it is MS Access. +14
rproffitt 2,701 https://5calls.org Moderator

I did some quick searches and this class/API appears to be for Android. Is there a Windows or Visual Studio package? I couldn't find one.

rproffitt 2,701 https://5calls.org Moderator

That's an interesting take on language abandonment. I've heard folk tire of the treadmill where you might (just might) move your Visual Studio kit up every 2 to 4 years. Then again, Windows itself has some upset as new versions roll out. But we can look at any mainstream OS and they don't sit still.

rproffitt 2,701 https://5calls.org Moderator

My wife broke the rules and went to a family birthday party. I would not go since many are from a "red state" and I don't trust them. Sure enough there were symptoms in days and I got it too. I was upset about this since everyone knew how it got us.

Later there was a wake and again there was to be a family gathering. This time an option to attend via Zoom so that's what we did.

We are not being disrespectful yet a few people want to say the risk is low (BS!)

-> More story. My son works for Amazon and due to this had to answer about symptoms and exposure. The result was Amazon cancelling all his shifts and asking for a COVID test result (clear of COVID) before return to work. His medical coverage at this time does not offer testing. I looked into our city and they offer free testing but nothing for 8 days. At about 8 days the boss did an over-ride and authorized his return to work. (crazy.)

More more story. Amazon finding out there is no COVID testing for 8+ days here implemented a company testing site for this city. Also, the days my son missed were paid for (this is new policy.)

Oh, yes, do cue up the song "Sixteen Tons" while reading this.

rproffitt 2,701 https://5calls.org Moderator

In our office it was time to move on as the cost to maintain was growing. We could keep going on but the prices for legacy work had to increase just like they did for COBOL work. It's cheaper to move to a current language here. But for love and enthusiasts, by all means keep going.

There's another issue that we couldn't fix. Microsoft won't sell licenses for this old system. And before you say Ebay or such, we found those to be pirated so no more from there. Sorry for the typo above. I meant "this was time to move on."

rproffitt 2,701 https://5calls.org Moderator

Seems we are going for shot #4 soon. The second booster is already a thing in some countries.

"When the said flatten the curve they didn't mean against the vertical axis!"

rproffitt 2,701 https://5calls.org Moderator

Seems everyone is getting on the subsciption bus. "Taco Bell Subscription"

Back to your. Maybe add something like access to Wapo or SF chronicle? "Bundle and save!"

rproffitt 2,701 https://5calls.org Moderator

For John_165.
Check out https://ninite.com/ and it's not only free but without any added apps.

As to getpaint, it only costs if you get it via the Microsoft Store. I guess I should note the Microsoft Store is rift with absolute c-r-a-p apps. Examples: https://www.google.com/search?q=microsoft+store+app+full+of+crap

It's been a mystery why Microsoft continues to have one of the worst app stores we know of.

rproffitt 2,701 https://5calls.org Moderator

Or you add buttons and handlers dynamically. Example/tutorial at https://www.youtube.com/watch?v=SCed1acabpE

As to combobox and textbox we would use the onchange event instead of a click event.

rproffitt 2,701 https://5calls.org Moderator

Even back in Windows 10 we encountered too many issues that we declared the end of VB6 development at the office. Maybe a hobbyist may persevere but for us, there was time to move on.

rproffitt 2,701 https://5calls.org Moderator

This appears to be the usual homework assignment such as I read at https://www.chegg.com/homework-help/questions-and-answers/c-homework-project-description-3-parts-drunkard-s-walk-drunkard-begins-walking-aimlessly-s-q45305989

As per https://www.daniweb.com/welcome/rules you must supply evidence of your work then tell where you are stuck along with your other questions.

rproffitt 2,701 https://5calls.org Moderator

Nod to Schol-R-LEA but the link looks dead here.

Read https://wiki.osdev.org/Languages#But_I_heard_of_an_OS_written_in_language_XYZ.2C_isn.27t_it_interpreted.3F to find out this project is a Red Herring. You won't be doing this!

Schol-R-LEA commented: Fixed the link, thanks for pointing that out. +14
rproffitt 2,701 https://5calls.org Moderator

Done right, sure. Be sure to check out my link where it didn't work out.

rproffitt 2,701 https://5calls.org Moderator

You'll have to tell more. I often find this is an issue with the mobile's browser. To which I install Chrome and re-test. As to your code, I don't see it here so I can't check it out.

rproffitt 2,701 https://5calls.org Moderator

I see a good enough tutorial at https://www.youtube.com/watch?v=A95mIE2HdcY
Takes a few lines of code.

rproffitt 2,701 https://5calls.org Moderator

For some yes. But I find companies to be lax in training and backups so for them, no.
Read https://imgur.com/gallery/5wPSWJb

rproffitt 2,701 https://5calls.org Moderator

You'll have to write a better question. Some consider hacking a Xbox to be different from a PC or a web site. But what is hacking? Tell more.

jwenting commented: and the sentence doesn't mean anything anyway... +16
rproffitt 2,701 https://5calls.org Moderator

Since it happened in the first 5 lines, can we see at least the first 6 lines of code?

vaishnavi_13 commented: #include<iostream.h> #include<stdlib.h> #include<graphics.h> #include<math.h> using namespace std; int xmax,ymax,xmid,ymid; class Line +0
rproffitt 2,701 https://5calls.org Moderator

Make, model, age and details matter. While I know the Dell desktops have some Orange blinks that tell us something it's always been failed hardware. I would like to help but I can't offer what it could be with such little information.

However the troubleshooting of a Dead PC is a well discussed topic. Here's a random tutorial about this: https://www.youtube.com/watch?v=Zz9pMKy9Mbs

The make, model and age along with what it does since sometimes you find an old desktop that you can replace with some under 200USD desktop which would be cheaper than a visit to a repair shop and if it's old enough, it's an upgrade.

rproffitt 2,701 https://5calls.org Moderator

Photoshop seems to be the go to app for graphic work. For me I'm not responsible for the graphics in our apps but will sketch something quick as a filler during development with Paint.Net.