rproffitt 2,701 https://5calls.org Moderator
  1. "You did not copy your friends’ codes and you do not let them copy your codes."
  2. I see no mention we can't use arrays or functions.

Since no one here can give you code, let's hear where you are stuck along with my question which is why can't we use arrays and functions.

Khairunnisa_2 commented: I don't learn array yet..my lecturer doesn't teach me yet that why i cannot use it +0
rproffitt 2,701 https://5calls.org Moderator

Thanks for the great topic.

I took to electronics in the 60's and wrote some code in 1973 for the old GE-210/310 or similar during the last year of high school. Off to college and took some PL/1 and Fortran. Later landed a job in the defense industry which let me explore a lot of embedded design which was fairly new at that time. Fortunate to be on a microprocessor design team and so much more. So many stories over the years but that was my start which was pre-PC so I got to live the entire story of chips to today's computers and more.

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

There are some hundred plus Dell XPS desktop models. However if you feel yours had TPM 2.0 before the repair then you call up the repair company and ask for them to fix it right.
Since the full model is missing here I can't check what TPM it might have.

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

My bet is the VB code is dependent on the OS so what you may get to reuse is the concepts/design which is valuable when going to another design.

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

I'd use the dev kit from Google. However the Apple approach may be to let Siri do the work. Example: https://www.howtogeek.com/725103/how-to-set-a-default-music-app-on-iphone-and-ipad/ where you say Siri, play Baby Shark in Carl's mp3 player.

For Android I'd integrate with Google Assistant noted at https://developers.google.com/assistant

Unless I misread that you already have your own voice command routines good to go.

PS. Apple has it's own free devkit so a nod to that as well as finding tutorials such as https://blog.appnation.co/add-siri-support-to-your-ios-app-in-minutes-using-swift-86970322286 Mind you that on both platforms I find getting the app into the Apple and Google store is a discussion you have all on its own.

Carl_17 commented: I do have a working speech controlled MP3 player written in VB, so I have some possibly re-usable code... +0
rproffitt 2,701 https://5calls.org Moderator

I had the code from internet

I'm at a loss why you would copy code from others and then use that as your term paper. But hey, there's a thriving business in selling term papers so maybe I'm out of touch of how college works today.

Back to the top. If I wrote it and explained it then you used that and defended it, it would not be your work and where is the lesson? Is that what they teach today?

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

Let me take the 40+ examples at rosettacode and posit that there is no correct way to write this or almost any function or app.

It's YOUR CODE. No one can guess what the review will look like but think back to all the other code that was reviewed. Did you learn what the prof's were looking for? Did you take these lessons and apply them to this code?

Валенти commented: I had the code from internet +0
rproffitt 2,701 https://5calls.org Moderator

Thanks for putting your YouTube channel in your profile.

I have to ask: Why would we want to stay under the radar?
Is there something shady going on with PBNs?

AndersLarsson commented: What I mean by staying under the radar is doing things that will be detected by the Algorithm as a manipulation of ranking a website. +0
rproffitt 2,701 https://5calls.org Moderator

Here's the search I used to find examples: https://www.google.com/search?q=alphablend+bitmap+in+c%2B%2B

I can't guess why I'd write such today as I'd use a graphics library since, well, because I see no need to rewrite such or create what I consider a wheel. I bolt on wheels and functions today. Is there more to your story?

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

This may be good news as no one I know will install that title. Get a refund and let's chat why you considered this rather awful antivirus.

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

That command could and should run into security issues. Besides why didn't you use the native vb6 mkdir code?
https://www.vbforums.com/showthread.php?415821-RESOLVED-How-do-you-create-a-folder-in-vb6 for example.

new2022 commented: I tried this way but it doesn't work +0
rproffitt 2,701 https://5calls.org Moderator

That sounds incorrect. PHP code in some HTML file would not execute.
In short:

  1. HTML is what your web browser consumes.
  2. PHP runs back on said server, not in the web browser.
    Tutorial at https://www.instructables.com/How-to-Run-a-PHP-Script-With-Wamp-Server/
rproffitt 2,701 https://5calls.org Moderator

