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

The most common source of this issue is skipping the lessons. Go back through the tutorials since good classes and tutorials build up to the assignment. Skip a chapter and it's like an Ikea kit missing a component.

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

You may have to do this manually once before you figure out how to code this.

There is no real standard I see for PC Telephony. Your "call" could be on any number of apps and to send the call to the phone, that would be in the API of the app which you didn't reveal. This means no one can answer your question as you left out the details. Even with the details, the answer may be no if the app (Skype or others) may not reveal the API or support such a call transfer.

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

Many online compilers and such block the app from doing much more than basic operations. You should put this on a real server that you know can access the URL from. Also, you need to vardump() the variables on the reticent line if you can't see why it's doing that.

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

@amx86,
You may want to add a tag to which VC++ you are using up top. I hope you understand that new apps in VB6 and VC 6.0 are from 1989 or earlier so this was the early days of the Internet and as the versions moved on the books may still be out on amazon and such but that's not why I'm replying.

First, add the tag if you can for the version you need this in. Next it's going to be hard to find folk with these version still working code. I have a few apps that live on in VB6 but they almost died as the client moved to W10. I did figure out what it was but am still left with a dead database link and have to work one last issue about printing in W10. The database issue is dead and not coming back to life unless the client agrees to moving forward off VB6. Printing? I think I have a workaround so we'll see.

I'd avoid to outright deny starting a new development in a dev system from 1989. At some point some one will have to take over so finding a set of CDs from 1989 may not be possible for them, not to mention the license.

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

@it. This reminds me of an old app I wrote long ago which was in Visual C# 2008 that was on a Core2Duo laptop. Why that language? It was what I was working in on other apps at the time so for me it was easy to implement in what I was currently using every day.

Your question hides another question which is something like "Do I use what I know or stike out on a new adventure?" To that my answer is if you have the time. I gave a nod to Excel because these one-off problems can sometimes be done there and we are done. We don't worry that it took the computer a second to do the work because, done.

-> As to the language my answer is that it doesn't matter. Heresy you say? My view is the algorithm beats language choice every time. You could choose the fastest language but have a poor algorithm and be beat by an Excel spreadsheet.

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

The Python I use has no buttons. So I would be guessing what you use for your GUI components. Even so, we could research like this:
https://www.google.com/search?q=python+hide+a+button&gl=US

De_2 commented: Thanks you very much for your help, I'm gonna watch that ! +0
rproffitt 2,701 https://5calls.org Moderator

@JamesCherrill points out that what is more important this time round is you creating something that a) you can write and b) you understand.

I've seen such efforts done in Excel because it's a on-off and they needed to show both the data and how they arrived at their answer. Even in Excel you are looking at 1/10 of a second times or less.

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

@X. I read your last reply and you wrote "possible both are corrupt" so to me that tells me you are only testing with TWO ISO files? The likelyhood of these being bad just went up.

Can you share how I can test your ISO files? Where can I get them?

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

If all the above fails it is possible that your .ISO files are corrupt. I did run into a client that had such troubles and it turns out all their .ISO files were from less than reputable places and not one were any good as they used a downloader app that was cracked (pirate) and broken.

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

Hello again Reverend Jim. I will write Bluestacks is not what it seems. You can find more with research but here it's on our suspicious software list. That is, if a client has PC troubles this gets removed. More at https://www.reddit.com/r/emulation/comments/42k1sw/avoid_bluestacks/

I don't see any emulator that implements a Bluetooth stack for what I think you initially wanted this for.

My view: Avoid.

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

I see no line 36. Also line 16 looks suspect. Is it "Forgor" on purpose?

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

You have a few nonsense posts. You can ask moderators to clean them off without losing points.

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

Something's off because thousands use Steam, Steam games without having to fiddle with permissions or much else. Keep writing what may be different about your Windows and PC until a clue pops up.

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

Let me share how I began to understand Microsoft: A long time back when I went to Microsoft Redmond's campus for a seminar. I had two things I wanted to share since I thought Microsoft would want to look into this.

  1. A CD that when put into the PC would cause the PC to lock up. I didn't know why, I just thought it showed a bug.
  2. A jpeg file that when copied to the desktop would render that user's account dead. Even in safe mode until the file was deleted.

I waited my turn to meet with a couple of Microsoft engineers (lucky me!) and their response told me all I needed to know about Microsoft. maybe you can figure it out too. The engineers answer to these issues was "Don't do that."

Microsoft didn't consider things that we do or see as a bug. It's user error.

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

One of the mantras of computing and just about anything data related is "We only lose what we don't backup" but some are taking offense that this is still the current state of computing today. Recently some owners call this out as "blaming the user", "you're holding it wrong" or snobby. Everyone I know will try their best to help you get your machine back in working order even if people say such things. They've lost it all and upset that they can't get their stuff back.

