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

Since VB6 is ancient and I don't have it up and running I'll share how I do this in just about every coding system.

  1. Add the usual ONCHANGE event responder.
  2. In the onchange event responder, change to the selected item as you wish.

Maybe you are asking for me to code this for you but last year we ended the last VB6 support at the office and wiped the machines that had it. We're not looking back since there is no revenue there.

If you forgot how to set the list index, read https://www.vbforums.com/showthread.php?259445-Set-combobox-listindex-with-known-ItemData-RESOLVED

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

I wish this was simple to answer. First I'll reveal at one time I worked on determining reliability for electronics long ago. The basic rule is more parts means less reliable. But here, why would you add this cooler in the first place. The PC should arrive good to go and with care you can expect 5 years of service. After that it becomes unclear because the designs are not meant for a decade or more.

-> What I would do. I'd not modify the PC and use it as-is.

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

Nobody I know tries to get ISO files burned to DVD. There are many reasons why:

  1. Current distros are often too big.
  2. Folk struggle with creation of the media since burning the .ISO file to a DVD is technically incorrect if we wanted to boot said DVD.
    Think of this instead: "Create bootable media from the .ISO file." because burning the ISO file to the DVD would be just that.
  3. USB 8GB sticks are plentiful and cheap in most of the world. Also, a lot of PCs don't have ODDs (Optical Disc Drives.)

But here we are: James supplied the best answer above with a step by step to enable VT-x. By your continued posting that is why I worry there is some other issue such as very dated OS (Windows and Linux versions mentioned by you so far.)

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

Now that you mention Ubuntu, if the simple change noted by James doesn't fix it, I worry that your current Linux is the issue. Here's why:

Ubuntu Linux 14.04 LTS reaches the end of its five-year LTS window on April 30th 2019 and will no longer be supported by the vendor (Canonical). This means that this version of Ubuntu will no longer receive security patches or other software updates.

It's now 2021 so it's been long enough for you to change up to something newer.

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

Can you write how this is unique?

Why I ask is it seems to be a common offering as I read https://stripe.com/partners/apps-and-extensions/form-building

I can't find at your site information about cost, overhead, privacy, security statements and where this is hosted as well how to backup and restore what would be my work.

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

Line 5 has a small error.

Try System.out.println(srv);

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

Share how you do this now. Then we can discuss how to automate.

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

Why did you change line 23?

Mine: var x = document.getElementById("mySelect").options[document.getElementById("mySelect").selectedIndex].text;

Yours: var x = document.getElementById("mySelect").parentElement.parentElement.nodeName;

NOTE! If you change the object type, I consider this a NEW QUESTION!!!

r4ds commented: Solved, I use console.log out script ahhaha. +0
rproffitt 2,701 https://5calls.org Moderator

I re-tested my example at the online page https://www.w3schools.com/js/tryit.asp?filename=tryjs_ifthen

Copy paste my example and I get an Apple.

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

I'm guessing you meant this example and scroller at https://www.jque.re/plugins/scrollbars-onscroll/jscroller/index.html

In example 4 there, the scroll bars do hide when the mouse is not on the image.

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

You should share that code from line 1 to at least 3.

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

Example follows of how to get the ALGARRABO but in this case fruit.

<!DOCTYPE html>
<html>
<body>

<form>
  Select your favorite fruit:
  <select id="mySelect">
    <option value="apple">Apple</option>
    <option value="orange">Orange</option>
    <option value="pineapple">Pineapple</option>
    <option value="banana">Banana</option>
  </select>
</form>

<p>Click the button to return the value of the selected fruit.</p>

<button type="button" onclick="myFunction()">Try it</button>

<p id="demo"></p>

<script>
function myFunction() {
  var x = document.getElementById("mySelect").options[document.getElementById("mySelect").selectedIndex].text;
  document.getElementById("demo").innerHTML = x;
}
</script>

</body>
</html>

What you are asking for appears to be summed up in this line:

var x = document.getElementById("mySelect").options[document.getElementById("mySelect").selectedIndex].text;

Alter the code to match your object names.

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

I do not have a dev setup for me to look deeply into this but if you research this, look at the other events such as:

$("#grid").on("doubletap", "tr[role='row']", goToDetailsPage);
$("#grid").on("dblclick", "tr[role='row']", goToDetailsPage);