If I were to bet there is no file called main.java
Many try to use the old Notepad and save the file as main.java but Notepad's saved file is actually "main.java.txt" which causes the file not found error.

  1. In Windows File Explorer be sure to display file extensions.
  2. Get a better editor or IDE.
Poweratgamer commented: this gets fixed when I uninstall/install the software again. but this prob always pops up after like 1 day +0
rproffitt 2,701 https://5calls.org Moderator

Sorry James. And I'm OK with the -1 (F) grade for that reply. Sometimes the student needs a hard zing on an assignment to learn they have to write it themselves. However sometimes you'll get a hit on plagiarism checkers and it is the students work. The assignment here is one with hundreds if not thousands of solves on the web so it's going to be hard to not see same or similar solves from the students.

For the OP, get in here with what stopped you.

JamesCherrill commented: ;-) +0
rproffitt 2,701 https://5calls.org Moderator

https://www.daniweb.com/welcome/rules has an entry about homework. You didn't reveal this was homework so I took it as a possible but unlikely real job you and your company would bid on. That said, this would be best made as a web app with the usual PHP, SQL and such backend with a web browser for the users. Such an endeavor would not be without a year or two making smaller systems to work your way up to the app/system in your top post.

Now if this is homework, say so and tell where you are stuck. For homework you supply something you are stuck on, and maybe the function that doesn't work right along with code so others can look at it to see if they see the problem.

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

If this was such a job the first move would be to meet and discuss changes to support multiple users, a web interface and more. No one today would write this in c++.

Ashley_30 commented: I’m not so versatile in java, is there any way you or anyone else could help? +0
rproffitt 2,701 https://5calls.org Moderator

As I read https://www.plantation-productions.com/Webster/HighLevelAsm/WinDownload.html and the code examples there I don't see assembly code like we used with MASM. The code looks closer to C and far away from assembly.

While I could install and learn more about HLA I decline to do that but don't mind looking at your code as it is now along with where you are stuck. Sometimes folk meant to write "can you write this for me" but that rarely happens here. If you need this done for you then there's Upwork, Chegg and such places.

Paul_103 commented: ok I use HLA not MASM. +0
rproffitt 2,701 https://5calls.org Moderator

The question isn't confusing. It's incomplete. I shared what I did to fill in some of the missing information.

RC_820 commented: Thanks +0
rproffitt 2,701 https://5calls.org Moderator

My last assembly language was on a MicroChip PIC and the output over RS232 to a terminal (PC running old Hyperterm.)

While you didn't reveal which microprocessor was the target, today we have some hundred to choose from but why is the tag SQL selected?

Be sure to show your work so far and note where you are stuck along with enough target information so others can see where the problem is.

Paul_103 commented: thanks.I'm using HLA and windows command window +0
rproffitt 2,701 https://5calls.org Moderator

You tagged your discussion with Javascript so that meant your intent was something that ran in a browser. If you meant something else then you would have written that in your initial post. To find out more about you I read your other discussions and it appears you are working on your web site which lead me to suggest building your skills or using some open source game to integrate into your site.
But no, no one can give you the code or design to what you asked for many reasons. It would be rare for anyone to write this for you and hold class on the language and game design. Maybe there is someone out there?

As such I thought, maybe they just want to integrate a nearly ready to use fishing game? And supplied a possible project.

Back to your comment. I explained why I took time to find a Javascript game, maybe you didn't want that and have the wrong tag.

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

So much left unsaid. The Javascript tag might tell us you want it on your web site. To write such from scratch would be something you attempt after a year of making easier projects but maybe you just want to add such to your web site (I checked your other discussions.)
Try https://www.raywenderlich.com/2813-how-to-make-a-simple-html5-game-with-enchant-js since it has a fish game and you might learn more.

RC_820 commented: Sorry but i mean i want to make a fish game, if i want to make a shooting fish game its use javascript right? Or other language?? +0
rproffitt 2,701 https://5calls.org Moderator

Seems that was asked here a few years back. There are more here too. Just one at
https://www.daniweb.com/programming/software-development/threads/516457/how-do-xamarin-forms-connect-to-sql-server

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