Last week's example was another smart phone, forgot their password, unlock code and the only way folk told them was to factory reset the phone. No backups, ever. Owner's statement: "I've never backed up, why is that my problem?"

I don't mind all that but it is your data. Keep it safe. No one else will.

Q1. Is such thinking out of date?

Q2. Is the industry really that out of touch?

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

Thanks for clearing that up. Here I was under the misimpression daily was daily for all messages from daniweb.

"Never mind."

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

"An app for your product-- is it a good investment?"

You were not entirely clear what your product was. You mention a web site so if it's the usual web site with the usual products I will write no. I rarely hear web masters tell me it paid off. Now for sites like, Amazon, Newegg, Woot and such it does pay off but your scale may not come close.

-> Here's a thing. Those folk at "App Development Agency" are there to sell you on this idea. It's your money and in your case I don't think it will work as you expect. Let me add the most common reason why and it's a doozy. "APP Fatigue." Today's users are pushing back with "not another app to install." This pushback has been going on for a few years so you are very late to the party unless you are an Alibaba, Yahoo, Amazon or such in class.

My advice? Focus on making your web site mobile friendly to the max and on your strengths. The mobile app may drain your time, money and distract you from what really matters.

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

I have it set to Daily Digest yet I get near instant alerts on posts I am watching. Maybe broke, or it's just me.

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

Your posts show a possible fascination with TypeScript. TypeScript is a Microsoft idea about JavaScript so you would be looking for such in JavaScript then port it over.

Let me blow up your ideas about TypeScript. It's not going to get a lot of traction for many reasons in the open source community. I suggest if you want a browser from source you start with one of the many open source browsers and go from there.

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

This is one of those languages that appears to be under Microsoft's "Extend, Embrace and Extinguish."

TypeScript is noted also at https://en.wikipedia.org/wiki/TypeScript which appears to be very much like JavaScript. Since it is transcompiling to JavaScript you would not search for app or applets in TypeScript but JavaScript then port as need be. If nothing is found then you write it yourself.

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

@cameliajohn. I can't stress enough that the carbon industry is one we need to pivot or move away from unless it's in capture or carbon neutral products.

As "Bill Nye says "the planet's on f*ing fire" and we need to "grow the f up"" in John Oliver's piece at https://www.youtube.com/watch?v=JDcro7dPqpA the alarms are going off and we must take action at all levels.

I do see hope as the UK in 2017 "The switch to natural gas and a stiff tax on CO2 have helped drop emissions 36% below those in 1990." and it's declined even further since then.

Here's Bill Nye explaining why Co2 emissions went down:
BillNye1.gif

And Bill Nye showing us what's going on now (exaggerating but you have to today.):
BillNye2.gif

Reverend Jim commented: Saw it. Loved it. +15
rproffitt 2,701 https://5calls.org Moderator

I found the number surprising but not moving. Maybe those that live on Facebook, Twitter and such may put more value here. For me it's interesting but would not influence me one way or the other.

To me it's important to try. I am running into folk that are scared to try, scared to be wrong. I think making an attempt is important otherwise you won't learn more about many things.

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

As to the flickering I recall that happening in all Office versions since about 1997. Microsoft apparently does not work on making their Office product operate smoothly (at least not on Windows.)

As a test I pasted web content into LibreOffice and it just worked without the warning messages. So it does indeed look like a choice made by Microsoft to hold hands and warn against every possible exploit or user error.

Turning off warnings like this has fallen out of favor in security circles as it removes a possible warning to the users. Microsoft is constantly beat up about security so they may have removed the off switch. As it appears to still paste but with the warning you may get no where with Microsoft. The usual reply is "works as designed."

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

I'm seeing 1.2 million for Dani, similar numbers for Happy Geek, James Cherrill. Me at 800K+.

PS. Added with edit. Homepage change noticed too. Much better.

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

Then again if line 6 fails so will 7. OP needs to test for that.

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

OK, here's the example for the object oriented method.

$query = "SELECT Name, CountryCode FROM City ORDER by ID LIMIT 3";
$result = $mysqli->query($query);

/* numeric array */
$row = $result->fetch_array(MYSQLI_NUM);

Line 7 in the OP's source is incorrect in my view as the $q is well, unexpected. Should be an int, not the result from line 6.

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

Small world. I'm seeing more and more questions about VB6 and its SQL connectors. I went over that in a very old app and we had to remove all SQL because of Windows 10. If you use ADO and SQL the installer hangs. So it's effectively dead.

As a newbie in programming, go get the latest vb.net community version and learn the new ways.

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

Line 7's call can have an object oriented or procedural style. While it looks like he's doing that, the line does not look valid to me.

This is why I supplied a link to the documentation.

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