Note: this code is only to show there are other events to watch for.

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

For this one I'd use a good solution like https://rosettacode.org/wiki/Tic-tac-toe#JavaScript

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

At this point I will guess this is what I call "found code." That is, you are not the author and need others to read and alter it for you.

Again I don't see a value that could be the username for the chat there. Maybe this found code was designed to only chat using the username from the Windows log in account but that would be me guessing.

Where did you get this code from?
Can you point us to it so all can dig around?

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

As this is homework, be sure to show your work as noted in the rules.

  • Do provide evidence of having done some work yourself if posting questions from school or work assignments
Shahira_1 commented: Sir your Gmail I'd? +0
rproffitt 2,701 https://5calls.org Moderator

I'm going to remind you there are already thousands of discussions about such conversions. So anything I'll write will be a duplicate.

Did you try https://github.com/uxmal/pytocs ?

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

The chat username would rarely if ever exist as a Windows environment variable. Given so little of your chat app's code to read, Carnac the Magnificent might say the answer is in the rest of the code.

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

Looks fine to me. My experience is that blank lines and spaces at the end of line are ignored.

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

What model and year Dell? Just last week I had this old Dell Inspiron 6000 which did similar and the short answer is it will not run W10 even with heroic efforts. As such I won't get into this yet.

-> But lets get into that bios. One trick I use is to unplug the HDD so it can't boot what is on the HDD so that forces it to deal with me. Since there are many models I can't look into "how to get to the BIOS" here. You left out key details.

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

The same discussion? https://forums.anandtech.com/threads/exporting-a-single-registry-entry.1351174/

My answer is the same. Export, edit as you desire.

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

I see line 28 calls out lazy so are you reporting it doesn't work? I won't breach into a discussion about what is lazy loading here but maybe you forget to tell the browser when to load the image. If so, read https://css-tricks.com/the-complete-guide-to-lazy-loading-images/

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

"Is this enough information to get it done? "

No. I think you want a detailed step by step along with more about this. You ignored my instruction above:
"Be sure to supply the web report link"

Follow my instruction so I can figure out what you have as a PC.

There is a chance VT-x is supported but remember that we don't have what your PC is along with other data so I can't write more than what was shared above.

-> Some good news about this CPU and VT-x at https://ark.intel.com/content/www/us/en/ark/products/37006/intel-core-2-duo-processor-p8700-3m-cache-2-53-ghz-1066-mhz-fsb.html

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

You left me confused. Why would I develop yet another clone of a script? You never wrote why.

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

