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

Sorry but I see the comment in an alert but not here. Sometimes folk try to copy code from the web without adjusting to their system.

You asked "do i need to add the code from the link u send to my code ?"

The answer is that you need to add code to connect and select the database you intend to use. You can't query until that step is done. You can't just copy and paste code from the web.

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

I don't see code to connect and select the database above. Here's a quick link to the PHP manual showing this.
https://www.php.net/manual/en/mysql.examples-basic.php

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

The plan is do nothing this evening. Be safe!

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

See JamesCherill's link.

I found free tutorials on the web. If you can't find them I will write you didn't try.

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

From an alert here. You wrote:

Right now we dont know how to start and a code to present because our professor didnt teach the fundamentals of vb

There are online, free tutorials for VB.net today. But once in a while I encounter a student that didn't learn programming fundamentals and somehow enrolled in a class they were not ready for. My advice to them is to switch to any other programming 101 level class so they can learn the fundamentals before taking the next tier class.

Maybe you hoped for a reply here to contain all those fundamentals here. That's what online tutorials are for. Here's a starter link for you:
https://www.coursera.org/courses?query=visual%20basic

jwenting commented: And far more often we encounter kids who claim their teachers aren't teaching them anything when in fact it's the kids who aren't putting in effort +16
David_239 commented: The courses needed credit card i dont have that thing to enroll +0
JamesCherrill commented: What could be more definitive than MicroSOft's own tutorials? https://docs.microsoft.com/en-us/visualstudio/get-started/visual-basic/tutorial-console +15
rproffitt 2,701 https://5calls.org Moderator

I don't see the need for a private chat yet. You have not shown your work or revealed where you are stuck.
Finally, I don't see a question about your system. To proceed, reveal enough about what you are doing, what design or code issue you are having so everyone can see and comment.

David_239 commented: Please response sir i dont onow what to do +0
rproffitt 2,701 https://5calls.org Moderator

Sorry but you made the assumption I remember what INT 21H does. This code is missing all comments plus what lines you think are in error. I've written assembly code for dozens of microprocessors and even a GE-210. Get that code commented fast.

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

I've yet to have anyone complain about web server/services reliability. Then again folk tend to pay a few dollars per month.

Try this. Without using links, what company looks good to you?

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

This is undocumented code and worse. I started at line 1 and nothing seemed to explain the first line and as I read on, it only got worse.

A lot more would need to be told as well as reading your Software Design Document to begin to work this one.

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

We had an orange haired person destroy that. I guess you could try but what is your business? Does Twitter or social media matter?

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

Tell me more why you used the word reliable. I and others have used free website builders many times or WordPress and these again were free. So cost is not the issue for you here.

Be aware that the spammers will latch onto your post with costly solutions. The only cost should be your hosting. Maybe Dani will comment on what or who she likes today for hosting.

LoanHensley commented: I would like to try something cheap but reliable. I don't want to use something for free like blogspot. +0
rproffitt 2,701 https://5calls.org Moderator

I see you tagged your question with mysql. Then you write about "VALID" values. To me you would use the SQL results and if the results are not valid, work on your SQL queries.

Now if your database has invalid data, you would correct the database.

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

But what is it? Sometimes people try to write something but try to avoid designing the something in advance. What good is code if you didn't design first?

Reverend Jim commented: If was good enough for Microsoft... +15
David_239 commented: Can we talk in chat so i can explain? +0
rproffitt 2,701 https://5calls.org Moderator

Also participating in /r/solar and a techsupport subreddit. The first since we installed solar on the home and I had a few questions beyond what I knew. The second because once in a while I'll know what to try.

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

Dani wrote:

Sorry, I guess I’m misunderstanding you. If your teacher gave you the assignment to create a billing system, why would you create an arcade system instead?

Either way, please post the code you have so far along with where you’re stuck and what isn’t working, and we can look into helping you figure it out.

I agree that you need to reveal where you're stuck and what doesn't work. Sometimes a student has done nothing and tries to get folk on the web to write it for them. That fails since the student can't explain how the project works.

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

It's good. Sorry if I keep it short today, that time of year, there's a wake happening via Zoom here and so on. Again, looks nice.

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

This looks to be same as https://www.daniweb.com/programming/threads/536852/game-system-and-game-monitoring
In fact, that's you from what I can tell.

David_239 commented: Bu we need to connect it to an sql database +0
rproffitt 2,701 https://5calls.org Moderator

I noticed this. Thank you for the Christmas presents!

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

For bdux.

Long ago I worked exclusively with assembler code. I pined for the day I could use a higher level language. It was not to be at that time.
Our group, threatened with the end of production of the processor we used created our own replacement processor.

Instead of moving to a higher level language a few of us had to create microcode.

To this day I think I'm quite the lucky person for getting the experience of being on a processor development team.

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

I feel for you here. There is a way to test install without a second PC. I use Virtual Box as a disposable PC. There are plenty of tutorials about running Windows in Virtual Box and I'll check in a second, maybe a ready to run appliance version. I'll add that this is ZERO COST except for our time.

Microsoft -> https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

This way you get to start with a clean Windows and not change or pollute your PC.

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

I worry here that you wrote about a plugin. Also there was a similar question over at Techrepublic where the data source was PDF. This won't be trivial as in "plugin." You'll have to design your solution then research how to read PDFs in PHP code. I suggest you break this down to some backend that reads those PDFs on a schedule and places them into a database so you can use the usual SQL actions.

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

A few issues here.

  1. This looks like homework. As noted in the Community Rules, show your work then point where you think the issue is.
  2. You didn't ask a question.
rproffitt 2,701 https://5calls.org Moderator