Thank you Reverend Jim.

Let's add Current Date and Time to VLC Player! Read https://wiki.videolan.org/Documentation:Modules/marq

Huzzah! "This example displays the current date and time in yellow in the top left corner of video."
VLC Player runs on Apple OS, Windows, Linux and what else?

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

Given your comment, you can't fail because as you wrote "Explain or comment something base on your own understanding".

If you had asked for a high level guess of what this code as a whole does, that's one thing but you asked for a line by line explanation. With your last comment that's no longer needed. What the assignment is now is you writing your understanding of the code. Not a line by line.

For example if I were to explain what Hydrogen and Oxygen is, that would do nothing to explain what happens if we have H2O.

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

All I can say is that is a fine example of why undocumented code is a sad thing or self documenting is a good thing.

Who wrote this? Ask them because they wrote it. That is unless this is part of something out of a course's book then that book may hold what we need to know.

PS. Long ago, I wrote a lot in old Turbo Pascal.

Ashurà_1 commented: Explain or comment something base on your own understanding thats our homework +0
rproffitt 2,701 https://5calls.org Moderator

Is flush an option? There's more about the limitations at https://www.php.net/manual/en/function.flush.php

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

In the past if you issued code that was outside the scope of the app, you would be banned from contributing to the code base.

I'll refrain from a long analysis here and say the contributor's rights should be lost.

pritaeas commented: Spot on! +0
rproffitt 2,701 https://5calls.org Moderator

While quite the undertaking, such has prior tutorials. Here's how I find them:
https://www.google.com/search?q=xda+forums+how+to+build+os+for+android+site:forum.xda-developers.com

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

What? No questions? Also, you can post code using the <Code Block> button. There is no question here so it's anyone's guess what the issue is here.

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

I lived in Canada for 8 years. We only had to go to the ICBC since we were in BC and ask. Our drivers license from the USA was good for many months as we navigated ICBC's requests and testing.

zimbayla commented: You could have just answered his question. You were out of topic +0
rproffitt 2,701 https://5calls.org Moderator

Thanks for clearing this up that you are hunting for a programmer, team member or other person. This is not a discussion about your idea or how to do such without a programmer. I re-read your top post and it wasn't clear that this is a job posting.

stratozyck commented: But I am a programmer too. Just seeing reaction. I will go elsewhere. +0
rproffitt 2,701 https://5calls.org Moderator

I've thought again about your discussion. Maybe you are looking for programmers here. I am likely wrong but hey, let's hear exactly what you are looking for.

stratozyck commented: Someone that gets it. Dont need a ton of work, someone that could do more if it grew. Thats it. +0
rproffitt 2,701 https://5calls.org Moderator

https://www.php.net/manual/en/pdostatement.execute.php tells us this statement returns something of interest.

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

Why I thought you wanted the full product is simple. After decades of working in many capacities, when the client wants a prototype they want something where everything works. The more you work in this area, the more you understand the code or language the clients speak.

stratozyck commented: Cant explain more. Comment limits too much. Is there another option? +0
jwenting commented: correct. And most often they order a prototype, take that into production while canceling the full product, and then complain over and over again +16
rproffitt 2,701 https://5calls.org Moderator

Maybe you don't need programmers. Given the downsizing of the project why not a WordPress template? Examples are ready for you to see which comes close enough. Example search: https://www.google.com/search?&q=Social+Media+WordPress+Themes

stratozyck commented: To generate rev, you must own the data. All I need is rough location of users and thats how you sell ads. With more data mining can do more. +0
rproffitt 2,701 https://5calls.org Moderator

@strato. Change the word duplicate to mimic, be like, similar, etc.

What apps have you created so far? Most that want to do such things misjudge the cost. As to cost, that's not just money but hours, years and how many developers and more they need.

stratozyck commented: I made a 4X TBS game engine and have two +0
rproffitt 2,701 https://5calls.org Moderator

I still encounter people that want to duplicate Facebook, Reddit, Microsoft Windows and other things. All are oblivious to the effort and cost to do this. Let me be clear here, they want to duplicate what all these have today, not what they were at launch.