That's quite an undertaking you have there. My advice is to not code this at first. Break down the steps it takes from the beginning to the end.

Why that matters is that without a road map you don't know where you'll go. Also, I find some don't have any prior website building experience so you may be new or not. Setting up your site first may be daunting so again, break down the areas you need to learn and it won't feel like taking a sip from a fire hose.

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

Too similar to https://stackoverflow.com/questions/56100222/accumulating-data-based-on-two-criteria

If you crosspost be sure to share that so others don't duplicate efforts. Also, here your code formatting leaves some room for improvement.

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

I offer this without judgement.

Maybe you want to become an "influencer"? There are resources and discussions about that.
https://www.google.com/search?q=Influencer+Marketing+Resources&gl=US

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

Line 7 conforms to neither method documented at https://www.php.net/manual/en/mysqli-result.fetch-array.php

Time to read that page and pick a style.

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

That's a common fault I see on older Dells. The usual cause of it failing to boot is "BAD CAPS." The symptom is hard starting and even harder if it's been off for a time. The machine will work (usually) after it's been warmed up.

The usual fix is a new motherboard if the owner can't do their own cap replacement. Shops today with some rare exceptions will not do this repair.
Example Cap Kit: https://www.amazon.com/Optiplex-GX745-motherboard-Capacitors-repair/dp/B00B4769YE/

In the future when asking about PC issues, it would be nice to know the make and full model number.

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

There are articles about that topic but from what I've seen of your posts here you seem to be directionless at times or jumping from forex to memes and web site building. You may want to pick areas you like doing and do your best at those.

I think details matter. Don't leave odd things undone like your current tagline. Correct the spelling at the very least and then consider something with meaning.

As to memes, I don't see how you can compete with juggernauts like imgur.com today. How are you unique?

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

When I select a tool, I have to consider the job at hand. A hammer one time, the blowtorch the next time.

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

That old nut. The old fashion (?) way to crack this is to remote into some PC on that network then run the app on the PC on that lan. It's within the usual IT skill set so I'll stop here.

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

Hi Dani,

I've seen folk try to use SEO and such as you listed but their basic product and reputation remain the same. I consider product, company and the folk that run the company the foundation. If these are missing then proceeding with more marketing does not change what they are building on.

There's also a problem with the OP's basic business. We should see the Carbon Industry take a run up before it really tanks. I supplied a video that did a longer take and easier for some format than https://seekingalpha.com/article/4225153-evs-oil-ice-impact-2023-beyond .

My advice is to do what business you can and pivot out of the carbon market gracefully before you find yourself even more deeply invested.

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

My view is that the ICE industry is going to be here for some time but I would not invest here for the long term. Why? Check out the curves at this video: https://www.youtube.com/watch?v=aUC6lsLr04I

Digital marketing is NOT SPECIAL. It's just marketing done over the Internet or some call digital signage, digital marketing. Nothing has really changed in marketing. Just a change in having more delivery options.

The basics of business has not changed. You have your product, you have your company and you build your reputation.

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

I ran your code at https://www.onlinegdb.com/online_c++_compiler and it ran fine and produced the sum of the Integers I put in.

Your code however is needlessly complicated I could do this without the array!

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

That's an overly broad question. But if it was true, tell me without spamming what courses you completed on this product.

It's strange to be thrown into SAP without training so let's here more about what happened to land you this job.

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

Is there a question that needs asking?

snowwizard commented: how do i fix this problem +0
rproffitt 2,701 https://5calls.org Moderator

I see an all too similar question posed last month ago but what is a "Tjuring machine"? Maybe folk in your first post didn't know what that was and if it was something else, you never corrected that.

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

I'll add that in a current job I'm working on is in VB6 and the database connector is dead. I do have an ugly workaround but we opted to just create report files rather than continue with any database use in the now decades old app.

-> Let me restate this. The database connector in VB6 is dead. It's time to move on if you want the old ADO and other database connections.

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

This has a huge security issue. It appears the password is in clear text maybe all the way down to the database. This is not how to teach login systems. This when I see it gets a failing grade.

More at https://www.geeksforgeeks.org/store-password-database/ "Storing plain text passwords in the database is a sin."

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

Just a guess. The last time I did something like this I did not have to call out the SQL Server Instance name. SQL was just a port on a server so I just needed the name of the PC.

Now that means the DNS or hosts file MUST resolve that name.

Question to you: Do you know how to test the name resolution?

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

I really wish assignments were a little more unique. Over at Rosettacode there are over 34 solutions in over 20 languages.
https://rosettacode.org/wiki/Word_count

Why I shared this is to show it doesn't take much to find solutions but you can't use those if this is homework.

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

@ernie, I didn't even notice when it changed last time. I bounce from machine to machine and across phones at work during testing so subtle things like the search box going from a square to rounded didn't register.