Is this Visual Basic 6 or something else?

I have dire news about VB6 at our office. Some time in 2021 we stopped offering any work on our old VB6 apps. The reasons were many so I won't get into that. Let's hope you moved away from VB6 long ago.

Also, yes, I've seen this more and more as Microsoft issues security patches. Very upsetting to those that want to keep going with VB6.

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

While I questioned their choice, when my wife worked for such they used Zoom. Both for the rather famous calling but also the Zoom Chat feature.

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

Gola. a warehouse for grain in India .

What?

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

Dani, Nextsmm seems to toss out either unclear questions or ones that their company should know about. I hope they'll read this and clarify the question.

Every time I make an assumption I run the risk of make a bad assumption.

rproffitt 2,701 https://5calls.org Moderator
  1. Try https://deviceguides.vodafone.co.uk/samsung/galaxy-a10-android-9-0/connectivity/transfer-files-between-computer-and-phone/
  2. Go get some USB stick that plugs into said phone then follow the instructions at https://www.samsung.com/au/support/mobile-devices/transferring-files-to-usb/
  3. Further down the rabbit hole! ES FILE EXPLORER and a FTP server on your PC. Noted at https://www.samsung.com/au/support/mobile-devices/transferring-files-to-usb/ (I decline to write a step by step.)

I can't guess why you are having issues with dropbox, etc.

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

Remember you asked for "all files" and not just your files. If you look up backup apps like Titanium you find they need root access but I recall this is hit or miss on some phones.

So, on a stock phone, the answer to "all files" is no.

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

Not possible on a stock A10. Some files are going to be left behind.

Even a rooted phone may not be possible today.

-> Remember you didn't ask to backup your files but all files.

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

First, after decades of use and time, no one I know implements new apps in Visual Basic. It's more likely to be VB.Net.

Second, no one I know will use Excel as the underlying database. Our apps use MySQL if the data is expected to be more than a thousand records.

Finally, in your app, provide a feature to export to an Excel compatible file. CSV (comma seperated values) is trivial and easy.

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

I'd start with Wikipedia. Example: https://en.wikipedia.org/wiki/Digital_twin

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

The articles paint a picture of change over time. Nothing huge but folk sometimes think the rate should be constant or increasing without working their sites.

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

I can't search for only that one language but I'd start with the 7 noted IDEs at https://www.tabnine.com/blog/top-7-golang-ides-for-go-developers/

I thought Visual Studio supported Spanish? https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-es if not.

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

Seems Google changed. I'm reading articles I found with https://www.google.com/search?&q=why+google+isn%27t+delivering+clicks%3F

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

Explain this to me. Domain as in a field of expertise such as pharmacology, civil engineering, or something else?

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

Coders I know have a saying:

When I wrote the code, God and I knew how it worked, now only God knows.

Even if this was an example, we need to know stuff like why the value 4 is used on line 10. Along with the rest.

Now if we forget about code, we write what we need to do in the specification, then make some psuedo code and in the case of assembly language try to convert each step into code.

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

Assembly code needs comments. At least it stated in line 1 it's for the 8086 but why is the value 4 used in line 10?
Right now, only God knows!

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

Welcome. A tip though. Try to avoid those very very old discussions.

Samak2016 commented: yeah, right +0
rproffitt 2,701 https://5calls.org Moderator

Be dumb about it. Explore all the paths and keep metrics on each. Then sort for the best answer. Brute force, not that smart but on small problems like this, gets it done.

Khoa_2 commented: this could be the way. Thanks so much +0
rproffitt 2,701 https://5calls.org Moderator

There are tutorials about this on the web so it's time to use those as my approach is unlikely to be accepted for academic assignments.
Example: https://www.tutorialcup.com/interview/dynamic-programming/gold-mine-problem.htm

In real life you could burn through all the possible solutions since CPU time is so cheap today.

Khoa_2 commented: can u tell me your approach? +0
rproffitt 2,701 https://5calls.org Moderator

I haven't used a broker in decades. Why should I consider using any broker today?
Let's define here what a stockbroker is: https://en.wikipedia.org/wiki/Stockbroker

Nope. I haven't used a human stockbroker for trades after about 1993. All trades since then are done by computers.

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

Welcome. How's the weather!

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

I like cheese!
Welcome to Daniweb.

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

If this was code for our office or assignment it gets a failing grade due to no commenting. Sure you have one lonely comment on line 23 but then you make calls without any comment what you expect to happen.

To me this is the old "When I wrote this code, God and I knew what it did." Today, only God knows."

I don't know of any x86 BIOS calls that limit character input so you'll have to test your inputs later.

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

In the news are flash mobs that skip the check out counter. "Retail" is about to change forever.

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

I can't write code for the above since it's too vague but AHK scripting is easy. One only has to apply oneself for a few minutes.

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

While you can search for such, I'm using AutoHotKey to do this. I see no reason to burden myself with Javascript or c++.

tixtqs commented: Do you know thev autohotkey script? +0
rproffitt 2,701 https://5calls.org Moderator

Besides the poor and failed code formatting you omitted what line has the error. Also, double is a valid floating point type.

Double: The C++ double is also a primitive data type that is used to store floating-point values up to 15 digits.

  1. You didn't tell what line has the error.
  2. Extraneous blank lines.
  3. Code not in the code block.

PS: Example Double to Float at https://www.codegrepper.com/code-examples/cpp/double+to+float+c%2B%2B

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

Why do this in 3 systems? I see Access, VB.Net and VB6 (which is dead now.)
Here's the usual solution: http://www.vb-helper.com/howto_net_number_to_words.html