A CSV file as noted on the web (example at https://www.howtogeek.com/348960/what-is-a-csv-file-and-how-do-i-open-it/ ) does not host images.

As such, you can't extract and save images. Maybe you are thinking about URL image links but you only asked about CSV files.

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

I don't see your code but the good news is Tic-Tac-Toe has 65 solutions at https://rosettacode.org/wiki/Tic-tac-toe

Maybe you can see if there's a nice algorithm there.

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

Yes, the GMAIL setup is both onerous and not optional. I don't recall if any tutorial covered that so here's Google about how to enable the relay service. https://support.google.com/a/answer/2956491?hl=en

To be clear, this is not a full fledged email server but a relay system.

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

My go-to method is for you to supply the web link to a Speccy report. Since Speccy, how to use is easy to find I await your test results. Be sure to supply the web report link as anything else would be too much work for me to decode.

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

I'd try other tutorials. Example: https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/

I can't duplicate your setup so my view is to try other methods. Also, get sendmail (the command line) working as well, it repeats some items from the tutorial I noted. Read https://blog.edmdesigner.com/send-email-from-linux-command-line/

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

While I would ask if you know basic concepts such as what a variables and data structures are (there's a lot more to that), most folk start with online tutorials. Many are free.

For reasons we don't host such tutorials here. Here's a start for you: https://www.codecademy.com/learn/learn-java

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

Let's hope Xozz comes back with more information. KVM might be an option since the Guest OS mentioned looks supported at
http://www.linux-kvm.org/page/Guest_Support_Status

But again, the details matter as to the host OS, etc.

Sometimes I find folk that have never seen a BIOS setup screen and demand a step by step. Or they are on some decade plus PC that has a 32 bit CPU that is not a machine I would try this on.

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

That's not an unknown message or much of a mystery. If you were to share the machine's make, model, CPU model, BIOS version and age I might look into this further to see if your PC can turn it on. But for now I'll wait for you to tell more about the PC.

Also, share which Ubuntu version and which flavor along with 32 or 64 bit.

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

Video marketing has been around since the 1950's. I would be guessing if you meant something else. Also, are you affiliated with MKE Drones in Milwaukee, Wisconsin?

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

Time to load up the Vb6.0 (I suggest getting it up to SP6 too) and run the code to see what line is breaking now.

You have the error but you need the line of code and what variables to examine in the old Vb6.0 IDE to really nail it down.

Finally, with rare exceptions you can't copy just the Exe file, Mdb and just run. All the apps had me install the app on the new PC.

Note: I'm sure you know of what breaks as the versions of Windows changes so I won't get into that because we're not there yet and even if we were it would require a code change to handle it.

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

The changes above are now reflected in the index coverage report so you may see new types of issues or changes in counts of issues.

So Google did note a change at https://developers.google.com/search/blog/2021/01/index-coverage-data-improvements dated Jan 11, 2021 and your date of Jan 5 is close enough to when they did roll out a change.

I don't see the blog entry about aging but the change I read at this link does look connected from what little I know.

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

I still wonder about the timeframe here. And yes I see why you don't want it to bounce back.

That aside, I was just reading about a Google problem in April 2019 and their cache syncronization issues across their server farms which was not what was interesting but another item where they revealed about how they age the information. Could it be Google aging these entries in their system?

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

What's the timeframe here? Why I ask is that the Verizon and other outages may be a factor and it could bounce back.

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

This is either a homework or workplace assignment. For homework, tell us where you are stuck in your design or code.
For workplace assignments supply a full RFQ along with the pay for the work.

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

While I wonder why there are 18 rows, maybe you should rethink line 29 in your original code. Don't pollute your $result with trigger_error.

https://www.php.net/manual/en/function.trigger-error.php for reference.

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

Wouldn't that be as simple as one printf statement with the answer?

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

Frankly after decades of coding my answer is that such changes with the company or job.

One company I worked at had a lot of company standards for the code I would submit. Then another was more about being agile and getting the app out there for testing so what does that say to "how to proper codes"? My answer is it depends on the situation and who/what you are submitting the code to.

For one off testing of ideas, my other answer is anything goes.

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

A marketeer using antidetect would be as close to being a fraud as it gets. However when I'm on travel I use similar browser features so as to not leak my information of where I am.

Nod to https://krebsonsecurity.com/tag/fraudfox/ and it's attraction to thieves.

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

As to the WiFi. This is either a driver issue or the WiFi hardware. Also why I carry some USB WiFi devices in my PC medic bag.

Good to read your progresss and the success of the 64 bit install. This will get it where it needs to be for as long as this PC lasts.

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

18 rows would indeed cause the origianal top post to do the password is incorrect if that was the result.
But we want to see the number of rows at line 30 in your original code (top post.)

cosmo13 commented: No sorry it prints 18 rows +0
rproffitt 2,701 https://5calls.org Moderator

Share that new code with the print statement as well as what printed.

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

This sounds like progress. Did you perform a clean install or what seemed to clear up some problems besides the brightness control which you solved with a driver?

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

Which line do you feel is failing?

I'd print the result out as noted at https://www.w3schools.com/php/func_mysqli_num_rows.asp to see what is going on. It could be correct behavior if there is more than one match in the database.

Beyond that this code appears to store passwords in a database (never do that!) and looks to be exploitable with injections.
That's two big strikes against this code and if it was submitted at work or in a classroom it would be rejected then we begin again to discuss both of those topics.

cosmo13 commented: I tried the code from the link and it works fine. +0
rproffitt 2,701 https://5calls.org Moderator
  1. Nod to https://www.w3schools.com/tags/att_script_type.asp first.
  2. Why are lines 3 and 9 identical? Should be (after you correct your code) just one instance.
  3. Back to item 1, when we use <script type= we usually see the script code there.
    Example at https://www.w3schools.com/tags/att_script_src.asp

Or for line 3 it might actually be written:
<script src="./assets/js/jquery-2.1.4.min.js"></script>