Unsure whether to nod and move on or to tell them the truth.

stratozyck commented: Everything starts as a seed. Nothing starts as full Windows +0
rproffitt 2,701 https://5calls.org Moderator

My take is that folk want to re-create what Reddit or Quora is TODAY. What they started with is possible with a small crew but to duplicate what they have today? Millions.

Also, folk like Mark Weinstein have to try and try again. If you look at his history, crash and burn more than a few times.

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

I've read such before and the person who asks is usually unaware that such projects are huge. So much so there are usually dozens of programmers working the project. For what you are asking the day when a lone programmer would create a Facebook or Reddit are long gone. Unless you pare down the project to what we could expect from one person.

Reddit is currently and mostly written in Python using and this is from memory the Pylons framework. Beyond that there is a lot of cloud resources along with many other assets such as graphics and so on.

You may want to do more research into the scale of this project you are proposing.

stratozyck commented: Why do you think I am trying to make a full FB or reddit. Keyword: prototype. +0
rproffitt 2,701 https://5calls.org Moderator

Small world. I added bar code support to our apps long ago. The work wasn't all that hard. That is we picked up a few USB Bar Code readers which for all intent look like keyboard input. Then I printed out a few barcodes along with what the client provided. In the end the code didn't really change that much from working with the human typing on the keyboard.

Later as I shared with others my experience I would find in most cases the programmer didn't have the barcode scanner. Without the scanner they were essentially lost in a basement with no light.

pkmilton31 commented: how to barcode scanner in xamarin.form and connect sql server DataBase +0
rproffitt 2,701 https://5calls.org Moderator

Without seeing your code this will be a possibly bad guess. I'd review my SQL and look at either the UNIQUE or LIMIT 1 options.

lukwagomedia commented: Thank you for the tip! +1
rproffitt 2,701 https://5calls.org Moderator

Did you figure it out? I see your comments in the emails that DANIWEB sends out.

Jeph_1 commented: I was able to fix it myself. Thanks +0
rproffitt 2,701 https://5calls.org Moderator

How can someone write about foreign keys, relational databases and not have been exposed to SQL?

My advice is to spend the time on the usual PHP MySQL Tutorials and get up to speed over the next month.

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

I've been programming since the 1970's and never heard of MIPSMARK so I leave it to you to tell the story. Also how I can see what book this assignment came from. I've written code for dozens of micros over the years so let me share that automatic code checkers are not infallible. Maybe MIPSMARK is some new AI grading app? You may want to discuss this one with the professor if the code works but the AI is complaining.

Schol-R-LEA commented: I've never heard of it either, but apparently it has been around since 1998. Go figure. +15
rproffitt 2,701 https://5calls.org Moderator
dnBunnie commented: ftype gives these results +2
rproffitt 2,701 https://5calls.org Moderator

I have to ask for clarification. So you're telling me that from Windows File Explorer you double click on a PDF and Edge opens?

Usually folk talk about the PDF viewer if you are on a web page. But for WFE the steps at https://helpx.adobe.com/acrobat/kb/not-default-pdf-owner-windows10.html work for me and on Windows 10 Home and Pro continue to work today.

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

The only person I know that runs old SWF games kept an old Windows XP machine around. I guess if you invested enough effort you could run Windows XP in VirtualBox and play on.

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

This appears to be something from a mathematics or such course. The book appears to be https://www.amazon.com/Theory-Modeling-Simulation-Bernard-Zeigler/dp/0127784551 and is sadly a typical overpriced book that you are forced to purchase.

David_239 commented: Yeah, but i have that copy, but the overview of it is just the basics concepts. +0
rproffitt 2,701 https://5calls.org Moderator

Sure. Initialize X and Y to say -1. Now put a while test for X and Y being negative around lines 9 to 11.

Mariam_20 commented: im sorry what does that mean +0
rproffitt 2,701 https://5calls.org Moderator

I haven't seen this in "database" so could you tell us what language you need to use or is this a web page?
For web pages google about "clickable images."